Home
last modified time | relevance | path

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

/linux-6.6.21/fs/ext4/
Dresize.c829 unsigned long gdb_num = group / EXT4_DESC_PER_BLOCK(sb); in add_new_gdb()
965 unsigned long gdb_num = group / EXT4_DESC_PER_BLOCK(sb); in add_new_gdb_meta_bg()
1168 last = (ext4_group_t)(group + EXT4_DESC_PER_BLOCK(sb) - 2); in update_backups()
1269 gdb_off = group % EXT4_DESC_PER_BLOCK(sb); in ext4_add_new_descs()
1270 gdb_num = group / EXT4_DESC_PER_BLOCK(sb); in ext4_add_new_descs()
1356 gdb_off = group % EXT4_DESC_PER_BLOCK(sb); in ext4_setup_new_descs()
1357 gdb_num = group / EXT4_DESC_PER_BLOCK(sb); in ext4_setup_new_descs()
1570 credit += 1 + DIV_ROUND_UP(flex_gd->count, EXT4_DESC_PER_BLOCK(sb)); in ext4_flex_group_add()
1605 int gdb_num = group / EXT4_DESC_PER_BLOCK(sb); in ext4_flex_group_add()
1607 EXT4_DESC_PER_BLOCK(sb)); in ext4_flex_group_add()
[all …]
Dballoc.c285 offset = block_group & (EXT4_DESC_PER_BLOCK(sb) - 1); in ext4_get_group_desc()
333 indexh = group & ((EXT4_DESC_PER_BLOCK(sb)) - 1); in ext4_get_group_info()
872 unsigned long metagroup = group / EXT4_DESC_PER_BLOCK(sb); in ext4_bg_num_gdb_meta()
873 ext4_group_t first = metagroup * EXT4_DESC_PER_BLOCK(sb); in ext4_bg_num_gdb_meta()
874 ext4_group_t last = first + EXT4_DESC_PER_BLOCK(sb) - 1; in ext4_bg_num_gdb_meta()
906 unsigned long metagroup = group / EXT4_DESC_PER_BLOCK(sb); in ext4_bg_num_gdb()
Dfsmap.c322 unsigned long metagroup = agno / EXT4_DESC_PER_BLOCK(sb); in ext4_getfsmap_find_sb()
Dmballoc.c3282 size = (ngroups + EXT4_DESC_PER_BLOCK(sb) - 1) >> in ext4_mb_alloc_groupinfo()
3324 if (group % EXT4_DESC_PER_BLOCK(sb) == 0) { in ext4_mb_add_groupinfo()
3339 i = group & (EXT4_DESC_PER_BLOCK(sb) - 1); in ext4_mb_add_groupinfo()
3376 if (group % EXT4_DESC_PER_BLOCK(sb) == 0) { in ext4_mb_add_groupinfo()
3787 EXT4_DESC_PER_BLOCK(sb) - 1) >> in ext4_mb_release()
Dext4.h448 # define EXT4_DESC_PER_BLOCK(s) (EXT4_SB(s)->s_desc_per_block) macro
453 # define EXT4_DESC_PER_BLOCK(s) (EXT4_BLOCK_SIZE(s) / EXT4_DESC_SIZE(s)) macro
Dsuper.c4815 if (blocks_count > ((uint64_t)1<<32) - EXT4_DESC_PER_BLOCK(sb)) { in ext4_check_geometry()
4848 db_count = (sbi->s_groups_count + EXT4_DESC_PER_BLOCK(sb) - 1) / in ext4_group_desc_init()
4849 EXT4_DESC_PER_BLOCK(sb); in ext4_group_desc_init()
5203 sbi->s_desc_per_block_bits = ilog2(EXT4_DESC_PER_BLOCK(sb)); in ext4_block_group_meta_init()