Searched refs:ndirs (Results 1 – 2 of 2) sorted by relevance
268 int ndirs; in find_group_orlov() local277 ndirs = percpu_counter_read_positive(&sbi->s_dirs_counter); in find_group_orlov()310 if (ndirs == 0) in find_group_orlov()311 ndirs = 1; /* percpu_counters are approximate... */ in find_group_orlov()313 blocks_per_dir = (le32_to_cpu(es->s_blocks_count)-free_blocks) / ndirs; in find_group_orlov()315 max_dirs = ndirs / ngroups + inodes_per_group / 16; in find_group_orlov()
431 unsigned int ndirs; in find_group_orlov() local452 ndirs = percpu_counter_read_positive(&sbi->s_dirs_counter); in find_group_orlov()511 max_dirs = ndirs / ngroups + inodes_per_group*flex_size / 16; in find_group_orlov()