Lines Matching refs:xh_entries

933 		struct ocfs2_xattr_entry *entry = &header->xh_entries[i];  in ocfs2_xattr_list_entries()
960 if (!ocfs2_xattr_is_local(&xh->xh_entries[i])) in ocfs2_has_inline_xattr_value_outside()
1176 xs->here = xs->header->xh_entries; in ocfs2_xattr_ibody_get()
1246 i = xs->here - xs->header->xh_entries; in ocfs2_xattr_block_get()
1593 offset = le16_to_cpu(xh->xh_entries[i].xe_name_offset); in ocfs2_xa_block_get_free_start()
1649 offset = le16_to_cpu(xh->xh_entries[i].xe_name_offset); in ocfs2_xa_block_wipe_namevalue()
1651 le16_add_cpu(&xh->xh_entries[i].xe_name_offset, in ocfs2_xa_block_wipe_namevalue()
1664 loc->xl_entry = &(loc->xl_header->xh_entries[count]); in ocfs2_xa_block_add_entry()
1827 tmp_xe = &xh->xh_entries[tmp]; in ocfs2_xa_bucket_add_entry()
1840 memmove(&xh->xh_entries[low + 1], in ocfs2_xa_bucket_add_entry()
1841 &xh->xh_entries[low], in ocfs2_xa_bucket_add_entry()
1845 loc->xl_entry = &xh->xh_entries[low]; in ocfs2_xa_bucket_add_entry()
1953 index = ((char *)entry - (char *)&xh->xh_entries) / in ocfs2_xa_remove_entry()
1955 memmove(&xh->xh_entries[index], &xh->xh_entries[index + 1], in ocfs2_xa_remove_entry()
1957 memset(&xh->xh_entries[count], 0, in ocfs2_xa_remove_entry()
2378 struct ocfs2_xattr_entry *entry = &header->xh_entries[i]; in ocfs2_remove_value_outside()
2705 xs->here = xs->header->xh_entries; in ocfs2_xattr_ibody_find()
2842 xs->here = xs->header->xh_entries; in ocfs2_xattr_block_find()
2977 xs->here = xs->header->xh_entries; in ocfs2_xattr_block_set()
3016 last = xs->header->xh_entries; in ocfs2_xattr_can_be_in_inode()
3091 i = xbs->here - xbs->header->xh_entries; in ocfs2_calc_xattr_set_need()
3769 xe = &xh->xh_entries[i]; in ocfs2_find_xe_in_bucket()
3859 xe = &xh->xh_entries[0]; in ocfs2_xattr_bucket_find()
3871 xe = &xh->xh_entries[le16_to_cpu(xh->xh_count) - 1]; in ocfs2_xattr_bucket_find()
3912 xs->here = &xs->header->xh_entries[index]; in ocfs2_xattr_bucket_find()
4005 le32_to_cpu(bucket_xh(bucket)->xh_entries[0].xe_name_hash)); in ocfs2_iterate_xattr_buckets()
4039 name_offset = le16_to_cpu(xh->xh_entries[index].xe_name_offset); in ocfs2_xattr_bucket_get_name_value()
4057 struct ocfs2_xattr_entry *entry = &bucket_xh(bucket)->xh_entries[i]; in ocfs2_list_xattr_bucket()
4206 xe = &xb_xh->xh_entries[count - 1]; in ocfs2_cp_xattr_block_to_bucket()
4221 offset = offsetof(struct ocfs2_xattr_header, xh_entries); in ocfs2_cp_xattr_block_to_bucket()
4229 le16_add_cpu(&xh->xh_entries[i].xe_name_offset, off_change); in ocfs2_cp_xattr_block_to_bucket()
4261 i = xs->here - old_xh->xh_entries; in ocfs2_xattr_update_xattr_search()
4262 xs->here = &xs->header->xh_entries[i]; in ocfs2_xattr_update_xattr_search()
4415 entries = (char *)xh->xh_entries; in ocfs2_defrag_xattr_bucket()
4432 xe = xh->xh_entries; in ocfs2_defrag_xattr_bucket()
4578 struct ocfs2_xattr_entry *entries = xh->xh_entries; in ocfs2_xattr_find_divide_pos()
4685 xe = &xh->xh_entries[start-1]; in ocfs2_divide_xattr_bucket()
4697 xh->xh_entries[0].xe_name_hash = xe->xe_name_hash; in ocfs2_divide_xattr_bucket()
4698 le32_add_cpu(&xh->xh_entries[0].xe_name_hash, 1); in ocfs2_divide_xattr_bucket()
4716 xe = &xh->xh_entries[i]; in ocfs2_divide_xattr_bucket()
4730 xe = &xh->xh_entries[start]; in ocfs2_divide_xattr_bucket()
4734 (int)((char *)xh->xh_entries - (char *)xh)); in ocfs2_divide_xattr_bucket()
4735 memmove((char *)xh->xh_entries, (char *)xe, len); in ocfs2_divide_xattr_bucket()
4736 xe = &xh->xh_entries[count - start]; in ocfs2_divide_xattr_bucket()
4746 xe = &xh->xh_entries[i]; in ocfs2_divide_xattr_bucket()
4763 *first_hash = le32_to_cpu(xh->xh_entries[0].xe_name_hash); in ocfs2_divide_xattr_bucket()
4774 memset(&xh->xh_entries[start], 0, in ocfs2_divide_xattr_bucket()
4959 *first_hash = le32_to_cpu(bucket_xh(new_first)->xh_entries[0].xe_name_hash); in ocfs2_mv_xattr_buckets()
5272 le32_to_cpu(bucket_xh(target)->xh_entries[0].xe_name_hash); in ocfs2_add_new_xattr_bucket()
5362 xe = &xh->xh_entries[xe_off]; in ocfs2_xattr_bucket_value_truncate()
5518 if (name_hash != le32_to_cpu(xh->xh_entries[0].xe_name_hash)) in ocfs2_check_xattr_bucket_collision()
5521 if (xh->xh_entries[le16_to_cpu(xh->xh_count) - 1].xe_name_hash == in ocfs2_check_xattr_bucket_collision()
5522 xh->xh_entries[0].xe_name_hash) { in ocfs2_check_xattr_bucket_collision()
5526 le32_to_cpu(xh->xh_entries[0].xe_name_hash)); in ocfs2_check_xattr_bucket_collision()
5665 xe = &xh->xh_entries[i]; in ocfs2_delete_xattr_in_bucket()
5788 i = xbs->here - xbs->header->xh_entries; in ocfs2_prepare_refcount_xattr()
5944 xe = &header->xh_entries[i]; in ocfs2_xattr_attach_refcount_normal()
6001 struct ocfs2_xattr_entry *xe = &xh->xh_entries[offset]; in ocfs2_get_xattr_tree_value_root()
6058 xe = &xh->xh_entries[i]; in ocfs2_xattr_bucket_value_refcount()
6220 xe = &xh->xh_entries[i]; in ocfs2_value_metas_in_xattr_header()
6259 struct ocfs2_xattr_entry *xe = &xh->xh_entries[offset]; in ocfs2_get_xattr_value_root()
6354 last = &new_xh->xh_entries[le16_to_cpu(new_xh->xh_count)]; in ocfs2_reflink_xattr_header()
6356 xe = &xh->xh_entries[i]; in ocfs2_reflink_xattr_header()
6359 xe = &new_xh->xh_entries[j]; in ocfs2_reflink_xattr_header()
6864 xh_entries[0].xe_name_hash); in ocfs2_reflink_xattr_bucket()