Home
last modified time | relevance | path

Searched refs:MB_NUM_ORDERS (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/ext4/
H A Dmballoc.c832 if (order == MB_NUM_ORDERS(sb)) in mb_avg_fragment_size_order()
834 if (WARN_ON_ONCE(order > MB_NUM_ORDERS(sb))) in mb_avg_fragment_size_order()
835 order = MB_NUM_ORDERS(sb) - 1; in mb_avg_fragment_size_order()
887 for (i = ac->ac_2order; i < MB_NUM_ORDERS(ac->ac_sb); i++) { in ext4_mb_choose_next_group_p2_aligned()
961 i < MB_NUM_ORDERS(ac->ac_sb); i++) { in ext4_mb_choose_next_group_goal_fast()
1013 if (WARN_ON_ONCE(order - 1 > MB_NUM_ORDERS(ac->ac_sb))) in ext4_mb_choose_next_group_best_avail()
1014 order = MB_NUM_ORDERS(ac->ac_sb); in ext4_mb_choose_next_group_best_avail()
1155 for (i = MB_NUM_ORDERS(sb) - 1; i >= 0; i--) in mb_set_largest_free_order()
1398 (MB_NUM_ORDERS(sb))); in ext4_mb_init_cache()
2407 for (i = ac->ac_2order; i < MB_NUM_ORDERS(sb); i++) { in ext4_mb_simple_scan_group()
[all …]
H A Dmballoc.h98 #define MB_NUM_ORDERS(sb) ((sb)->s_blocksize_bits + 2) macro