• Home
  • Raw
  • Download

Lines Matching refs:num_buckets

3958 	u32 num_buckets = clusters * bpc;  in ocfs2_iterate_xattr_buckets()  local
3971 for (i = 0; i < num_buckets; i++, blkno += bucket->bu_blocks) { in ocfs2_iterate_xattr_buckets()
3983 num_buckets = le16_to_cpu(bucket_xh(bucket)->xh_num_buckets); in ocfs2_iterate_xattr_buckets()
4503 int num_buckets = ocfs2_xattr_buckets_per_cluster(OCFS2_SB(sb)); in ocfs2_mv_xattr_bucket_cross_cluster() local
4504 int to_move = num_buckets / 2; in ocfs2_mv_xattr_bucket_cross_cluster()
4509 BUG_ON(le16_to_cpu(bucket_xh(first)->xh_num_buckets) < num_buckets); in ocfs2_mv_xattr_bucket_cross_cluster()
4869 int num_buckets = ocfs2_xattr_buckets_per_cluster(osb); in ocfs2_mv_xattr_buckets() local
4875 BUG_ON(start_bucket >= num_buckets); in ocfs2_mv_xattr_buckets()
4877 num_buckets -= start_bucket; in ocfs2_mv_xattr_buckets()
4901 credits = ((num_buckets + 1) * blks_per_bucket); in ocfs2_mv_xattr_buckets()
4915 for (i = 0; i < num_buckets; i++) { in ocfs2_mv_xattr_buckets()
4944 le16_add_cpu(&bucket_xh(old_first)->xh_num_buckets, -num_buckets); in ocfs2_mv_xattr_buckets()
4947 bucket_xh(new_first)->xh_num_buckets = cpu_to_le16(num_buckets); in ocfs2_mv_xattr_buckets()
5266 int ret, num_buckets, extend = 1; in ocfs2_add_new_xattr_bucket() local
5296 num_buckets = ocfs2_xattr_buckets_per_cluster(osb) * num_clusters; in ocfs2_add_new_xattr_bucket()
5297 if (num_buckets == le16_to_cpu(bucket_xh(first)->xh_num_buckets)) { in ocfs2_add_new_xattr_bucket()
6820 u32 *cpos, int num_buckets, in ocfs2_reflink_xattr_bucket() argument
6832 for (i = 0; i < num_buckets; i++, blkno += bpb, new_blkno += bpb) { in ocfs2_reflink_xattr_bucket()
6867 cpu_to_le16(num_buckets); in ocfs2_reflink_xattr_bucket()
6920 unsigned int num_buckets, reflink_buckets; in ocfs2_reflink_xattr_buckets() local
6929 num_buckets = le16_to_cpu(bucket_xh(args->old_bucket)->xh_num_buckets); in ocfs2_reflink_xattr_buckets()
6932 while (len && num_buckets) { in ocfs2_reflink_xattr_buckets()
6941 reflink_buckets = min(num_buckets, bpc * num_clusters); in ocfs2_reflink_xattr_buckets()
6971 num_buckets -= reflink_buckets; in ocfs2_reflink_xattr_buckets()