Home
last modified time | relevance | path

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

/fs/nilfs2/
Dthe_nilfs.c358 unsigned int max_bits; in nilfs_max_size() local
361 max_bits = blkbits + NILFS_BMAP_KEY_BIT; /* bmap size limit */ in nilfs_max_size()
362 if (max_bits < 64) in nilfs_max_size()
363 res = min_t(unsigned long long, res, (1ULL << max_bits) - 1); in nilfs_max_size()
/fs/ocfs2/
Dioctl.c483 unsigned int max_bits, num_clusters; in ocfs2_info_freefrag_scan_chain() local
520 max_bits = le16_to_cpu(bg->bg_bits); in ocfs2_info_freefrag_scan_chain()
527 if ((offset + ffg->iff_chunksize) > max_bits) in ocfs2_info_freefrag_scan_chain()
528 num_clusters = max_bits - offset; in ocfs2_info_freefrag_scan_chain()
Dsuballoc.c238 unsigned int max_bits; in ocfs2_validate_gd_parent() local
250 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()
251 if (le16_to_cpu(gd->bg_bits) > max_bits) { in ocfs2_validate_gd_parent()
1506 unsigned int max_bits, gd_cluster_off; in ocfs2_cluster_group_search() local
1511 max_bits = le16_to_cpu(gd->bg_bits); in ocfs2_cluster_group_search()
1521 if ((gd_cluster_off + max_bits) > in ocfs2_cluster_group_search()
1523 max_bits = OCFS2_I(inode)->ip_clusters - gd_cluster_off; in ocfs2_cluster_group_search()
1527 OCFS2_I(inode)->ip_clusters, max_bits); in ocfs2_cluster_group_search()
1532 max_bits, res); in ocfs2_cluster_group_search()