• Home
  • Raw
  • Download

Lines Matching refs:free

1075 	unsigned free = 0;  in ext4_mb_generate_buddy()  local
1088 free += len; in ext4_mb_generate_buddy()
1098 if (free != grp->bb_free) { in ext4_mb_generate_buddy()
1102 free, grp->bb_free); in ext4_mb_generate_buddy()
1107 grp->bb_free = free; in ext4_mb_generate_buddy()
2324 int free; in ext4_mb_complex_scan_group() local
2326 free = e4b->bd_info->bb_free; in ext4_mb_complex_scan_group()
2327 if (WARN_ON(free <= 0)) in ext4_mb_complex_scan_group()
2332 while (free && ac->ac_status == AC_STATUS_CONTINUE) { in ext4_mb_complex_scan_group()
2344 free); in ext4_mb_complex_scan_group()
2353 if (free < ex.fe_len) { in ext4_mb_complex_scan_group()
2357 free, ex.fe_len); in ext4_mb_complex_scan_group()
2371 free -= ex.fe_len; in ext4_mb_complex_scan_group()
2426 ext4_grpblk_t free, fragments; in ext4_mb_good_group() local
2435 free = grp->bb_free; in ext4_mb_good_group()
2436 if (free == 0) in ext4_mb_good_group()
2453 if (free < ac->ac_g_ex.fe_len) in ext4_mb_good_group()
2464 if ((free / fragments) >= ac->ac_g_ex.fe_len) in ext4_mb_good_group()
2468 if (free >= ac->ac_g_ex.fe_len) in ext4_mb_good_group()
2498 ext4_grpblk_t free; in ext4_mb_good_group_nolock() local
2509 free = grp->bb_free; in ext4_mb_good_group_nolock()
2510 if (free == 0) in ext4_mb_good_group_nolock()
2512 if (cr <= 2 && free < ac->ac_g_ex.fe_len) in ext4_mb_good_group_nolock()
4845 int free = 0; in ext4_mb_release_inode_pa() local
4861 free += next - bit; in ext4_mb_release_inode_pa()
4870 if (free != pa->pa_free) { in ext4_mb_release_inode_pa()
4877 free, pa->pa_free); in ext4_mb_release_inode_pa()
4883 atomic_add(free, &sbi->s_mb_discarded); in ext4_mb_release_inode_pa()
4930 int free = 0; in ext4_mb_discard_group_preallocations() local
4973 if (!free) in ext4_mb_discard_group_preallocations()
4977 free += pa->pa_free; in ext4_mb_discard_group_preallocations()
5007 free, group, grp->bb_free); in ext4_mb_discard_group_preallocations()
5008 return free; in ext4_mb_discard_group_preallocations()