Searched refs:max_debt (Results 1 – 3 of 3) sorted by relevance
/fs/ext2/ |
D | ialloc.c | 279 int max_debt, max_dirs, min_blocks, min_inodes; in find_group_orlov() local 329 max_debt = EXT2_BLOCKS_PER_GROUP(sb) / max(blocks_per_dir, BLOCK_COST); in find_group_orlov() 330 if (max_debt * INODE_COST > inodes_per_group) in find_group_orlov() 331 max_debt = inodes_per_group / INODE_COST; in find_group_orlov() 332 if (max_debt > 255) in find_group_orlov() 333 max_debt = 255; in find_group_orlov() 334 if (max_debt == 0) in find_group_orlov() 335 max_debt = 1; in find_group_orlov() 342 if (sbi->s_debts[group] >= max_debt) in find_group_orlov()
|
/fs/ext3/ |
D | ialloc.c | 265 int max_debt, max_dirs, min_inodes; in find_group_orlov() local 308 max_debt = EXT3_BLOCKS_PER_GROUP(sb) / max(blocks_per_dir, (ext3_fsblk_t)BLOCK_COST); in find_group_orlov() 309 if (max_debt * INODE_COST > inodes_per_group) in find_group_orlov() 310 max_debt = inodes_per_group / INODE_COST; in find_group_orlov() 311 if (max_debt > 255) in find_group_orlov() 312 max_debt = 255; in find_group_orlov() 313 if (max_debt == 0) in find_group_orlov() 314 max_debt = 1; in find_group_orlov()
|
/fs/ext4/ |
D | ialloc.c | 453 int max_debt, max_dirs, min_inodes; in find_group_orlov() local 500 max_debt = EXT4_BLOCKS_PER_GROUP(sb); in find_group_orlov() 501 max_debt /= max_t(int, blocks_per_dir, BLOCK_COST); in find_group_orlov() 502 if (max_debt * INODE_COST > inodes_per_group) in find_group_orlov() 503 max_debt = inodes_per_group / INODE_COST; in find_group_orlov() 504 if (max_debt > 255) in find_group_orlov() 505 max_debt = 255; in find_group_orlov() 506 if (max_debt == 0) in find_group_orlov() 507 max_debt = 1; in find_group_orlov()
|