Lines Matching refs:pa_len
695 for (i = 0; i < pa->pa_len; i++) in __mb_check_buddy()
3589 pa->pa_len); in ext4_mb_normalize_request()
3623 pa->pa_len); in ext4_mb_normalize_request()
3739 end = min(pa->pa_pstart + EXT4_C2B(sbi, pa->pa_len), in ext4_mb_use_inode_pa()
3749 BUG_ON(end > pa->pa_pstart + EXT4_C2B(sbi, pa->pa_len)); in ext4_mb_use_inode_pa()
3835 EXT4_C2B(sbi, pa->pa_len))) in ext4_mb_use_preallocated()
3840 (pa->pa_pstart + EXT4_C2B(sbi, pa->pa_len) > in ext4_mb_use_preallocated()
3958 len = pa->pa_len; in ext4_mb_generate_from_pa()
3977 pa->pa_len); in ext4_mb_mark_pa_deleted()
4119 pa->pa_len = ac->ac_b_ex.fe_len; in ext4_mb_new_inode_pa()
4120 pa->pa_free = pa->pa_len; in ext4_mb_new_inode_pa()
4128 pa->pa_len, pa->pa_lstart); in ext4_mb_new_inode_pa()
4175 pa->pa_len = ac->ac_b_ex.fe_len; in ext4_mb_new_group_pa()
4176 pa->pa_free = pa->pa_len; in ext4_mb_new_group_pa()
4184 pa->pa_len, pa->pa_lstart); in ext4_mb_new_group_pa()
4239 BUG_ON(group != e4b->bd_group && pa->pa_len != 0); in ext4_mb_release_inode_pa()
4240 end = bit + pa->pa_len; in ext4_mb_release_inode_pa()
4264 pa->pa_len); in ext4_mb_release_inode_pa()
4288 BUG_ON(group != e4b->bd_group && pa->pa_len != 0); in ext4_mb_release_group_pa()
4289 mb_free_blocks(pa->pa_inode, e4b, bit, pa->pa_len); in ext4_mb_release_group_pa()
4290 atomic_add(pa->pa_len, &EXT4_SB(sb)->s_mb_discarded); in ext4_mb_release_group_pa()
4291 trace_ext4_mballoc_discard(sb, NULL, group, bit, pa->pa_len); in ext4_mb_release_group_pa()
4568 pa->pa_len); in ext4_mb_show_pa()
4894 pa->pa_len -= ac->ac_b_ex.fe_len; in ext4_mb_release_context()