Lines Matching refs:num_buckets
3975 u32 num_buckets = clusters * bpc;
3988 for (i = 0; i < num_buckets; i++, blkno += bucket->bu_blocks) {
4000 num_buckets = le16_to_cpu(bucket_xh(bucket)->xh_num_buckets);
4518 int num_buckets = ocfs2_xattr_buckets_per_cluster(OCFS2_SB(sb));
4519 int to_move = num_buckets / 2;
4524 BUG_ON(le16_to_cpu(bucket_xh(first)->xh_num_buckets) < num_buckets);
4884 int num_buckets = ocfs2_xattr_buckets_per_cluster(osb);
4890 BUG_ON(start_bucket >= num_buckets);
4892 num_buckets -= start_bucket;
4916 credits = ((num_buckets + 1) * blks_per_bucket);
4930 for (i = 0; i < num_buckets; i++) {
4959 le16_add_cpu(&bucket_xh(old_first)->xh_num_buckets, -num_buckets);
4962 bucket_xh(new_first)->xh_num_buckets = cpu_to_le16(num_buckets);
5281 int ret, num_buckets, extend = 1;
5311 num_buckets = ocfs2_xattr_buckets_per_cluster(osb) * num_clusters;
5312 if (num_buckets == le16_to_cpu(bucket_xh(first)->xh_num_buckets)) {
6835 u32 *cpos, int num_buckets,
6847 for (i = 0; i < num_buckets; i++, blkno += bpb, new_blkno += bpb) {
6882 cpu_to_le16(num_buckets);
6935 unsigned int num_buckets, reflink_buckets;
6944 num_buckets = le16_to_cpu(bucket_xh(args->old_bucket)->xh_num_buckets);
6947 while (len && num_buckets) {
6956 reflink_buckets = min(num_buckets, bpc * num_clusters);
6986 num_buckets -= reflink_buckets;