Lines Matching refs:pa_len
767 for (i = 0; i < pa->pa_len; i++) in __mb_check_buddy()
4683 end = min(pa->pa_pstart + EXT4_C2B(sbi, pa->pa_len), in ext4_mb_use_inode_pa()
4693 BUG_ON(end > pa->pa_pstart + EXT4_C2B(sbi, pa->pa_len)); in ext4_mb_use_inode_pa()
4779 if (ac->ac_g_ex.fe_len > pa->pa_len - in ext4_mb_pa_goal_check()
4899 (tmp_pa->pa_pstart + EXT4_C2B(sbi, tmp_pa->pa_len) > in ext4_mb_use_preallocated()
5022 len = pa->pa_len; in ext4_mb_generate_from_pa()
5041 pa->pa_len); in ext4_mb_mark_pa_deleted()
5226 pa->pa_len = ac->ac_b_ex.fe_len; in ext4_mb_new_inode_pa()
5227 pa->pa_free = pa->pa_len; in ext4_mb_new_inode_pa()
5234 pa->pa_len, pa->pa_lstart); in ext4_mb_new_inode_pa()
5277 pa->pa_len = ac->ac_b_ex.fe_len; in ext4_mb_new_group_pa()
5278 pa->pa_free = pa->pa_len; in ext4_mb_new_group_pa()
5286 pa->pa_len, pa->pa_lstart); in ext4_mb_new_group_pa()
5341 BUG_ON(group != e4b->bd_group && pa->pa_len != 0); in ext4_mb_release_inode_pa()
5342 end = bit + pa->pa_len; in ext4_mb_release_inode_pa()
5366 pa->pa_len); in ext4_mb_release_inode_pa()
5390 if (unlikely(group != e4b->bd_group && pa->pa_len != 0)) { in ext4_mb_release_group_pa()
5395 mb_free_blocks(pa->pa_inode, e4b, bit, pa->pa_len); in ext4_mb_release_group_pa()
5396 atomic_add(pa->pa_len, &EXT4_SB(sb)->s_mb_discarded); in ext4_mb_release_group_pa()
5397 trace_ext4_mballoc_discard(sb, NULL, group, bit, pa->pa_len); in ext4_mb_release_group_pa()
5689 pa->pa_len); in ext4_mb_show_pa()
5995 pa->pa_len -= ac->ac_b_ex.fe_len; in ext4_mb_release_context()