/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 | 86 unsigned long freed = 0; in f2fs_shrink_scan() local 109 freed += f2fs_shrink_age_extent_tree(sbi, nr >> 2); in f2fs_shrink_scan() 112 freed += f2fs_shrink_read_extent_tree(sbi, nr >> 2); in f2fs_shrink_scan() 115 if (freed < nr) in f2fs_shrink_scan() 116 freed += f2fs_try_to_free_nats(sbi, nr - freed); in f2fs_shrink_scan() 119 if (freed < nr) in f2fs_shrink_scan() 120 freed += f2fs_try_to_free_nids(sbi, nr - freed); in f2fs_shrink_scan() 126 if (freed >= nr) in f2fs_shrink_scan() 130 return freed; in f2fs_shrink_scan()
|
D | segment.h | 611 int freed, int needed) in has_not_enough_free_secs() argument 626 free = free_sections(sbi) + freed; in has_not_enough_free_secs()
|
D | node.c | 963 int freed = 0; in truncate_nodes() local 981 for (i = ofs; i < NIDS_PER_BLOCK; i++, freed++) { in truncate_nodes() 1010 freed = child_nofs; in truncate_nodes() 1019 freed++; in truncate_nodes() 1023 trace_f2fs_truncate_nodes_exit(dn->inode, freed); in truncate_nodes() 1024 return freed; in truncate_nodes()
|
/fs/erofs/ |
D | utils.c | 157 unsigned int freed = 0; in erofs_shrink_workstation() local 167 ++freed; in erofs_shrink_workstation() 169 return freed; in erofs_shrink_workstation() 173 return freed; in erofs_shrink_workstation() 222 unsigned long freed = 0; in erofs_shrink_scan() local 249 freed += erofs_shrink_workstation(sbi, nr - freed); in erofs_shrink_scan() 262 if (freed >= nr) in erofs_shrink_scan() 266 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/nfs/ |
D | nfs42xattr.c | 862 unsigned long freed; in nfs4_xattr_cache_scan() local 865 freed = list_lru_shrink_walk(&nfs4_xattr_cache_lru, sc, in nfs4_xattr_cache_scan() 875 return freed; in nfs4_xattr_cache_scan() 943 unsigned long freed; in nfs4_xattr_entry_scan() local 950 freed = list_lru_shrink_walk(lru, sc, entry_lru_isolate, &dispose); in nfs4_xattr_entry_scan() 966 return freed; in nfs4_xattr_entry_scan()
|
D | dir.c | 2361 long freed = 0; in nfs_do_access_cache_scan() local 2377 freed++; in nfs_do_access_cache_scan() 2392 return freed; in nfs_do_access_cache_scan()
|
/fs/xfs/ |
D | xfs_buf_item.c | 407 int freed; in xfs_buf_item_unpin() local 423 freed = atomic_dec_and_test(&bip->bli_refcount); in xfs_buf_item_unpin() 424 if (freed && !stale && remove) in xfs_buf_item_unpin() 430 if (!freed) in xfs_buf_item_unpin()
|
D | xfs_qm.c | 506 unsigned long freed; in xfs_qm_shrink_scan() local 515 freed = list_lru_shrink_walk(&qi->qi_lru, sc, in xfs_qm_shrink_scan() 530 return freed; in xfs_qm_shrink_scan()
|
D | xfs_buf.c | 1917 unsigned long freed; in xfs_buftarg_shrink_scan() local 1919 freed = list_lru_shrink_walk(&btp->bt_lru, sc, in xfs_buftarg_shrink_scan() 1929 return freed; in xfs_buftarg_shrink_scan()
|
/fs/ext2/ |
D | balloc.c | 489 unsigned freed = 0, group_freed; in ext2_free_blocks() local 551 freed += group_freed; in ext2_free_blocks() 560 if (freed) { in ext2_free_blocks() 561 percpu_counter_add(&sbi->s_freeblocks_counter, freed); in ext2_free_blocks() 562 dquot_free_block_nodirty(inode, freed); in ext2_free_blocks()
|
/fs/ceph/ |
D | dir.c | 1366 unsigned long freed = 0; in __dentry_leases_walk() local 1435 freed++; in __dentry_leases_walk() 1442 return freed; in __dentry_leases_walk() 1489 unsigned long freed; in ceph_trim_dentries() local 1501 freed = __dentry_leases_walk(mdsc, &lwc, __dentry_lease_check); in ceph_trim_dentries() 1509 lwc.expire_dir_lease = freed < count; in ceph_trim_dentries() 1511 freed +=__dentry_leases_walk(mdsc, &lwc, __dir_lease_check); in ceph_trim_dentries() 1515 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 | 803 long freed; in prune_icache_sb() local 805 freed = list_lru_shrink_walk(&sb->s_inode_lru, sc, in prune_icache_sb() 808 return freed; in prune_icache_sb()
|
D | dcache.c | 1219 long freed; in prune_dcache_sb() local 1221 freed = list_lru_shrink_walk(&sb->s_dentry_lru, sc, in prune_dcache_sb() 1224 return freed; in prune_dcache_sb()
|
/fs/jbd2/ |
D | journal.c | 1112 unsigned long freed; in __jbd2_update_log_tail() local 1129 freed = block - journal->j_tail; in __jbd2_update_log_tail() 1131 freed += journal->j_last - journal->j_first; in __jbd2_update_log_tail() 1133 trace_jbd2_update_log_tail(journal, tid, block, freed); in __jbd2_update_log_tail() 1137 journal->j_tail_sequence, tid, block, freed); in __jbd2_update_log_tail() 1139 journal->j_free += freed; in __jbd2_update_log_tail()
|
D | commit.c | 811 long freed = first_block - journal->j_tail; in jbd2_journal_commit_transaction() local 814 freed += journal->j_last - journal->j_first; in jbd2_journal_commit_transaction() 816 if (freed < jbd2_journal_get_max_txn_bufs(journal)) 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 | 486 int i, freed = 0; in remove_inode_hugepages() local 549 freed++; in remove_inode_hugepages() 565 (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 | 1823 long freed = 0; in gfs2_scan_glock_lru() local 1833 freed++; in gfs2_scan_glock_lru() 1844 return freed; in gfs2_scan_glock_lru()
|
/fs/ext4/ |
D | mballoc.c | 5031 int freed = 0, busy = 0; in ext4_mb_discard_preallocations() local 5041 freed += ret; in ext4_mb_discard_preallocations() 5051 return freed; in ext4_mb_discard_preallocations() 5057 int freed; in ext4_mb_discard_preallocations_should_retry() local 5061 freed = ext4_mb_discard_preallocations(sb, ac->ac_o_ex.fe_len); in ext4_mb_discard_preallocations_should_retry() 5062 if (freed) { in ext4_mb_discard_preallocations_should_retry() 5074 mb_debug(sb, "freed %d, retry ? %s\n", freed, ret ? "yes" : "no"); in ext4_mb_discard_preallocations_should_retry()
|
/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
|