Home
last modified time | relevance | path

Searched refs:max_bits (Results 1 – 4 of 4) sorted by relevance

/fs/nilfs2/
Dthe_nilfs.c360 unsigned int max_bits; in nilfs_max_size() local
363 max_bits = blkbits + NILFS_BMAP_KEY_BIT; /* bmap size limit */ in nilfs_max_size()
364 if (max_bits < 64) in nilfs_max_size()
365 res = min_t(unsigned long long, res, (1ULL << max_bits) - 1); in nilfs_max_size()
/fs/ocfs2/
Dioctl.c447 unsigned int max_bits, num_clusters; in ocfs2_info_freefrag_scan_chain() local
484 max_bits = le16_to_cpu(bg->bg_bits); in ocfs2_info_freefrag_scan_chain()
491 if ((offset + ffg->iff_chunksize) > max_bits) in ocfs2_info_freefrag_scan_chain()
492 num_clusters = max_bits - offset; in ocfs2_info_freefrag_scan_chain()
Dsuballoc.c221 unsigned int max_bits; in ocfs2_validate_gd_parent() local
231 max_bits = le16_to_cpu(di->id2.i_chain.cl_cpg) * le16_to_cpu(di->id2.i_chain.cl_bpc); in ocfs2_validate_gd_parent()
232 if (le16_to_cpu(gd->bg_bits) > max_bits) { in ocfs2_validate_gd_parent()
1475 unsigned int max_bits, gd_cluster_off; in ocfs2_cluster_group_search() local
1480 max_bits = le16_to_cpu(gd->bg_bits); in ocfs2_cluster_group_search()
1490 if ((gd_cluster_off + max_bits) > in ocfs2_cluster_group_search()
1492 max_bits = OCFS2_I(inode)->ip_clusters - gd_cluster_off; in ocfs2_cluster_group_search()
1496 OCFS2_I(inode)->ip_clusters, max_bits); in ocfs2_cluster_group_search()
1501 max_bits, res); in ocfs2_cluster_group_search()
/fs/btrfs/
Dfree-space-cache.c1749 unsigned long max_bits = 0; in search_bitmap() local
1780 } else if (extent_bits > max_bits) { in search_bitmap()
1781 max_bits = extent_bits; in search_bitmap()
1792 *bytes = (u64)(max_bits) * ctl->unit; in search_bitmap()
2833 unsigned long max_bits = 0; in btrfs_bitmap_cluster() local
2857 if (found_bits > max_bits) in btrfs_bitmap_cluster()
2858 max_bits = found_bits; in btrfs_bitmap_cluster()
2861 if (next_zero - i > max_bits) in btrfs_bitmap_cluster()
2862 max_bits = next_zero - i; in btrfs_bitmap_cluster()
2867 entry->max_extent_size = (u64)max_bits * ctl->unit; in btrfs_bitmap_cluster()