Home
last modified time | relevance | path

Searched refs:ac_2order (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/fs/ext4/
H A Dmballoc.h171 __u8 ac_2order; /* if request is to allocate 2^N blocks and member
H A Dmballoc.c1974 BUG_ON(ac->ac_2order <= 0); in ext4_mb_simple_scan_group()
1975 for (i = ac->ac_2order; i <= sb->s_blocksize_bits + 1; i++) { in ext4_mb_simple_scan_group()
2143 BUG_ON(ac->ac_2order == 0); in ext4_mb_good_group()
2154 if (ac->ac_2order > ac->ac_sb->s_blocksize_bits+1) in ext4_mb_good_group()
2157 if (grp->bb_largest_free_order < ac->ac_2order) in ext4_mb_good_group()
2351 * ac->ac_2order is set only if the fe_len is a power of 2 in ext4_mb_regular_allocator()
2352 * if ac->ac_2order is set we also set criteria to 0 so that we in ext4_mb_regular_allocator()
2356 ac->ac_2order = 0; in ext4_mb_regular_allocator()
2369 ac->ac_2order = array_index_nospec(i - 1, in ext4_mb_regular_allocator()
2383 cr = ac->ac_2order in ext4_mb_regular_allocator()
[all...]
/kernel/linux/linux-6.6/fs/ext4/
H A Dmballoc.h205 __u8 ac_2order; /* if request is to allocate 2^N blocks and member
H A Dmballoc.c885 for (i = ac->ac_2order; i < MB_NUM_ORDERS(ac->ac_sb); i++) { in ext4_mb_choose_next_group_p2_aligned()
2402 BUG_ON(ac->ac_2order <= 0); in ext4_mb_simple_scan_group()
2403 for (i = ac->ac_2order; i < MB_NUM_ORDERS(sb); i++) { in ext4_mb_simple_scan_group()
2595 BUG_ON(ac->ac_2order == 0); in ext4_mb_good_group()
2606 if (ac->ac_2order >= MB_NUM_ORDERS(ac->ac_sb)) in ext4_mb_good_group()
2609 if (grp->bb_largest_free_order < ac->ac_2order) in ext4_mb_good_group()
2820 * ac->ac_2order is set only if the fe_len is a power of 2 in ext4_mb_regular_allocator()
2821 * if ac->ac_2order is set we also set criteria to CR_POWER2_ALIGNED in ext4_mb_regular_allocator()
2825 ac->ac_2order = 0; in ext4_mb_regular_allocator()
2835 ac->ac_2order in ext4_mb_regular_allocator()
[all...]

Completed in 12 milliseconds