/fs/ubifs/ |
D | shrinker.c | 83 int freed; in shrink_tnc() local 116 freed = ubifs_destroy_tnc_subtree(c, znode); in shrink_tnc() 117 atomic_long_sub(freed, &ubifs_clean_zn_cnt); in shrink_tnc() 118 atomic_long_sub(freed, &c->clean_zn_cnt); in shrink_tnc() 119 total_freed += freed; in shrink_tnc() 149 int freed = 0; in shrink_tnc_trees() local 187 freed += shrink_tnc(c, nr, age, contention); in shrink_tnc_trees() 198 if (freed >= nr) in shrink_tnc_trees() 202 return freed; in shrink_tnc_trees() 284 unsigned long freed; in ubifs_shrink_scan() local [all …]
|
/fs/f2fs/ |
D | shrinker.c | 82 unsigned long freed = 0; in f2fs_shrink_scan() local 105 freed += f2fs_shrink_extent_tree(sbi, nr >> 1); in f2fs_shrink_scan() 108 if (freed < nr) in f2fs_shrink_scan() 109 freed += f2fs_try_to_free_nats(sbi, nr - freed); in f2fs_shrink_scan() 112 if (freed < nr) in f2fs_shrink_scan() 113 freed += f2fs_try_to_free_nids(sbi, nr - freed); in f2fs_shrink_scan() 119 if (freed >= nr) in f2fs_shrink_scan() 123 return freed; in f2fs_shrink_scan()
|
D | segment.h | 574 int freed, int needed) in has_not_enough_free_secs() argument 583 if (free_sections(sbi) + freed == reserved_sections(sbi) + needed && in has_not_enough_free_secs() 586 return (free_sections(sbi) + freed) <= in has_not_enough_free_secs()
|
D | node.c | 902 int freed = 0; in truncate_nodes() local 920 for (i = ofs; i < NIDS_PER_BLOCK; i++, freed++) { in truncate_nodes() 949 freed = child_nofs; in truncate_nodes() 958 freed++; in truncate_nodes() 962 trace_f2fs_truncate_nodes_exit(dn->inode, freed); in truncate_nodes() 963 return freed; in truncate_nodes()
|
D | gc.c | 1203 goto freed; in do_garbage_collect() 1235 freed: in do_garbage_collect()
|
/fs/erofs/ |
D | utils.c | 196 unsigned int freed = 0; in erofs_shrink_workstation() local 214 ++freed; in erofs_shrink_workstation() 222 return freed; in erofs_shrink_workstation() 270 unsigned long freed = 0; in erofs_shrink_scan() local 297 freed += erofs_shrink_workstation(sbi, nr, false); in erofs_shrink_scan() 310 if (freed >= nr) in erofs_shrink_scan() 314 return freed; in erofs_shrink_scan()
|
/fs/nfsd/ |
D | nfscache.c | 231 long freed = 0; in prune_bucket() local 244 freed++; in prune_bucket() 246 return freed; in prune_bucket() 257 long freed = 0; in prune_cache_entries() local 265 freed += prune_bucket(b, nn); in prune_cache_entries() 268 return freed; in prune_cache_entries()
|
/fs/ext2/ |
D | balloc.c | 491 unsigned freed = 0, group_freed; in ext2_free_blocks() local 553 freed += group_freed; in ext2_free_blocks() 562 if (freed) { in ext2_free_blocks() 563 percpu_counter_add(&sbi->s_freeblocks_counter, freed); in ext2_free_blocks() 564 dquot_free_block_nodirty(inode, freed); in ext2_free_blocks()
|
/fs/xfs/ |
D | xfs_buf_item.c | 398 int freed; in xfs_buf_item_unpin() local 405 freed = atomic_dec_and_test(&bip->bli_refcount); in xfs_buf_item_unpin() 410 if (freed && stale) { in xfs_buf_item_unpin() 455 } else if (freed && remove) { in xfs_buf_item_unpin()
|
D | xfs_buf.c | 1672 unsigned long freed; in xfs_buftarg_shrink_scan() local 1674 freed = list_lru_shrink_walk(&btp->bt_lru, sc, in xfs_buftarg_shrink_scan() 1684 return freed; in xfs_buftarg_shrink_scan()
|
D | xfs_qm.c | 502 unsigned long freed; in xfs_qm_shrink_scan() local 511 freed = list_lru_shrink_walk(&qi->qi_lru, sc, in xfs_qm_shrink_scan() 526 return freed; in xfs_qm_shrink_scan()
|
/fs/ceph/ |
D | dir.c | 1253 unsigned long freed = 0; in __dentry_leases_walk() local 1322 freed++; in __dentry_leases_walk() 1329 return freed; in __dentry_leases_walk() 1376 unsigned long freed; in ceph_trim_dentries() local 1388 freed = __dentry_leases_walk(mdsc, &lwc, __dentry_lease_check); in ceph_trim_dentries() 1396 lwc.expire_dir_lease = freed < count; in ceph_trim_dentries() 1398 freed +=__dentry_leases_walk(mdsc, &lwc, __dir_lease_check); in ceph_trim_dentries() 1402 return freed > 0 ? 1 : 0; in ceph_trim_dentries()
|
/fs/ |
D | super.c | 67 long freed = 0; in super_cache_scan() local 105 freed = prune_dcache_sb(sb, sc); in super_cache_scan() 107 freed += prune_icache_sb(sb, sc); in super_cache_scan() 111 freed += sb->s_op->free_cached_objects(sb, sc); in super_cache_scan() 115 return freed; in super_cache_scan()
|
D | inode.c | 800 long freed; in prune_icache_sb() local 802 freed = list_lru_shrink_walk(&sb->s_inode_lru, sc, in prune_icache_sb() 805 return freed; in prune_icache_sb()
|
D | dcache.c | 1197 long freed; in prune_dcache_sb() local 1199 freed = list_lru_shrink_walk(&sb->s_dentry_lru, sc, in prune_dcache_sb() 1202 return freed; in prune_dcache_sb()
|
/fs/jbd2/ |
D | journal.c | 921 unsigned long freed; in __jbd2_update_log_tail() local 938 freed = block - journal->j_tail; in __jbd2_update_log_tail() 940 freed += journal->j_last - journal->j_first; in __jbd2_update_log_tail() 942 trace_jbd2_update_log_tail(journal, tid, block, freed); in __jbd2_update_log_tail() 946 journal->j_tail_sequence, tid, block, freed); in __jbd2_update_log_tail() 948 journal->j_free += freed; in __jbd2_update_log_tail()
|
D | commit.c | 760 long freed = first_block - journal->j_tail; in jbd2_journal_commit_transaction() local 763 freed += journal->j_last - journal->j_first; in jbd2_journal_commit_transaction() 765 if (freed < journal->j_maxlen / 4) in jbd2_journal_commit_transaction()
|
/fs/ocfs2/dlm/ |
D | dlmrecovery.c | 2265 unsigned int freed = 0; in dlm_free_dead_locks() local 2284 freed++; in dlm_free_dead_locks() 2293 freed++; in dlm_free_dead_locks() 2302 freed++; in dlm_free_dead_locks() 2306 if (freed) { in dlm_free_dead_locks() 2309 res->lockname.len, res->lockname.name, freed, dead_node); in dlm_free_dead_locks() 2313 res->lockname.len, res->lockname.name, freed, dead_node); in dlm_free_dead_locks()
|
/fs/hugetlbfs/ |
D | inode.c | 424 int i, freed = 0; in remove_inode_hugepages() local 477 freed++; in remove_inode_hugepages() 492 (void)hugetlb_unreserve_pages(inode, start, LONG_MAX, freed); in remove_inode_hugepages()
|
/fs/gfs2/ |
D | quota.c | 167 unsigned long freed; in gfs2_qd_shrink_scan() local 172 freed = list_lru_shrink_walk(&gfs2_qd_lru, sc, in gfs2_qd_shrink_scan() 177 return freed; in gfs2_qd_shrink_scan()
|
D | glock.c | 1589 long freed = 0; in gfs2_scan_glock_lru() local 1600 freed++; in gfs2_scan_glock_lru() 1611 return freed; in gfs2_scan_glock_lru()
|
/fs/jfs/ |
D | jfs_xtree.c | 3168 int freed, log; in xtTruncate() local 3262 freed = 0; in xtTruncate() 3410 freed = 1; in xtTruncate() 3479 if (freed == 0) { in xtTruncate()
|
/fs/jffs2/ |
D | README.Locking | 15 obtained during space allocations (jffs2_reserve_space()) and freed
|
/fs/nfs/ |
D | dir.c | 2176 long freed = 0; in nfs_do_access_cache_scan() local 2192 freed++; in nfs_do_access_cache_scan() 2207 return freed; in nfs_do_access_cache_scan()
|
/fs/ext4/ |
D | mballoc.c | 4446 int freed = 0; in ext4_mb_discard_preallocations() local 4451 freed += ret; in ext4_mb_discard_preallocations() 4455 return freed; in ext4_mb_discard_preallocations() 4466 int freed; in ext4_mb_new_blocks() local 4565 freed = ext4_mb_discard_preallocations(sb, ac->ac_o_ex.fe_len); in ext4_mb_new_blocks() 4566 if (freed) in ext4_mb_new_blocks()
|