/fs/ext2/ |
D | ialloc.c | 206 int ngroups = EXT2_SB(sb)->s_groups_count; in find_group_dir() local 207 int avefreei = ext2_count_free_inodes(sb) / ngroups; in find_group_dir() 211 for (group = 0; group < ngroups; group++) { in find_group_dir() 263 int ngroups = sbi->s_groups_count; in find_group_orlov() local 276 avefreei = freei / ngroups; in find_group_orlov() 278 avefreeb = free_blocks / ngroups; in find_group_orlov() 288 parent_group = (unsigned)group % ngroups; in find_group_orlov() 289 for (i = 0; i < ngroups; i++) { in find_group_orlov() 290 group = (parent_group + i) % ngroups; in find_group_orlov() 317 max_dirs = ndirs / ngroups + inodes_per_group / 16; in find_group_orlov() [all …]
|
D | balloc.c | 1230 unsigned long ngroups; in ext2_new_blocks() local 1306 ngroups = EXT2_SB(sb)->s_groups_count; in ext2_new_blocks() 1313 for (bgi = 0; bgi < ngroups; bgi++) { in ext2_new_blocks() 1315 if (group_no >= ngroups) in ext2_new_blocks()
|
/fs/ext4/ |
D | ialloc.c | 425 ext4_group_t i, grp, g, ngroups; in find_group_orlov() local 431 ngroups = real_ngroups; in find_group_orlov() 433 ngroups = (real_ngroups + flex_size - 1) >> in find_group_orlov() 439 avefreei = freei / ngroups; in find_group_orlov() 443 do_div(avefreec, ngroups); in find_group_orlov() 459 parent_group = (unsigned)grp % ngroups; in find_group_orlov() 460 for (i = 0; i < ngroups; i++) { in find_group_orlov() 461 g = (parent_group + i) % ngroups; in find_group_orlov() 503 max_dirs = ndirs / ngroups + inodes_per_group / 16; in find_group_orlov() 519 for (i = 0; i < ngroups; i++) { in find_group_orlov() [all …]
|
D | balloc.c | 283 ext4_group_t ngroups = ext4_get_groups_count(sb); in ext4_get_group_desc() local 287 if (block_group >= ngroups) { in ext4_get_group_desc() 289 " groups_count = %u", block_group, ngroups); in ext4_get_group_desc() 663 ext4_group_t ngroups = ext4_get_groups_count(sb); in ext4_count_free_clusters() local 676 for (i = 0; i < ngroups; i++) { in ext4_count_free_clusters() 704 for (i = 0; i < ngroups; i++) { in ext4_count_free_clusters()
|
D | block_validity.c | 142 ext4_group_t ngroups = ext4_get_groups_count(sb); in ext4_setup_system_zone() local 157 for (i=0; i < ngroups; i++) { in ext4_setup_system_zone()
|
D | mballoc.c | 819 ext4_group_t ngroups; in ext4_mb_init_cache() local 839 ngroups = ext4_get_groups_count(sb); in ext4_mb_init_cache() 862 if (group >= ngroups) in ext4_mb_init_cache() 894 if (group >= ngroups) in ext4_mb_init_cache() 2079 ext4_group_t ngroups, group, i; in ext4_mb_regular_allocator() local 2088 ngroups = ext4_get_groups_count(sb); in ext4_mb_regular_allocator() 2091 ngroups = sbi->s_blockfile_groups; in ext4_mb_regular_allocator() 2147 for (i = 0; i < ngroups; group++, i++) { in ext4_mb_regular_allocator() 2153 if (group >= ngroups) in ext4_mb_regular_allocator() 2341 int ext4_mb_alloc_groupinfo(struct super_block *sb, ext4_group_t ngroups) in ext4_mb_alloc_groupinfo() argument [all …]
|
D | super.c | 2886 ext4_group_t group, ngroups; in ext4_run_li_request() local 2892 ngroups = EXT4_SB(sb)->s_groups_count; in ext4_run_li_request() 2895 for (group = elr->lr_next_group; group < ngroups; group++) { in ext4_run_li_request() 2906 if (group >= ngroups) in ext4_run_li_request() 3086 ext4_group_t group, ngroups = EXT4_SB(sb)->s_groups_count; in ext4_has_uninit_itable() local 3089 for (group = 0; group < ngroups; group++) { in ext4_has_uninit_itable() 3148 ext4_group_t ngroups = EXT4_SB(sb)->s_groups_count; in ext4_register_li_request() local 3161 if (first_not_zeroed == ngroups || in ext4_register_li_request() 3278 ext4_group_t i, ngroups = ext4_get_groups_count(sb); in count_overhead() local 3288 for (i = 0; i < ngroups; i++) { in count_overhead() [all …]
|
D | ext4.h | 2264 ext4_group_t ngroups); 2608 ext4_group_t ngroups = EXT4_SB(sb)->s_groups_count; in ext4_get_groups_count() local 2611 return ngroups; in ext4_get_groups_count()
|
D | inode.c | 4781 ext4_group_t groups, ngroups = ext4_get_groups_count(inode->i_sb); in ext4_meta_trans_blocks() local 4800 if (groups > ngroups) in ext4_meta_trans_blocks() 4801 groups = ngroups; in ext4_meta_trans_blocks()
|
/fs/ext3/ |
D | ialloc.c | 197 int ngroups = sbi->s_groups_count; in find_group_orlov() local 208 avefreei = freei / ngroups; in find_group_orlov() 210 avefreeb = freeb / ngroups; in find_group_orlov() 219 parent_group = (unsigned)group % ngroups; in find_group_orlov() 220 for (i = 0; i < ngroups; i++) { in find_group_orlov() 221 group = (parent_group + i) % ngroups; in find_group_orlov() 239 max_dirs = ndirs / ngroups + inodes_per_group / 16; in find_group_orlov() 243 for (i = 0; i < ngroups; i++) { in find_group_orlov() 244 group = (parent_group + i) % ngroups; in find_group_orlov() 258 for (i = 0; i < ngroups; i++) { in find_group_orlov() [all …]
|
D | balloc.c | 1510 unsigned long ngroups; in ext3_new_blocks() local 1586 ngroups = EXT3_SB(sb)->s_groups_count; in ext3_new_blocks() 1593 for (bgi = 0; bgi < ngroups; bgi++) { in ext3_new_blocks() 1595 if (group_no >= ngroups) in ext3_new_blocks() 1785 unsigned long ngroups = EXT3_SB(sb)->s_groups_count; in ext3_count_free_blocks() local 1798 for (i = 0; i < ngroups; i++) { in ext3_count_free_blocks() 1822 for (i = 0; i < ngroups; i++) { in ext3_count_free_blocks()
|
D | super.c | 2744 unsigned long ngroups = sbi->s_groups_count, i; in ext3_statfs() local 2765 for (i = 0; i < ngroups; i++) { in ext3_statfs() 2775 overhead += ngroups * (2 + sbi->s_itb_per_group); in ext3_statfs()
|
/fs/nfsd/ |
D | auth.c | 55 gi = groups_alloc(rqgi->ngroups); in nfsd_setuser() 59 for (i = 0; i < rqgi->ngroups; i++) { in nfsd_setuser()
|
D | nfs4state.c | 1226 if (g1->ngroups != g2->ngroups) in groups_equal() 1228 for (i=0; i<g1->ngroups; i++) in groups_equal()
|
/fs/nilfs2/ |
D | alloc.c | 412 unsigned long group, maxgroup, ngroups; in nilfs_palloc_prepare_alloc_entry() local 418 ngroups = nilfs_palloc_groups_count(inode); in nilfs_palloc_prepare_alloc_entry() 419 maxgroup = ngroups - 1; in nilfs_palloc_prepare_alloc_entry() 424 for (i = 0; i < ngroups; i += n) { in nilfs_palloc_prepare_alloc_entry() 425 if (group >= ngroups) { in nilfs_palloc_prepare_alloc_entry()
|
/fs/proc/ |
D | array.c | 216 for (g = 0; g < group_info->ngroups; g++) in task_state()
|