Lines Matching refs:ac_o_ex
2012 if (ac->ac_o_ex.fe_len < ac->ac_b_ex.fe_len) in ext4_mb_use_best_found()
2783 ac->ac_b_ex.fe_len, ac->ac_o_ex.fe_len, ac->ac_status, in ext4_mb_regular_allocator()
4027 size = ac->ac_o_ex.fe_logical + EXT4_C2B(sbi, ac->ac_o_ex.fe_len); in ext4_mb_normalize_request()
4057 start_off = ((loff_t)ac->ac_o_ex.fe_logical >> in ext4_mb_normalize_request()
4061 start_off = ((loff_t)ac->ac_o_ex.fe_logical >> in ext4_mb_normalize_request()
4064 } else if (NRL_CHECK_SIZE(ac->ac_o_ex.fe_len, in ext4_mb_normalize_request()
4066 start_off = ((loff_t)ac->ac_o_ex.fe_logical >> in ext4_mb_normalize_request()
4070 start_off = (loff_t) ac->ac_o_ex.fe_logical << bsbits; in ext4_mb_normalize_request()
4072 ac->ac_o_ex.fe_len) << bsbits; in ext4_mb_normalize_request()
4083 start = max(start, rounddown(ac->ac_o_ex.fe_logical, in ext4_mb_normalize_request()
4120 BUG_ON(!(ac->ac_o_ex.fe_logical >= pa_end || in ext4_mb_normalize_request()
4121 ac->ac_o_ex.fe_logical < pa->pa_lstart)); in ext4_mb_normalize_request()
4131 if (pa_end <= ac->ac_o_ex.fe_logical) { in ext4_mb_normalize_request()
4134 } else if (pa->pa_lstart > ac->ac_o_ex.fe_logical) { in ext4_mb_normalize_request()
4173 if (start + size <= ac->ac_o_ex.fe_logical || in ext4_mb_normalize_request()
4174 start > ac->ac_o_ex.fe_logical) { in ext4_mb_normalize_request()
4178 (unsigned long) ac->ac_o_ex.fe_logical); in ext4_mb_normalize_request()
4217 if (ac->ac_b_ex.fe_len >= ac->ac_o_ex.fe_len) in ext4_mb_collect_stats()
4282 start = pa->pa_pstart + (ac->ac_o_ex.fe_logical - pa->pa_lstart); in ext4_mb_use_inode_pa()
4284 start + EXT4_C2B(sbi, ac->ac_o_ex.fe_len)); in ext4_mb_use_inode_pa()
4306 unsigned int len = ac->ac_o_ex.fe_len; in ext4_mb_use_group_pa()
4377 if (ac->ac_o_ex.fe_logical < pa->pa_lstart || in ext4_mb_use_preallocated()
4378 ac->ac_o_ex.fe_logical >= (pa->pa_lstart + in ext4_mb_use_preallocated()
4410 order = fls(ac->ac_o_ex.fe_len) - 1; in ext4_mb_use_preallocated()
4426 pa->pa_free >= ac->ac_o_ex.fe_len) { in ext4_mb_use_preallocated()
4611 BUG_ON(ac->ac_o_ex.fe_len >= ac->ac_b_ex.fe_len); in ext4_mb_new_inode_pa()
4627 BUG_ON(ac->ac_g_ex.fe_logical > ac->ac_o_ex.fe_logical); in ext4_mb_new_inode_pa()
4628 BUG_ON(ac->ac_g_ex.fe_len < ac->ac_o_ex.fe_len); in ext4_mb_new_inode_pa()
4633 winl = ac->ac_o_ex.fe_logical - ac->ac_g_ex.fe_logical; in ext4_mb_new_inode_pa()
4636 wins = EXT4_C2B(sbi, ac->ac_b_ex.fe_len - ac->ac_o_ex.fe_len); in ext4_mb_new_inode_pa()
4641 offs = ac->ac_o_ex.fe_logical % in ext4_mb_new_inode_pa()
4646 ac->ac_b_ex.fe_logical = ac->ac_o_ex.fe_logical - in ext4_mb_new_inode_pa()
4648 BUG_ON(ac->ac_o_ex.fe_logical < ac->ac_b_ex.fe_logical); in ext4_mb_new_inode_pa()
4649 BUG_ON(ac->ac_o_ex.fe_len > ac->ac_b_ex.fe_len); in ext4_mb_new_inode_pa()
4699 BUG_ON(ac->ac_o_ex.fe_len >= ac->ac_b_ex.fe_len); in ext4_mb_new_group_pa()
5120 (unsigned long)ac->ac_o_ex.fe_group, in ext4_mb_show_ac()
5121 (unsigned long)ac->ac_o_ex.fe_start, in ext4_mb_show_ac()
5122 (unsigned long)ac->ac_o_ex.fe_len, in ext4_mb_show_ac()
5123 (unsigned long)ac->ac_o_ex.fe_logical, in ext4_mb_show_ac()
5170 size = ac->ac_o_ex.fe_logical + EXT4_C2B(sbi, ac->ac_o_ex.fe_len); in ext4_mb_group_or_file()
5238 ac->ac_o_ex.fe_logical = ac->ac_b_ex.fe_logical; in ext4_mb_initialize_context()
5239 ac->ac_o_ex.fe_group = group; in ext4_mb_initialize_context()
5240 ac->ac_o_ex.fe_start = block; in ext4_mb_initialize_context()
5241 ac->ac_o_ex.fe_len = len; in ext4_mb_initialize_context()
5242 ac->ac_g_ex = ac->ac_o_ex; in ext4_mb_initialize_context()
5501 freed = ext4_mb_discard_preallocations(sb, ac->ac_o_ex.fe_len); in ext4_mb_discard_preallocations_should_retry()
5625 ac->ac_o_ex.fe_len >= ac->ac_f_ex.fe_len) in ext4_mb_new_blocks()