Lines Matching refs:pa_free
3803 pa->pa_free += ac->ac_b_ex.fe_len; in ext4_discard_allocated_blocks()
3830 BUG_ON(pa->pa_free < len); in ext4_mb_use_inode_pa()
3832 pa->pa_free -= len; in ext4_mb_use_inode_pa()
3926 if (pa->pa_deleted == 0 && pa->pa_free) { in ext4_mb_use_preallocated()
3962 pa->pa_free >= ac->ac_o_ex.fe_len) { in ext4_mb_use_preallocated()
4091 if (!atomic_dec_and_test(&pa->pa_count) || pa->pa_free != 0) { in ext4_mb_put_pa()
4209 pa->pa_free = pa->pa_len; in ext4_mb_new_inode_pa()
4221 atomic_add(pa->pa_free, &sbi->s_mb_preallocated); in ext4_mb_new_inode_pa()
4265 pa->pa_free = pa->pa_len; in ext4_mb_new_group_pa()
4277 atomic_add(pa->pa_free, &EXT4_SB(sb)->s_mb_preallocated); in ext4_mb_new_group_pa()
4348 if (free != pa->pa_free) { in ext4_mb_release_inode_pa()
4355 free, pa->pa_free); in ext4_mb_release_inode_pa()
4455 free += pa->pa_free; in ext4_mb_discard_group_preallocations()
4913 order = fls(pa->pa_free) - 1; in ext4_mb_add_n_trim()
4927 if (!added && pa->pa_free < tmp_pa->pa_free) { in ext4_mb_add_n_trim()
4986 pa->pa_free -= ac->ac_b_ex.fe_len; in ext4_mb_release_context()
4996 if (likely(pa->pa_free)) { in ext4_mb_release_context()