Lines Matching refs:num_buckets

3973 	u32 num_buckets = clusters * bpc;  in ocfs2_iterate_xattr_buckets()  local
3986 for (i = 0; i < num_buckets; i++, blkno += bucket->bu_blocks) { in ocfs2_iterate_xattr_buckets()
3998 num_buckets = le16_to_cpu(bucket_xh(bucket)->xh_num_buckets); in ocfs2_iterate_xattr_buckets()
4516 int num_buckets = ocfs2_xattr_buckets_per_cluster(OCFS2_SB(sb)); in ocfs2_mv_xattr_bucket_cross_cluster() local
4517 int to_move = num_buckets / 2; in ocfs2_mv_xattr_bucket_cross_cluster()
4522 BUG_ON(le16_to_cpu(bucket_xh(first)->xh_num_buckets) < num_buckets); in ocfs2_mv_xattr_bucket_cross_cluster()
4882 int num_buckets = ocfs2_xattr_buckets_per_cluster(osb); in ocfs2_mv_xattr_buckets() local
4888 BUG_ON(start_bucket >= num_buckets); in ocfs2_mv_xattr_buckets()
4890 num_buckets -= start_bucket; in ocfs2_mv_xattr_buckets()
4914 credits = ((num_buckets + 1) * blks_per_bucket); in ocfs2_mv_xattr_buckets()
4928 for (i = 0; i < num_buckets; i++) { in ocfs2_mv_xattr_buckets()
4957 le16_add_cpu(&bucket_xh(old_first)->xh_num_buckets, -num_buckets); in ocfs2_mv_xattr_buckets()
4960 bucket_xh(new_first)->xh_num_buckets = cpu_to_le16(num_buckets); in ocfs2_mv_xattr_buckets()
5279 int ret, num_buckets, extend = 1; in ocfs2_add_new_xattr_bucket() local
5309 num_buckets = ocfs2_xattr_buckets_per_cluster(osb) * num_clusters; in ocfs2_add_new_xattr_bucket()
5310 if (num_buckets == le16_to_cpu(bucket_xh(first)->xh_num_buckets)) { in ocfs2_add_new_xattr_bucket()
6833 u32 *cpos, int num_buckets, in ocfs2_reflink_xattr_bucket() argument
6845 for (i = 0; i < num_buckets; i++, blkno += bpb, new_blkno += bpb) { in ocfs2_reflink_xattr_bucket()
6880 cpu_to_le16(num_buckets); in ocfs2_reflink_xattr_bucket()
6933 unsigned int num_buckets, reflink_buckets; in ocfs2_reflink_xattr_buckets() local
6942 num_buckets = le16_to_cpu(bucket_xh(args->old_bucket)->xh_num_buckets); in ocfs2_reflink_xattr_buckets()
6945 while (len && num_buckets) { in ocfs2_reflink_xattr_buckets()
6954 reflink_buckets = min(num_buckets, bpc * num_clusters); in ocfs2_reflink_xattr_buckets()
6984 num_buckets -= reflink_buckets; in ocfs2_reflink_xattr_buckets()