/fs/ubifs/ |
D | shrinker.c | 95 int freed; in shrink_tnc() local 128 freed = ubifs_destroy_tnc_subtree(znode); in shrink_tnc() 129 atomic_long_sub(freed, &ubifs_clean_zn_cnt); in shrink_tnc() 130 atomic_long_sub(freed, &c->clean_zn_cnt); in shrink_tnc() 131 total_freed += freed; in shrink_tnc() 161 int freed = 0; in shrink_tnc_trees() local 199 freed += shrink_tnc(c, nr, age, contention); in shrink_tnc_trees() 210 if (freed >= nr) in shrink_tnc_trees() 214 return freed; in shrink_tnc_trees() 296 unsigned long freed; in ubifs_shrink_scan() local [all …]
|
D | tnc.c | 2882 long n, freed; in ubifs_tnc_close() local 2885 freed = ubifs_destroy_tnc_subtree(c->zroot.znode); in ubifs_tnc_close() 2886 ubifs_assert(freed == n); in ubifs_tnc_close()
|
/fs/f2fs/ |
D | shrinker.c | 85 unsigned long freed = 0; in f2fs_shrink_scan() local 108 freed += f2fs_shrink_extent_tree(sbi, nr >> 1); in f2fs_shrink_scan() 111 if (freed < nr) in f2fs_shrink_scan() 112 freed += try_to_free_nats(sbi, nr - freed); in f2fs_shrink_scan() 115 if (freed < nr) in f2fs_shrink_scan() 116 freed += try_to_free_nids(sbi, nr - freed); in f2fs_shrink_scan() 122 if (freed >= nr) in f2fs_shrink_scan() 126 return freed; in f2fs_shrink_scan()
|
D | segment.h | 559 int freed, int needed) in has_not_enough_free_secs() argument 568 if (free_sections(sbi) + freed == reserved_sections(sbi) + needed && in has_not_enough_free_secs() 571 return (free_sections(sbi) + freed) <= in has_not_enough_free_secs()
|
D | node.c | 778 int freed = 0; in truncate_nodes() local 796 for (i = ofs; i < NIDS_PER_BLOCK; i++, freed++) { in truncate_nodes() 825 freed = child_nofs; in truncate_nodes() 832 freed++; in truncate_nodes() 836 trace_f2fs_truncate_nodes_exit(dn->inode, freed); in truncate_nodes() 837 return freed; in truncate_nodes()
|
/fs/nfsd/ |
D | nfscache.c | 230 long freed = 0; in prune_bucket() local 243 freed++; in prune_bucket() 245 return freed; in prune_bucket() 256 long freed = 0; in prune_cache_entries() local 264 freed += prune_bucket(b); in prune_cache_entries() 267 return freed; in prune_cache_entries()
|
/fs/ext2/ |
D | balloc.c | 489 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 | 412 int freed; in xfs_buf_item_unpin() local 419 freed = atomic_dec_and_test(&bip->bli_refcount); in xfs_buf_item_unpin() 424 if (freed && stale) { in xfs_buf_item_unpin() 468 } else if (freed && remove) { in xfs_buf_item_unpin()
|
D | xfs_trans_buf.c | 359 int freed; in xfs_trans_brelse() local 423 freed = atomic_dec_and_test(&bip->bli_refcount); in xfs_trans_brelse() 435 if (XFS_FORCED_SHUTDOWN(tp->t_mountp) && freed) { in xfs_trans_brelse()
|
D | xfs_qm.c | 528 unsigned long freed; in xfs_qm_shrink_scan() local 537 freed = list_lru_shrink_walk(&qi->qi_lru, sc, in xfs_qm_shrink_scan() 552 return freed; in xfs_qm_shrink_scan()
|
D | xfs_buf.c | 1696 unsigned long freed; in xfs_buftarg_shrink_scan() local 1698 freed = list_lru_shrink_walk(&btp->bt_lru, sc, in xfs_buftarg_shrink_scan() 1708 return freed; in xfs_buftarg_shrink_scan()
|
/fs/ |
D | super.c | 62 long freed = 0; in super_cache_scan() local 100 freed = prune_dcache_sb(sb, sc); in super_cache_scan() 102 freed += prune_icache_sb(sb, sc); in super_cache_scan() 106 freed += sb->s_op->free_cached_objects(sb, sc); in super_cache_scan() 110 return freed; in super_cache_scan()
|
D | dcache.c | 1131 long freed; in prune_dcache_sb() local 1133 freed = list_lru_shrink_walk(&sb->s_dentry_lru, sc, in prune_dcache_sb() 1136 return freed; in prune_dcache_sb() 1169 long freed; in shrink_dcache_sb() local 1174 freed = list_lru_walk(&sb->s_dentry_lru, in shrink_dcache_sb() 1177 this_cpu_sub(nr_dentry_unused, freed); in shrink_dcache_sb()
|
D | inode.c | 772 long freed; in prune_icache_sb() local 774 freed = list_lru_shrink_walk(&sb->s_inode_lru, sc, in prune_icache_sb() 777 return freed; in prune_icache_sb()
|
/fs/jbd2/ |
D | journal.c | 918 unsigned long freed; in __jbd2_update_log_tail() local 934 freed = block - journal->j_tail; in __jbd2_update_log_tail() 936 freed += journal->j_last - journal->j_first; in __jbd2_update_log_tail() 938 trace_jbd2_update_log_tail(journal, tid, block, freed); in __jbd2_update_log_tail() 942 journal->j_tail_sequence, tid, block, freed); in __jbd2_update_log_tail() 944 journal->j_free += freed; in __jbd2_update_log_tail()
|
D | commit.c | 754 long freed = first_block - journal->j_tail; in jbd2_journal_commit_transaction() local 757 freed += journal->j_last - journal->j_first; in jbd2_journal_commit_transaction() 759 if (freed < journal->j_maxlen / 4) in jbd2_journal_commit_transaction()
|
/fs/ocfs2/dlm/ |
D | dlmrecovery.c | 2270 unsigned int freed = 0; in dlm_free_dead_locks() local 2289 freed++; in dlm_free_dead_locks() 2298 freed++; in dlm_free_dead_locks() 2307 freed++; in dlm_free_dead_locks() 2311 if (freed) { in dlm_free_dead_locks() 2314 res->lockname.len, res->lockname.name, freed, dead_node); in dlm_free_dead_locks() 2318 res->lockname.len, res->lockname.name, freed, dead_node); in dlm_free_dead_locks()
|
/fs/hugetlbfs/ |
D | inode.c | 396 int i, freed = 0; in remove_inode_hugepages() local 466 freed++; in remove_inode_hugepages() 482 (void)hugetlb_unreserve_pages(inode, start, LONG_MAX, freed); in remove_inode_hugepages()
|
/fs/gfs2/ |
D | quota.c | 170 unsigned long freed; in gfs2_qd_shrink_scan() local 175 freed = list_lru_shrink_walk(&gfs2_qd_lru, sc, in gfs2_qd_shrink_scan() 180 return freed; in gfs2_qd_shrink_scan()
|
D | glock.c | 1385 long freed = 0; in gfs2_scan_glock_lru() local 1395 freed++; in gfs2_scan_glock_lru() 1406 return freed; in gfs2_scan_glock_lru()
|
/fs/jfs/ |
D | jfs_xtree.c | 3181 int freed, log; in xtTruncate() local 3275 freed = 0; in xtTruncate() 3423 freed = 1; in xtTruncate() 3492 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 | 2147 long freed = 0; in nfs_do_access_cache_scan() local 2163 freed++; in nfs_do_access_cache_scan() 2178 return freed; in nfs_do_access_cache_scan()
|
/fs/ext4/ |
D | mballoc.c | 4423 int freed = 0; in ext4_mb_discard_preallocations() local 4428 freed += ret; in ext4_mb_discard_preallocations() 4432 return freed; in ext4_mb_discard_preallocations() 4443 int freed; in ext4_mb_new_blocks() local 4542 freed = ext4_mb_discard_preallocations(sb, ac->ac_o_ex.fe_len); in ext4_mb_new_blocks() 4543 if (freed) in ext4_mb_new_blocks()
|
/fs/quota/ |
D | dquot.c | 707 unsigned long freed = 0; in dqcache_shrink_scan() local 718 freed++; in dqcache_shrink_scan() 722 return freed; in dqcache_shrink_scan()
|