Lines Matching refs:ibody_count

308 	int ibody_count;  member
750 err = write_xattrs_to_buffer(fs, handle->attrs, handle->ibody_count, in ext2fs_xattrs_write()
756 if (handle->ibody_count == handle->count && in ext2fs_xattrs_write()
768 err = write_xattrs_to_buffer(fs, handle->attrs + handle->ibody_count, in ext2fs_xattrs_write()
769 handle->count - handle->ibody_count, start, in ext2fs_xattrs_write()
987 h->ibody_count = 0; in xattrs_free_keys()
1044 handle->ibody_count = handle->count; in ext2fs_xattrs_read()
1410 if (old_idx >= 0 && old_idx < h->ibody_count) { in xattr_array_update()
1419 new_idx = h->ibody_count; in xattr_array_update()
1429 if (h->ibody_count <= old_idx) { in xattr_array_update()
1432 memmove(h->attrs + h->ibody_count + 1, in xattr_array_update()
1433 h->attrs + h->ibody_count, in xattr_array_update()
1434 (old_idx - h->ibody_count) * sizeof(*h->attrs)); in xattr_array_update()
1435 h->attrs[h->ibody_count] = tmp; in xattr_array_update()
1436 h->ibody_count++; in xattr_array_update()
1441 if (h->ibody_count <= old_idx) { in xattr_array_update()
1457 if (old_idx < h->ibody_count) { in xattr_array_update()
1462 new_idx = xattr_find_position(h->attrs + h->ibody_count, in xattr_array_update()
1463 h->count - h->ibody_count, name); in xattr_array_update()
1464 new_idx += h->ibody_count - 1; in xattr_array_update()
1469 h->ibody_count--; in xattr_array_update()
1474 new_idx = xattr_find_position(h->attrs + h->ibody_count, in xattr_array_update()
1475 h->count - h->ibody_count, name); in xattr_array_update()
1476 new_idx += h->ibody_count; in xattr_array_update()
1496 h->ibody_count++; in xattr_array_update()
1588 ibody_free -= space_used(h->attrs, h->ibody_count); in ext2fs_xattr_set()
1594 if (h->ibody_count <= old_idx) { in ext2fs_xattr_set()
1610 block_free -= space_used(h->attrs + h->ibody_count, in ext2fs_xattr_set()
1611 h->count - h->ibody_count); in ext2fs_xattr_set()
1650 if (x < handle->attrs + handle->ibody_count) in ext2fs_xattr_remove()
1651 handle->ibody_count--; in ext2fs_xattr_remove()