Lines Matching refs:num_buckets
3969 u32 num_buckets = clusters * bpc;
3982 for (i = 0; i < num_buckets; i++, blkno += bucket->bu_blocks) {
3994 num_buckets = le16_to_cpu(bucket_xh(bucket)->xh_num_buckets);
4512 int num_buckets = ocfs2_xattr_buckets_per_cluster(OCFS2_SB(sb));
4513 int to_move = num_buckets / 2;
4518 BUG_ON(le16_to_cpu(bucket_xh(first)->xh_num_buckets) < num_buckets);
4878 int num_buckets = ocfs2_xattr_buckets_per_cluster(osb);
4884 BUG_ON(start_bucket >= num_buckets);
4886 num_buckets -= start_bucket;
4910 credits = ((num_buckets + 1) * blks_per_bucket);
4924 for (i = 0; i < num_buckets; i++) {
4953 le16_add_cpu(&bucket_xh(old_first)->xh_num_buckets, -num_buckets);
4956 bucket_xh(new_first)->xh_num_buckets = cpu_to_le16(num_buckets);
5275 int ret, num_buckets, extend = 1;
5305 num_buckets = ocfs2_xattr_buckets_per_cluster(osb) * num_clusters;
5306 if (num_buckets == le16_to_cpu(bucket_xh(first)->xh_num_buckets)) {
6829 u32 *cpos, int num_buckets,
6841 for (i = 0; i < num_buckets; i++, blkno += bpb, new_blkno += bpb) {
6876 cpu_to_le16(num_buckets);
6929 unsigned int num_buckets, reflink_buckets;
6938 num_buckets = le16_to_cpu(bucket_xh(args->old_bucket)->xh_num_buckets);
6941 while (len && num_buckets) {
6950 reflink_buckets = min(num_buckets, bpc * num_clusters);
6980 num_buckets -= reflink_buckets;