Lines Matching refs:bucket_xh
314 #define bucket_xh(_b) ((struct ocfs2_xattr_header *)bucket_block((_b), 0)) macro
403 &bucket_xh(bucket)->xh_check); in ocfs2_read_xattr_bucket()
441 &bucket_xh(bucket)->xh_check); in ocfs2_xattr_bucket_journal_dirty()
1250 bucket_xh(xs->bucket), in ocfs2_xattr_block_get()
1746 return le16_to_cpu(bucket_xh(bucket)->xh_free_start); in ocfs2_xa_bucket_get_free_start()
2314 loc->xl_header = bucket_xh(bucket); in ocfs2_init_xattr_bucket_xa_loc()
3096 bucket_xh(xbs->bucket), in ocfs2_calc_xattr_set_need()
3759 struct ocfs2_xattr_header *xh = bucket_xh(bucket); in ocfs2_find_xe_in_bucket()
3845 xh = bucket_xh(search); in ocfs2_xattr_bucket_find()
3858 xh = bucket_xh(search); in ocfs2_xattr_bucket_find()
3907 xs->header = bucket_xh(xs->bucket); in ocfs2_xattr_bucket_find()
4002 num_buckets = le16_to_cpu(bucket_xh(bucket)->xh_num_buckets); in ocfs2_iterate_xattr_buckets()
4005 le32_to_cpu(bucket_xh(bucket)->xh_entries[0].xe_name_hash)); in ocfs2_iterate_xattr_buckets()
4056 for (i = 0 ; i < le16_to_cpu(bucket_xh(bucket)->xh_count); i++) { in ocfs2_list_xattr_bucket()
4057 struct ocfs2_xattr_entry *entry = &bucket_xh(bucket)->xh_entries[i]; in ocfs2_list_xattr_bucket()
4061 bucket_xh(bucket), in ocfs2_list_xattr_bucket()
4188 struct ocfs2_xattr_header *xh = bucket_xh(bucket); in ocfs2_cp_xattr_block_to_bucket()
4254 xs->header = bucket_xh(xs->bucket); in ocfs2_xattr_update_xattr_search()
4517 BUG_ON(le16_to_cpu(bucket_xh(first)->xh_num_buckets) < num_buckets); in ocfs2_mv_xattr_bucket_cross_cluster()
4680 xh = bucket_xh(s_bucket); in ocfs2_divide_xattr_bucket()
4695 xh = bucket_xh(t_bucket); in ocfs2_divide_xattr_bucket()
4707 xh = bucket_xh(t_bucket); in ocfs2_divide_xattr_bucket()
4773 xh = bucket_xh(s_bucket); in ocfs2_divide_xattr_bucket()
4952 le16_add_cpu(&bucket_xh(old_first)->xh_num_buckets, -num_buckets); in ocfs2_mv_xattr_buckets()
4955 bucket_xh(new_first)->xh_num_buckets = cpu_to_le16(num_buckets); in ocfs2_mv_xattr_buckets()
4959 *first_hash = le32_to_cpu(bucket_xh(new_first)->xh_entries[0].xe_name_hash); in ocfs2_mv_xattr_buckets()
5196 u16 new_bucket = le16_to_cpu(bucket_xh(first)->xh_num_buckets); in ocfs2_extend_xattr_bucket()
5242 le16_add_cpu(&bucket_xh(first)->xh_num_buckets, 1); in ocfs2_extend_xattr_bucket()
5272 le32_to_cpu(bucket_xh(target)->xh_entries[0].xe_name_hash); in ocfs2_add_new_xattr_bucket()
5305 if (num_buckets == le16_to_cpu(bucket_xh(first)->xh_num_buckets)) { in ocfs2_add_new_xattr_bucket()
5356 struct ocfs2_xattr_header *xh = bucket_xh(bucket); in ocfs2_xattr_bucket_value_truncate()
5515 struct ocfs2_xattr_header *xh = bucket_xh(bucket); in ocfs2_check_xattr_bucket_collision()
5651 struct ocfs2_xattr_header *xh = bucket_xh(bucket); in ocfs2_delete_xattr_in_bucket()
5792 bucket_xh(xbs->bucket), in ocfs2_prepare_refcount_xattr()
6000 struct ocfs2_xattr_header *xh = bucket_xh(bucket); in ocfs2_get_xattr_tree_value_root()
6005 bucket_xh(bucket), in ocfs2_get_xattr_tree_value_root()
6863 *cpos = le32_to_cpu(bucket_xh(args->new_bucket)-> in ocfs2_reflink_xattr_bucket()
6865 bucket_xh(args->new_bucket)->xh_num_buckets = in ocfs2_reflink_xattr_bucket()
6873 bucket_xh(args->old_bucket), in ocfs2_reflink_xattr_bucket()
6875 bucket_xh(args->new_bucket), in ocfs2_reflink_xattr_bucket()
6928 num_buckets = le16_to_cpu(bucket_xh(args->old_bucket)->xh_num_buckets); in ocfs2_reflink_xattr_buckets()