Lines Matching refs:pa_free
3697 pa->pa_free += ac->ac_b_ex.fe_len; in ext4_discard_allocated_blocks()
3724 BUG_ON(pa->pa_free < len); in ext4_mb_use_inode_pa()
3725 pa->pa_free -= len; in ext4_mb_use_inode_pa()
3820 if (pa->pa_deleted == 0 && pa->pa_free) { in ext4_mb_use_preallocated()
3856 pa->pa_free >= ac->ac_o_ex.fe_len) { in ext4_mb_use_preallocated()
3980 if (!atomic_dec_and_test(&pa->pa_count) || pa->pa_free != 0) { in ext4_mb_put_pa()
4089 pa->pa_free = pa->pa_len; in ext4_mb_new_inode_pa()
4101 atomic_add(pa->pa_free, &sbi->s_mb_preallocated); in ext4_mb_new_inode_pa()
4143 pa->pa_free = pa->pa_len; in ext4_mb_new_group_pa()
4155 atomic_add(pa->pa_free, &EXT4_SB(sb)->s_mb_preallocated); in ext4_mb_new_group_pa()
4224 if (free != pa->pa_free) { in ext4_mb_release_inode_pa()
4231 free, pa->pa_free); in ext4_mb_release_inode_pa()
4325 free += pa->pa_free; in ext4_mb_discard_group_preallocations()
4780 order = fls(pa->pa_free) - 1; in ext4_mb_add_n_trim()
4794 if (!added && pa->pa_free < tmp_pa->pa_free) { in ext4_mb_add_n_trim()
4853 pa->pa_free -= ac->ac_b_ex.fe_len; in ext4_mb_release_context()
4863 if (likely(pa->pa_free)) { in ext4_mb_release_context()