Lines Matching refs:xh_entries

939 		struct ocfs2_xattr_entry *entry = &header->xh_entries[i];  in ocfs2_xattr_list_entries()
966 if (!ocfs2_xattr_is_local(&xh->xh_entries[i])) in ocfs2_has_inline_xattr_value_outside()
1173 xs->here = xs->header->xh_entries; in ocfs2_xattr_ibody_get()
1243 i = xs->here - xs->header->xh_entries; in ocfs2_xattr_block_get()
1590 offset = le16_to_cpu(xh->xh_entries[i].xe_name_offset); in ocfs2_xa_block_get_free_start()
1646 offset = le16_to_cpu(xh->xh_entries[i].xe_name_offset); in ocfs2_xa_block_wipe_namevalue()
1648 le16_add_cpu(&xh->xh_entries[i].xe_name_offset, in ocfs2_xa_block_wipe_namevalue()
1661 loc->xl_entry = &(loc->xl_header->xh_entries[count]); in ocfs2_xa_block_add_entry()
1824 tmp_xe = &xh->xh_entries[tmp]; in ocfs2_xa_bucket_add_entry()
1837 memmove(&xh->xh_entries[low + 1], in ocfs2_xa_bucket_add_entry()
1838 &xh->xh_entries[low], in ocfs2_xa_bucket_add_entry()
1842 loc->xl_entry = &xh->xh_entries[low]; in ocfs2_xa_bucket_add_entry()
1950 index = ((char *)entry - (char *)&xh->xh_entries) / in ocfs2_xa_remove_entry()
1952 memmove(&xh->xh_entries[index], &xh->xh_entries[index + 1], in ocfs2_xa_remove_entry()
1954 memset(&xh->xh_entries[count], 0, in ocfs2_xa_remove_entry()
2376 struct ocfs2_xattr_entry *entry = &header->xh_entries[i]; in ocfs2_remove_value_outside()
2703 xs->here = xs->header->xh_entries; in ocfs2_xattr_ibody_find()
2840 xs->here = xs->header->xh_entries; in ocfs2_xattr_block_find()
2975 xs->here = xs->header->xh_entries; in ocfs2_xattr_block_set()
3014 last = xs->header->xh_entries; in ocfs2_xattr_can_be_in_inode()
3089 i = xbs->here - xbs->header->xh_entries; in ocfs2_calc_xattr_set_need()
3767 xe = &xh->xh_entries[i]; in ocfs2_find_xe_in_bucket()
3857 xe = &xh->xh_entries[0]; in ocfs2_xattr_bucket_find()
3869 xe = &xh->xh_entries[le16_to_cpu(xh->xh_count) - 1]; in ocfs2_xattr_bucket_find()
3910 xs->here = &xs->header->xh_entries[index]; in ocfs2_xattr_bucket_find()
4003 le32_to_cpu(bucket_xh(bucket)->xh_entries[0].xe_name_hash)); in ocfs2_iterate_xattr_buckets()
4037 name_offset = le16_to_cpu(xh->xh_entries[index].xe_name_offset); in ocfs2_xattr_bucket_get_name_value()
4055 struct ocfs2_xattr_entry *entry = &bucket_xh(bucket)->xh_entries[i]; in ocfs2_list_xattr_bucket()
4213 xe = &xb_xh->xh_entries[count - 1]; in ocfs2_cp_xattr_block_to_bucket()
4228 offset = offsetof(struct ocfs2_xattr_header, xh_entries); in ocfs2_cp_xattr_block_to_bucket()
4236 le16_add_cpu(&xh->xh_entries[i].xe_name_offset, off_change); in ocfs2_cp_xattr_block_to_bucket()
4268 i = xs->here - old_xh->xh_entries; in ocfs2_xattr_update_xattr_search()
4269 xs->here = &xs->header->xh_entries[i]; in ocfs2_xattr_update_xattr_search()
4422 entries = (char *)xh->xh_entries; in ocfs2_defrag_xattr_bucket()
4439 xe = xh->xh_entries; in ocfs2_defrag_xattr_bucket()
4585 struct ocfs2_xattr_entry *entries = xh->xh_entries; in ocfs2_xattr_find_divide_pos()
4692 xe = &xh->xh_entries[start-1]; in ocfs2_divide_xattr_bucket()
4704 xh->xh_entries[0].xe_name_hash = xe->xe_name_hash; in ocfs2_divide_xattr_bucket()
4705 le32_add_cpu(&xh->xh_entries[0].xe_name_hash, 1); in ocfs2_divide_xattr_bucket()
4723 xe = &xh->xh_entries[i]; in ocfs2_divide_xattr_bucket()
4737 xe = &xh->xh_entries[start]; in ocfs2_divide_xattr_bucket()
4741 (int)((char *)xh->xh_entries - (char *)xh)); in ocfs2_divide_xattr_bucket()
4742 memmove((char *)xh->xh_entries, (char *)xe, len); in ocfs2_divide_xattr_bucket()
4743 xe = &xh->xh_entries[count - start]; in ocfs2_divide_xattr_bucket()
4753 xe = &xh->xh_entries[i]; in ocfs2_divide_xattr_bucket()
4770 *first_hash = le32_to_cpu(xh->xh_entries[0].xe_name_hash); in ocfs2_divide_xattr_bucket()
4781 memset(&xh->xh_entries[start], 0, in ocfs2_divide_xattr_bucket()
4966 *first_hash = le32_to_cpu(bucket_xh(new_first)->xh_entries[0].xe_name_hash); in ocfs2_mv_xattr_buckets()
5279 le32_to_cpu(bucket_xh(target)->xh_entries[0].xe_name_hash); in ocfs2_add_new_xattr_bucket()
5369 xe = &xh->xh_entries[xe_off]; in ocfs2_xattr_bucket_value_truncate()
5525 if (name_hash != le32_to_cpu(xh->xh_entries[0].xe_name_hash)) in ocfs2_check_xattr_bucket_collision()
5528 if (xh->xh_entries[le16_to_cpu(xh->xh_count) - 1].xe_name_hash == in ocfs2_check_xattr_bucket_collision()
5529 xh->xh_entries[0].xe_name_hash) { in ocfs2_check_xattr_bucket_collision()
5533 le32_to_cpu(xh->xh_entries[0].xe_name_hash)); in ocfs2_check_xattr_bucket_collision()
5672 xe = &xh->xh_entries[i]; in ocfs2_delete_xattr_in_bucket()
5795 i = xbs->here - xbs->header->xh_entries; in ocfs2_prepare_refcount_xattr()
5951 xe = &header->xh_entries[i]; in ocfs2_xattr_attach_refcount_normal()
6008 struct ocfs2_xattr_entry *xe = &xh->xh_entries[offset]; in ocfs2_get_xattr_tree_value_root()
6065 xe = &xh->xh_entries[i]; in ocfs2_xattr_bucket_value_refcount()
6227 xe = &xh->xh_entries[i]; in ocfs2_value_metas_in_xattr_header()
6266 struct ocfs2_xattr_entry *xe = &xh->xh_entries[offset]; in ocfs2_get_xattr_value_root()
6361 last = &new_xh->xh_entries[le16_to_cpu(new_xh->xh_count)]; in ocfs2_reflink_xattr_header()
6363 xe = &xh->xh_entries[i]; in ocfs2_reflink_xattr_header()
6366 xe = &new_xh->xh_entries[j]; in ocfs2_reflink_xattr_header()
6880 xh_entries[0].xe_name_hash); in ocfs2_reflink_xattr_bucket()