Home
last modified time | relevance | path

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

/fs/ext2/
Dialloc.c277 int blocks_per_dir; in find_group_orlov() local
323 blocks_per_dir = (le32_to_cpu(es->s_blocks_count)-free_blocks) / ndirs; in find_group_orlov()
329 max_debt = EXT2_BLOCKS_PER_GROUP(sb) / max(blocks_per_dir, BLOCK_COST); in find_group_orlov()
/fs/ext3/
Dialloc.c263 ext3_fsblk_t blocks_per_dir; in find_group_orlov() local
302 blocks_per_dir = (le32_to_cpu(es->s_blocks_count) - freeb) / ndirs; in find_group_orlov()
308 max_debt = EXT3_BLOCKS_PER_GROUP(sb) / max(blocks_per_dir, (ext3_fsblk_t)BLOCK_COST); in find_group_orlov()
/fs/ext4/
Dialloc.c451 ext4_fsblk_t blocks_per_dir; in find_group_orlov() local
493 blocks_per_dir = ext4_blocks_count(es) - freeb; in find_group_orlov()
494 do_div(blocks_per_dir, ndirs); in find_group_orlov()
501 max_debt /= max_t(int, blocks_per_dir, BLOCK_COST); in find_group_orlov()