Lines Matching refs:xh_entries

926 		struct ocfs2_xattr_entry *entry = &header->xh_entries[i];  in ocfs2_xattr_list_entries()
956 if (!ocfs2_xattr_is_local(&xh->xh_entries[i])) in ocfs2_has_inline_xattr_value_outside()
1163 xs->here = xs->header->xh_entries; in ocfs2_xattr_ibody_get()
1233 i = xs->here - xs->header->xh_entries; in ocfs2_xattr_block_get()
1579 offset = le16_to_cpu(xh->xh_entries[i].xe_name_offset); in ocfs2_xa_block_get_free_start()
1635 offset = le16_to_cpu(xh->xh_entries[i].xe_name_offset); in ocfs2_xa_block_wipe_namevalue()
1637 le16_add_cpu(&xh->xh_entries[i].xe_name_offset, in ocfs2_xa_block_wipe_namevalue()
1650 loc->xl_entry = &(loc->xl_header->xh_entries[count]); in ocfs2_xa_block_add_entry()
1813 tmp_xe = &xh->xh_entries[tmp]; in ocfs2_xa_bucket_add_entry()
1826 memmove(&xh->xh_entries[low + 1], in ocfs2_xa_bucket_add_entry()
1827 &xh->xh_entries[low], in ocfs2_xa_bucket_add_entry()
1831 loc->xl_entry = &xh->xh_entries[low]; in ocfs2_xa_bucket_add_entry()
1939 index = ((char *)entry - (char *)&xh->xh_entries) / in ocfs2_xa_remove_entry()
1941 memmove(&xh->xh_entries[index], &xh->xh_entries[index + 1], in ocfs2_xa_remove_entry()
1943 memset(&xh->xh_entries[count], 0, in ocfs2_xa_remove_entry()
2365 struct ocfs2_xattr_entry *entry = &header->xh_entries[i]; in ocfs2_remove_value_outside()
2692 xs->here = xs->header->xh_entries; in ocfs2_xattr_ibody_find()
2829 xs->here = xs->header->xh_entries; in ocfs2_xattr_block_find()
2964 xs->here = xs->header->xh_entries; in ocfs2_xattr_block_set()
3003 last = xs->header->xh_entries; in ocfs2_xattr_can_be_in_inode()
3078 i = xbs->here - xbs->header->xh_entries; in ocfs2_calc_xattr_set_need()
3756 xe = &xh->xh_entries[i]; in ocfs2_find_xe_in_bucket()
3847 xe = &xh->xh_entries[0]; in ocfs2_xattr_bucket_find()
3859 xe = &xh->xh_entries[le16_to_cpu(xh->xh_count) - 1]; in ocfs2_xattr_bucket_find()
3902 xs->here = &xs->header->xh_entries[index]; in ocfs2_xattr_bucket_find()
3995 le32_to_cpu(bucket_xh(bucket)->xh_entries[0].xe_name_hash)); in ocfs2_iterate_xattr_buckets()
4029 name_offset = le16_to_cpu(xh->xh_entries[index].xe_name_offset); in ocfs2_xattr_bucket_get_name_value()
4047 struct ocfs2_xattr_entry *entry = &bucket_xh(bucket)->xh_entries[i]; in ocfs2_list_xattr_bucket()
4207 xe = &xb_xh->xh_entries[count - 1]; in ocfs2_cp_xattr_block_to_bucket()
4222 offset = offsetof(struct ocfs2_xattr_header, xh_entries); in ocfs2_cp_xattr_block_to_bucket()
4230 le16_add_cpu(&xh->xh_entries[i].xe_name_offset, off_change); in ocfs2_cp_xattr_block_to_bucket()
4262 i = xs->here - old_xh->xh_entries; in ocfs2_xattr_update_xattr_search()
4263 xs->here = &xs->header->xh_entries[i]; in ocfs2_xattr_update_xattr_search()
4416 entries = (char *)xh->xh_entries; in ocfs2_defrag_xattr_bucket()
4433 xe = xh->xh_entries; in ocfs2_defrag_xattr_bucket()
4579 struct ocfs2_xattr_entry *entries = xh->xh_entries; in ocfs2_xattr_find_divide_pos()
4686 xe = &xh->xh_entries[start-1]; in ocfs2_divide_xattr_bucket()
4698 xh->xh_entries[0].xe_name_hash = xe->xe_name_hash; in ocfs2_divide_xattr_bucket()
4699 le32_add_cpu(&xh->xh_entries[0].xe_name_hash, 1); in ocfs2_divide_xattr_bucket()
4717 xe = &xh->xh_entries[i]; in ocfs2_divide_xattr_bucket()
4731 xe = &xh->xh_entries[start]; in ocfs2_divide_xattr_bucket()
4735 (int)((char *)xh->xh_entries - (char *)xh)); in ocfs2_divide_xattr_bucket()
4736 memmove((char *)xh->xh_entries, (char *)xe, len); in ocfs2_divide_xattr_bucket()
4737 xe = &xh->xh_entries[count - start]; in ocfs2_divide_xattr_bucket()
4747 xe = &xh->xh_entries[i]; in ocfs2_divide_xattr_bucket()
4764 *first_hash = le32_to_cpu(xh->xh_entries[0].xe_name_hash); in ocfs2_divide_xattr_bucket()
4775 memset(&xh->xh_entries[start], 0, in ocfs2_divide_xattr_bucket()
4960 *first_hash = le32_to_cpu(bucket_xh(new_first)->xh_entries[0].xe_name_hash); in ocfs2_mv_xattr_buckets()
5273 le32_to_cpu(bucket_xh(target)->xh_entries[0].xe_name_hash); in ocfs2_add_new_xattr_bucket()
5363 xe = &xh->xh_entries[xe_off]; in ocfs2_xattr_bucket_value_truncate()
5519 if (name_hash != le32_to_cpu(xh->xh_entries[0].xe_name_hash)) in ocfs2_check_xattr_bucket_collision()
5522 if (xh->xh_entries[le16_to_cpu(xh->xh_count) - 1].xe_name_hash == in ocfs2_check_xattr_bucket_collision()
5523 xh->xh_entries[0].xe_name_hash) { in ocfs2_check_xattr_bucket_collision()
5527 le32_to_cpu(xh->xh_entries[0].xe_name_hash)); in ocfs2_check_xattr_bucket_collision()
5666 xe = &xh->xh_entries[i]; in ocfs2_delete_xattr_in_bucket()
5789 i = xbs->here - xbs->header->xh_entries; in ocfs2_prepare_refcount_xattr()
5945 xe = &header->xh_entries[i]; in ocfs2_xattr_attach_refcount_normal()
6002 struct ocfs2_xattr_entry *xe = &xh->xh_entries[offset]; in ocfs2_get_xattr_tree_value_root()
6059 xe = &xh->xh_entries[i]; in ocfs2_xattr_bucket_value_refcount()
6221 xe = &xh->xh_entries[i]; in ocfs2_value_metas_in_xattr_header()
6260 struct ocfs2_xattr_entry *xe = &xh->xh_entries[offset]; in ocfs2_get_xattr_value_root()
6355 last = &new_xh->xh_entries[le16_to_cpu(new_xh->xh_count)]; in ocfs2_reflink_xattr_header()
6357 xe = &xh->xh_entries[i]; in ocfs2_reflink_xattr_header()
6360 xe = &new_xh->xh_entries[j]; in ocfs2_reflink_xattr_header()
6874 xh_entries[0].xe_name_hash); in ocfs2_reflink_xattr_bucket()