Home
last modified time | relevance | path

Searched refs:freed (Results 1 – 16 of 16) sorted by relevance

/fs/ubifs/
Dshrinker.c95 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()
132 total_freed += freed; in shrink_tnc()
162 int freed = 0; in shrink_tnc_trees() local
200 freed += shrink_tnc(c, nr, age, contention); in shrink_tnc_trees()
211 if (freed >= nr) in shrink_tnc_trees()
215 return freed; in shrink_tnc_trees()
283 int freed, contention = 0; in ubifs_shrinker() local
[all …]
/fs/jbd/
Dcheckpoint.c468 unsigned int blocknr, freed; in cleanup_journal_tail() local
527 freed = blocknr - journal->j_tail; in cleanup_journal_tail()
529 freed = freed + journal->j_last - journal->j_first; in cleanup_journal_tail()
531 trace_jbd_cleanup_journal_tail(journal, first_tid, blocknr, freed); in cleanup_journal_tail()
535 journal->j_tail_sequence, first_tid, blocknr, freed); in cleanup_journal_tail()
537 journal->j_free += freed; in cleanup_journal_tail()
561 int ret, freed = 0; in journal_clean_one_cp_list() local
575 freed++; in journal_clean_one_cp_list()
578 return freed; in journal_clean_one_cp_list()
589 return freed; in journal_clean_one_cp_list()
[all …]
/fs/jbd2/
Dcheckpoint.c431 int freed = 0; in journal_clean_one_cp_list() local
442 return freed; in journal_clean_one_cp_list()
445 freed = 1; in journal_clean_one_cp_list()
453 return freed; in journal_clean_one_cp_list()
456 return freed; in journal_clean_one_cp_list()
Djournal.c890 unsigned long freed; in __jbd2_update_log_tail() local
902 freed = block - journal->j_tail; in __jbd2_update_log_tail()
904 freed += journal->j_last - journal->j_first; in __jbd2_update_log_tail()
906 trace_jbd2_update_log_tail(journal, tid, block, freed); in __jbd2_update_log_tail()
910 journal->j_tail_sequence, tid, block, freed); in __jbd2_update_log_tail()
912 journal->j_free += freed; in __jbd2_update_log_tail()
Dcommit.c777 long freed = first_block - journal->j_tail; in jbd2_journal_commit_transaction() local
780 freed += journal->j_last - journal->j_first; in jbd2_journal_commit_transaction()
782 if (freed < journal->j_maxlen / 4) in jbd2_journal_commit_transaction()
/fs/xfs/
Dxfs_buf_item.c373 int freed; in xfs_buf_item_unpin() local
380 freed = atomic_dec_and_test(&bip->bli_refcount); in xfs_buf_item_unpin()
385 if (freed && stale) { in xfs_buf_item_unpin()
429 } else if (freed && remove) { in xfs_buf_item_unpin()
/fs/ext2/
Dballoc.c489 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/ext3/
Dballoc.c1929 ext3_grpblk_t next, free_blocks, bit, freed, count = 0; in ext3_trim_all_free() local
2009 freed = 0; in ext3_trim_all_free()
2023 freed++; in ext3_trim_all_free()
2029 le16_add_cpu(&gdp->bg_free_blocks_count, freed); in ext3_trim_all_free()
2031 percpu_counter_add(&sbi->s_freeblocks_counter, freed); in ext3_trim_all_free()
/fs/f2fs/
Dnode.c551 int freed = 0; in truncate_nodes() local
567 for (i = ofs; i < NIDS_PER_BLOCK; i++, freed++) { in truncate_nodes()
594 freed = child_nofs; in truncate_nodes()
601 freed++; in truncate_nodes()
605 trace_f2fs_truncate_nodes_exit(dn->inode, freed); in truncate_nodes()
606 return freed; in truncate_nodes()
Dsegment.h459 static inline bool has_not_enough_free_secs(struct f2fs_sb_info *sbi, int freed) in has_not_enough_free_secs() argument
467 return ((free_sections(sbi) + freed) <= (node_secs + 2 * dent_secs + in has_not_enough_free_secs()
/fs/ocfs2/dlm/
Ddlmrecovery.c2202 unsigned int freed = 0; in dlm_free_dead_locks() local
2221 freed++; in dlm_free_dead_locks()
2230 freed++; in dlm_free_dead_locks()
2239 freed++; in dlm_free_dead_locks()
2243 if (freed) { in dlm_free_dead_locks()
2246 res->lockname.len, res->lockname.name, freed, dead_node); in dlm_free_dead_locks()
2250 res->lockname.len, res->lockname.name, freed, dead_node); in dlm_free_dead_locks()
/fs/hugetlbfs/
Dinode.c338 int i, freed = 0; in truncate_hugepages() local
359 freed++; in truncate_hugepages()
364 hugetlb_unreserve_pages(inode, start, freed); in truncate_hugepages()
/fs/jffs2/
DREADME.Locking19 obtained during space allocations (jffs2_reserve_space()) and freed
/fs/jfs/
Djfs_xtree.c3182 int freed, log; in xtTruncate() local
3276 freed = 0; in xtTruncate()
3424 freed = 1; in xtTruncate()
3493 if (freed == 0) { in xtTruncate()
/fs/ext4/
Dmballoc.c4375 int freed = 0; in ext4_mb_discard_preallocations() local
4380 freed += ret; in ext4_mb_discard_preallocations()
4384 return freed; in ext4_mb_discard_preallocations()
4395 int freed; in ext4_mb_new_blocks() local
4505 freed = ext4_mb_discard_preallocations(sb, ac->ac_o_ex.fe_len); in ext4_mb_new_blocks()
4506 if (freed) in ext4_mb_new_blocks()
/fs/cifs/
DCHANGES648 protocol response. Fix oops in reopen_file when dentry freed. Allow
891 previously freed socket.