Lines Matching refs:xh_entries
920 struct ocfs2_xattr_entry *entry = &header->xh_entries[i]; in ocfs2_xattr_list_entries()
950 if (!ocfs2_xattr_is_local(&xh->xh_entries[i])) in ocfs2_has_inline_xattr_value_outside()
1157 xs->here = xs->header->xh_entries; in ocfs2_xattr_ibody_get()
1227 i = xs->here - xs->header->xh_entries; in ocfs2_xattr_block_get()
1573 offset = le16_to_cpu(xh->xh_entries[i].xe_name_offset); in ocfs2_xa_block_get_free_start()
1629 offset = le16_to_cpu(xh->xh_entries[i].xe_name_offset); in ocfs2_xa_block_wipe_namevalue()
1631 le16_add_cpu(&xh->xh_entries[i].xe_name_offset, in ocfs2_xa_block_wipe_namevalue()
1644 loc->xl_entry = &(loc->xl_header->xh_entries[count]); in ocfs2_xa_block_add_entry()
1807 tmp_xe = &xh->xh_entries[tmp]; in ocfs2_xa_bucket_add_entry()
1820 memmove(&xh->xh_entries[low + 1], in ocfs2_xa_bucket_add_entry()
1821 &xh->xh_entries[low], in ocfs2_xa_bucket_add_entry()
1825 loc->xl_entry = &xh->xh_entries[low]; in ocfs2_xa_bucket_add_entry()
1933 index = ((char *)entry - (char *)&xh->xh_entries) / in ocfs2_xa_remove_entry()
1935 memmove(&xh->xh_entries[index], &xh->xh_entries[index + 1], in ocfs2_xa_remove_entry()
1937 memset(&xh->xh_entries[count], 0, in ocfs2_xa_remove_entry()
2359 struct ocfs2_xattr_entry *entry = &header->xh_entries[i]; in ocfs2_remove_value_outside()
2686 xs->here = xs->header->xh_entries; in ocfs2_xattr_ibody_find()
2823 xs->here = xs->header->xh_entries; in ocfs2_xattr_block_find()
2958 xs->here = xs->header->xh_entries; in ocfs2_xattr_block_set()
2997 last = xs->header->xh_entries; in ocfs2_xattr_can_be_in_inode()
3072 i = xbs->here - xbs->header->xh_entries; in ocfs2_calc_xattr_set_need()
3748 xe = &xh->xh_entries[i]; in ocfs2_find_xe_in_bucket()
3839 xe = &xh->xh_entries[0]; in ocfs2_xattr_bucket_find()
3851 xe = &xh->xh_entries[le16_to_cpu(xh->xh_count) - 1]; in ocfs2_xattr_bucket_find()
3894 xs->here = &xs->header->xh_entries[index]; in ocfs2_xattr_bucket_find()
3987 le32_to_cpu(bucket_xh(bucket)->xh_entries[0].xe_name_hash)); in ocfs2_iterate_xattr_buckets()
4021 name_offset = le16_to_cpu(xh->xh_entries[index].xe_name_offset); in ocfs2_xattr_bucket_get_name_value()
4039 struct ocfs2_xattr_entry *entry = &bucket_xh(bucket)->xh_entries[i]; in ocfs2_list_xattr_bucket()
4199 xe = &xb_xh->xh_entries[count - 1]; in ocfs2_cp_xattr_block_to_bucket()
4214 offset = offsetof(struct ocfs2_xattr_header, xh_entries); in ocfs2_cp_xattr_block_to_bucket()
4222 le16_add_cpu(&xh->xh_entries[i].xe_name_offset, off_change); in ocfs2_cp_xattr_block_to_bucket()
4254 i = xs->here - old_xh->xh_entries; in ocfs2_xattr_update_xattr_search()
4255 xs->here = &xs->header->xh_entries[i]; in ocfs2_xattr_update_xattr_search()
4408 entries = (char *)xh->xh_entries; in ocfs2_defrag_xattr_bucket()
4425 xe = xh->xh_entries; in ocfs2_defrag_xattr_bucket()
4571 struct ocfs2_xattr_entry *entries = xh->xh_entries; in ocfs2_xattr_find_divide_pos()
4678 xe = &xh->xh_entries[start-1]; in ocfs2_divide_xattr_bucket()
4690 xh->xh_entries[0].xe_name_hash = xe->xe_name_hash; in ocfs2_divide_xattr_bucket()
4691 le32_add_cpu(&xh->xh_entries[0].xe_name_hash, 1); in ocfs2_divide_xattr_bucket()
4709 xe = &xh->xh_entries[i]; in ocfs2_divide_xattr_bucket()
4723 xe = &xh->xh_entries[start]; in ocfs2_divide_xattr_bucket()
4727 (int)((char *)xh->xh_entries - (char *)xh)); in ocfs2_divide_xattr_bucket()
4728 memmove((char *)xh->xh_entries, (char *)xe, len); in ocfs2_divide_xattr_bucket()
4729 xe = &xh->xh_entries[count - start]; in ocfs2_divide_xattr_bucket()
4739 xe = &xh->xh_entries[i]; in ocfs2_divide_xattr_bucket()
4756 *first_hash = le32_to_cpu(xh->xh_entries[0].xe_name_hash); in ocfs2_divide_xattr_bucket()
4767 memset(&xh->xh_entries[start], 0, in ocfs2_divide_xattr_bucket()
4952 *first_hash = le32_to_cpu(bucket_xh(new_first)->xh_entries[0].xe_name_hash); in ocfs2_mv_xattr_buckets()
5265 le32_to_cpu(bucket_xh(target)->xh_entries[0].xe_name_hash); in ocfs2_add_new_xattr_bucket()
5355 xe = &xh->xh_entries[xe_off]; in ocfs2_xattr_bucket_value_truncate()
5511 if (name_hash != le32_to_cpu(xh->xh_entries[0].xe_name_hash)) in ocfs2_check_xattr_bucket_collision()
5514 if (xh->xh_entries[le16_to_cpu(xh->xh_count) - 1].xe_name_hash == in ocfs2_check_xattr_bucket_collision()
5515 xh->xh_entries[0].xe_name_hash) { in ocfs2_check_xattr_bucket_collision()
5519 le32_to_cpu(xh->xh_entries[0].xe_name_hash)); in ocfs2_check_xattr_bucket_collision()
5658 xe = &xh->xh_entries[i]; in ocfs2_delete_xattr_in_bucket()
5781 i = xbs->here - xbs->header->xh_entries; in ocfs2_prepare_refcount_xattr()
5937 xe = &header->xh_entries[i]; in ocfs2_xattr_attach_refcount_normal()
5994 struct ocfs2_xattr_entry *xe = &xh->xh_entries[offset]; in ocfs2_get_xattr_tree_value_root()
6051 xe = &xh->xh_entries[i]; in ocfs2_xattr_bucket_value_refcount()
6213 xe = &xh->xh_entries[i]; in ocfs2_value_metas_in_xattr_header()
6252 struct ocfs2_xattr_entry *xe = &xh->xh_entries[offset]; in ocfs2_get_xattr_value_root()
6347 last = &new_xh->xh_entries[le16_to_cpu(new_xh->xh_count)]; in ocfs2_reflink_xattr_header()
6349 xe = &xh->xh_entries[i]; in ocfs2_reflink_xattr_header()
6352 xe = &new_xh->xh_entries[j]; in ocfs2_reflink_xattr_header()
6866 xh_entries[0].xe_name_hash); in ocfs2_reflink_xattr_bucket()