Searched refs:clean_zn_cnt (Results 1 - 6 of 6) sorted by relevance
/linux-4.4.14/fs/ubifs/ |
H A D | shrinker.c | 79 if (!c->zroot.znode || atomic_long_read(&c->clean_zn_cnt) == 0) shrink_tnc() 88 * 'c->space_lock' when _reading_ 'c->clean_zn_cnt', because it is shrink_tnc() 94 atomic_long_read(&c->clean_zn_cnt) > 0) { shrink_tnc() 106 * Note, the 'clean_zn_cnt' counters are not updated until shrink_tnc() 130 atomic_long_sub(freed, &c->clean_zn_cnt); shrink_tnc() 282 long clean_zn_cnt = atomic_long_read(&ubifs_clean_zn_cnt); ubifs_shrink_count() local 288 return clean_zn_cnt >= 0 ? clean_zn_cnt : 1; ubifs_shrink_count() 297 long clean_zn_cnt = atomic_long_read(&ubifs_clean_zn_cnt); ubifs_shrink_scan() local 299 if (!clean_zn_cnt) { ubifs_shrink_scan()
|
H A D | tnc_commit.c | 903 * @c->clean_zn_cnt counter. If this znode becomes dirty again write_index() 905 * @c->clean_zn_cnt will be decremented before it gets write_index() 907 * This means that @c->clean_zn_cnt may become negative for a write_index() 910 * Q: why we cannot increment @c->clean_zn_cnt? write_index() 915 * atomic_long_inc(&c->clean_zn_cnt); write_index() 919 * Thus, we just delay the @c->clean_zn_cnt update until we write_index() 1004 atomic_long_inc(&c->clean_zn_cnt); free_obsolete_znodes()
|
H A D | tnc_misc.c | 426 atomic_long_inc(&c->clean_zn_cnt); ubifs_load_znode()
|
H A D | debug.c | 610 pr_err("\tdirty_pg_cnt %ld, dirty_zn_cnt %ld, clean_zn_cnt %ld\n", ubifs_dump_budg() 613 atomic_long_read(&c->clean_zn_cnt)); ubifs_dump_budg() 1531 if (clean_cnt != atomic_long_read(&c->clean_zn_cnt)) { dbg_check_tnc() 1532 ubifs_err(c, "incorrect clean_zn_cnt %ld, calculated %ld", dbg_check_tnc() 1533 atomic_long_read(&c->clean_zn_cnt), dbg_check_tnc()
|
H A D | tnc.c | 261 atomic_long_dec(&c->clean_zn_cnt); dirty_cow_znode() 2421 atomic_long_inc(&c->clean_zn_cnt); tnc_delete() 2469 atomic_long_inc(&c->clean_zn_cnt); tnc_delete() 2863 n = atomic_long_read(&c->clean_zn_cnt); ubifs_tnc_close()
|
H A D | ubifs.h | 1106 * @clean_zn_cnt: number of clean znodes 1341 atomic_long_t clean_zn_cnt; member in struct:ubifs_info
|
Completed in 158 milliseconds