Home
last modified time | relevance | path

Searched refs:pa_free (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/ext4/
H A Dmballoc.h134 ext4_grpblk_t pa_free; /* how many blocks are free */ member
H A Dmballoc.c4669 pa->pa_free += ac->ac_b_ex.fe_len; in ext4_discard_allocated_blocks()
4698 BUG_ON(pa->pa_free < len); in ext4_mb_use_inode_pa()
4700 pa->pa_free -= len; in ext4_mb_use_inode_pa()
4913 if (tmp_pa->pa_free && likely(ext4_mb_pa_goal_check(ac, tmp_pa))) { in ext4_mb_use_preallocated()
4947 WARN_ON_ONCE(tmp_pa->pa_free == 0); in ext4_mb_use_preallocated()
4977 tmp_pa->pa_free >= ac->ac_o_ex.fe_len) { in ext4_mb_use_preallocated()
5086 if (!atomic_dec_and_test(&pa->pa_count) || pa->pa_free != 0) { in ext4_mb_put_pa()
5236 pa->pa_free = pa->pa_len; in ext4_mb_new_inode_pa()
5246 atomic_add(pa->pa_free, &sbi->s_mb_preallocated); in ext4_mb_new_inode_pa()
5287 pa->pa_free = pa->pa_len; in ext4_mb_new_group_pa()
[all …]