Lines Matching refs:bucket_xh

328 #define bucket_xh(_b) ((struct ocfs2_xattr_header *)bucket_block((_b), 0))  macro
417 &bucket_xh(bucket)->xh_check); in ocfs2_read_xattr_bucket()
455 &bucket_xh(bucket)->xh_check); in ocfs2_xattr_bucket_journal_dirty()
1231 bucket_xh(xs->bucket), in ocfs2_xattr_block_get()
1726 return le16_to_cpu(bucket_xh(bucket)->xh_free_start); in ocfs2_xa_bucket_get_free_start()
2295 loc->xl_header = bucket_xh(bucket); in ocfs2_init_xattr_bucket_xa_loc()
3077 bucket_xh(xbs->bucket), in ocfs2_calc_xattr_set_need()
3738 struct ocfs2_xattr_header *xh = bucket_xh(bucket); in ocfs2_find_xe_in_bucket()
3825 xh = bucket_xh(search); in ocfs2_xattr_bucket_find()
3838 xh = bucket_xh(search); in ocfs2_xattr_bucket_find()
3889 xs->header = bucket_xh(xs->bucket); in ocfs2_xattr_bucket_find()
3984 num_buckets = le16_to_cpu(bucket_xh(bucket)->xh_num_buckets); in ocfs2_iterate_xattr_buckets()
3987 le32_to_cpu(bucket_xh(bucket)->xh_entries[0].xe_name_hash)); in ocfs2_iterate_xattr_buckets()
4038 for (i = 0 ; i < le16_to_cpu(bucket_xh(bucket)->xh_count); i++) { in ocfs2_list_xattr_bucket()
4039 struct ocfs2_xattr_entry *entry = &bucket_xh(bucket)->xh_entries[i]; in ocfs2_list_xattr_bucket()
4045 bucket_xh(bucket), in ocfs2_list_xattr_bucket()
4181 struct ocfs2_xattr_header *xh = bucket_xh(bucket); in ocfs2_cp_xattr_block_to_bucket()
4247 xs->header = bucket_xh(xs->bucket); in ocfs2_xattr_update_xattr_search()
4510 BUG_ON(le16_to_cpu(bucket_xh(first)->xh_num_buckets) < num_buckets); in ocfs2_mv_xattr_bucket_cross_cluster()
4673 xh = bucket_xh(s_bucket); in ocfs2_divide_xattr_bucket()
4688 xh = bucket_xh(t_bucket); in ocfs2_divide_xattr_bucket()
4700 xh = bucket_xh(t_bucket); in ocfs2_divide_xattr_bucket()
4766 xh = bucket_xh(s_bucket); in ocfs2_divide_xattr_bucket()
4945 le16_add_cpu(&bucket_xh(old_first)->xh_num_buckets, -num_buckets); in ocfs2_mv_xattr_buckets()
4948 bucket_xh(new_first)->xh_num_buckets = cpu_to_le16(num_buckets); in ocfs2_mv_xattr_buckets()
4952 *first_hash = le32_to_cpu(bucket_xh(new_first)->xh_entries[0].xe_name_hash); in ocfs2_mv_xattr_buckets()
5189 u16 new_bucket = le16_to_cpu(bucket_xh(first)->xh_num_buckets); in ocfs2_extend_xattr_bucket()
5235 le16_add_cpu(&bucket_xh(first)->xh_num_buckets, 1); in ocfs2_extend_xattr_bucket()
5265 le32_to_cpu(bucket_xh(target)->xh_entries[0].xe_name_hash); in ocfs2_add_new_xattr_bucket()
5298 if (num_buckets == le16_to_cpu(bucket_xh(first)->xh_num_buckets)) { in ocfs2_add_new_xattr_bucket()
5349 struct ocfs2_xattr_header *xh = bucket_xh(bucket); in ocfs2_xattr_bucket_value_truncate()
5508 struct ocfs2_xattr_header *xh = bucket_xh(bucket); in ocfs2_check_xattr_bucket_collision()
5644 struct ocfs2_xattr_header *xh = bucket_xh(bucket); in ocfs2_delete_xattr_in_bucket()
5785 bucket_xh(xbs->bucket), in ocfs2_prepare_refcount_xattr()
5993 struct ocfs2_xattr_header *xh = bucket_xh(bucket); in ocfs2_get_xattr_tree_value_root()
5998 bucket_xh(bucket), in ocfs2_get_xattr_tree_value_root()
6865 *cpos = le32_to_cpu(bucket_xh(args->new_bucket)-> in ocfs2_reflink_xattr_bucket()
6867 bucket_xh(args->new_bucket)->xh_num_buckets = in ocfs2_reflink_xattr_bucket()
6875 bucket_xh(args->old_bucket), in ocfs2_reflink_xattr_bucket()
6877 bucket_xh(args->new_bucket), in ocfs2_reflink_xattr_bucket()
6930 num_buckets = le16_to_cpu(bucket_xh(args->old_bucket)->xh_num_buckets); in ocfs2_reflink_xattr_buckets()