Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ext2/
Dialloc.c264 int max_debt, max_dirs, min_blocks, min_inodes; in find_group_orlov() local
313 max_debt = EXT2_BLOCKS_PER_GROUP(sb) / max(blocks_per_dir, BLOCK_COST); in find_group_orlov()
314 if (max_debt * INODE_COST > inodes_per_group) in find_group_orlov()
315 max_debt = inodes_per_group / INODE_COST; in find_group_orlov()
316 if (max_debt > 255) in find_group_orlov()
317 max_debt = 255; in find_group_orlov()
318 if (max_debt == 0) in find_group_orlov()
319 max_debt = 1; in find_group_orlov()
326 if (sbi->s_debts[group] >= max_debt) in find_group_orlov()