Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ext2/
Dialloc.c208 int ngroups = EXT2_SB(sb)->s_groups_count; in find_group_dir() local
209 int avefreei = ext2_count_free_inodes(sb) / ngroups; in find_group_dir()
213 for (group = 0; group < ngroups; group++) { in find_group_dir()
265 int ngroups = sbi->s_groups_count; in find_group_orlov() local
278 avefreei = freei / ngroups; in find_group_orlov()
280 avefreeb = free_blocks / ngroups; in find_group_orlov()
290 parent_group = (unsigned)group % ngroups; in find_group_orlov()
291 for (i = 0; i < ngroups; i++) { in find_group_orlov()
292 group = (parent_group + i) % ngroups; in find_group_orlov()
319 max_dirs = ndirs / ngroups + inodes_per_group / 16; in find_group_orlov()
[all …]
Dballoc.c1251 unsigned long ngroups; in ext2_new_blocks() local
1327 ngroups = EXT2_SB(sb)->s_groups_count; in ext2_new_blocks()
1334 for (bgi = 0; bgi < ngroups; bgi++) { in ext2_new_blocks()
1336 if (group_no >= ngroups) in ext2_new_blocks()
/linux-4.19.296/fs/ext4/
Dialloc.c431 ext4_group_t i, grp, g, ngroups; in find_group_orlov() local
437 ngroups = real_ngroups; in find_group_orlov()
439 ngroups = (real_ngroups + flex_size - 1) >> in find_group_orlov()
445 avefreei = freei / ngroups; in find_group_orlov()
448 do_div(avefreec, ngroups); in find_group_orlov()
464 parent_group = (unsigned)grp % ngroups; in find_group_orlov()
465 for (i = 0; i < ngroups; i++) { in find_group_orlov()
466 g = (parent_group + i) % ngroups; in find_group_orlov()
508 max_dirs = ndirs / ngroups + inodes_per_group*flex_size / 16; in find_group_orlov()
524 for (i = 0; i < ngroups; i++) { in find_group_orlov()
[all …]
Dballoc.c270 ext4_group_t ngroups = ext4_get_groups_count(sb); in ext4_get_group_desc() local
275 if (block_group >= ngroups) { in ext4_get_group_desc()
277 " groups_count = %u", block_group, ngroups); in ext4_get_group_desc()
715 ext4_group_t ngroups = ext4_get_groups_count(sb); in ext4_count_free_clusters() local
728 for (i = 0; i < ngroups; i++) { in ext4_count_free_clusters()
758 for (i = 0; i < ngroups; i++) { in ext4_count_free_clusters()
Dblock_validity.c249 ext4_group_t ngroups = ext4_get_groups_count(sb); in ext4_setup_system_zone() local
261 for (i=0; i < ngroups; i++) { in ext4_setup_system_zone()
Dmballoc.c808 ext4_group_t ngroups; in ext4_mb_init_cache() local
828 ngroups = ext4_get_groups_count(sb); in ext4_mb_init_cache()
851 if (group >= ngroups) in ext4_mb_init_cache()
888 if (group >= ngroups) in ext4_mb_init_cache()
2112 ext4_group_t ngroups, group, i; in ext4_mb_regular_allocator() local
2121 ngroups = ext4_get_groups_count(sb); in ext4_mb_regular_allocator()
2124 ngroups = sbi->s_blockfile_groups; in ext4_mb_regular_allocator()
2183 for (i = 0; i < ngroups; group++, i++) { in ext4_mb_regular_allocator()
2190 if (group >= ngroups) in ext4_mb_regular_allocator()
2366 int ext4_mb_alloc_groupinfo(struct super_block *sb, ext4_group_t ngroups) in ext4_mb_alloc_groupinfo() argument
[all …]
Dsuper.c3027 ext4_group_t group, ngroups; in ext4_run_li_request() local
3033 ngroups = EXT4_SB(sb)->s_groups_count; in ext4_run_li_request()
3035 for (group = elr->lr_next_group; group < ngroups; group++) { in ext4_run_li_request()
3046 if (group >= ngroups) in ext4_run_li_request()
3248 ext4_group_t group, ngroups = EXT4_SB(sb)->s_groups_count; in ext4_has_uninit_itable() local
3252 return ngroups; in ext4_has_uninit_itable()
3254 for (group = 0; group < ngroups; group++) { in ext4_has_uninit_itable()
3313 ext4_group_t ngroups = sbi->s_groups_count; in ext4_register_li_request() local
3326 if (first_not_zeroed == ngroups || sb_rdonly(sb) || in ext4_register_li_request()
3442 ext4_group_t i, ngroups = ext4_get_groups_count(sb); in count_overhead() local
[all …]
Dext4.h2502 ext4_group_t ngroups);
2886 ext4_group_t ngroups = EXT4_SB(sb)->s_groups_count; in ext4_get_groups_count() local
2889 return ngroups; in ext4_get_groups_count()
Dinode.c5882 ext4_group_t groups, ngroups = ext4_get_groups_count(inode->i_sb); in ext4_meta_trans_blocks() local
5901 if (groups > ngroups) in ext4_meta_trans_blocks()
5902 groups = ngroups; in ext4_meta_trans_blocks()
/linux-4.19.296/lib/
Dhexdump.c134 int ngroups; in hex_dump_to_buffer() local
150 ngroups = len / groupsize; in hex_dump_to_buffer()
162 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer()
173 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer()
184 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer()
228 return ascii ? ascii_column + len : (groupsize * 2 + 1) * ngroups - 1; in hex_dump_to_buffer()
/linux-4.19.296/fs/nfsd/
Dauth.c54 gi = groups_alloc(rqgi->ngroups); in nfsd_setuser()
58 for (i = 0; i < rqgi->ngroups; i++) { in nfsd_setuser()
Dnfs4state.c2046 if (g1->ngroups != g2->ngroups) in groups_equal()
2048 for (i=0; i<g1->ngroups; i++) in groups_equal()
/linux-4.19.296/fs/nilfs2/
Dalloc.c506 unsigned long group, maxgroup, ngroups; in nilfs_palloc_prepare_alloc_entry() local
513 ngroups = nilfs_palloc_groups_count(inode); in nilfs_palloc_prepare_alloc_entry()
514 maxgroup = ngroups - 1; in nilfs_palloc_prepare_alloc_entry()
518 for (i = 0; i < ngroups; i += n) { in nilfs_palloc_prepare_alloc_entry()
519 if (group >= ngroups) { in nilfs_palloc_prepare_alloc_entry()
/linux-4.19.296/include/linux/
Dcred.h32 int ngroups; member
/linux-4.19.296/include/linux/mtd/
Dmtd.h189 int ngroups; member
/linux-4.19.296/fs/proc/
Darray.c205 for (g = 0; g < group_info->ngroups; g++) in task_state()