Searched refs:blocks_per_dir (Results 1 – 3 of 3) sorted by relevance
277 int blocks_per_dir; in find_group_orlov() local323 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()
263 ext3_fsblk_t blocks_per_dir; in find_group_orlov() local302 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()
451 ext4_fsblk_t blocks_per_dir; in find_group_orlov() local493 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()