Home
last modified time | relevance | path

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

/linux-6.6.21/fs/ext4/
Dmballoc.h134 ext4_grpblk_t pa_free; /* how many blocks are free */ member
Dmballoc.c4665 pa->pa_free += ac->ac_b_ex.fe_len; in ext4_discard_allocated_blocks()
4694 BUG_ON(pa->pa_free < len); in ext4_mb_use_inode_pa()
4696 pa->pa_free -= len; in ext4_mb_use_inode_pa()
4909 if (tmp_pa->pa_free && likely(ext4_mb_pa_goal_check(ac, tmp_pa))) { in ext4_mb_use_preallocated()
4943 WARN_ON_ONCE(tmp_pa->pa_free == 0); in ext4_mb_use_preallocated()
4973 tmp_pa->pa_free >= ac->ac_o_ex.fe_len) { in ext4_mb_use_preallocated()
5082 if (!atomic_dec_and_test(&pa->pa_count) || pa->pa_free != 0) { in ext4_mb_put_pa()
5227 pa->pa_free = pa->pa_len; in ext4_mb_new_inode_pa()
5237 atomic_add(pa->pa_free, &sbi->s_mb_preallocated); in ext4_mb_new_inode_pa()
5278 pa->pa_free = pa->pa_len; in ext4_mb_new_group_pa()
[all …]