Searched refs:clean_zn_cnt (Results 1 - 6 of 6) sorted by relevance
/linux-master/fs/ubifs/ |
H A D | shrinker.c | 67 if (!c->zroot.znode || atomic_long_read(&c->clean_zn_cnt) == 0) 76 * 'c->space_lock' when _reading_ 'c->clean_zn_cnt', because it is 82 atomic_long_read(&c->clean_zn_cnt) > 0) { 94 * Note, the 'clean_zn_cnt' counters are not updated until 118 atomic_long_sub(freed, &c->clean_zn_cnt); 270 long clean_zn_cnt = atomic_long_read(&ubifs_clean_zn_cnt); local 276 return clean_zn_cnt >= 0 ? clean_zn_cnt : 1; 285 long clean_zn_cnt = atomic_long_read(&ubifs_clean_zn_cnt); local 287 if (!clean_zn_cnt) { [all...] |
H A D | tnc_misc.c | 267 n = atomic_long_read(&c->clean_zn_cnt); 451 atomic_long_inc(&c->clean_zn_cnt);
|
H A D | tnc.c | 281 atomic_long_dec(&c->clean_zn_cnt); 2588 atomic_long_inc(&c->clean_zn_cnt); 2636 atomic_long_inc(&c->clean_zn_cnt); 3106 atomic_long_inc(&c->clean_zn_cnt);
|
H A D | debug.c | 645 pr_err("\tdirty_pg_cnt %ld, dirty_zn_cnt %ld, clean_zn_cnt %ld\n", 648 atomic_long_read(&c->clean_zn_cnt)); 1551 if (clean_cnt != atomic_long_read(&c->clean_zn_cnt)) { 1552 ubifs_err(c, "incorrect clean_zn_cnt %ld, calculated %ld", 1553 atomic_long_read(&c->clean_zn_cnt),
|
H A D | tnc_commit.c | 943 * @c->clean_zn_cnt counter. If this znode becomes dirty again 945 * @c->clean_zn_cnt will be decremented before it gets 947 * This means that @c->clean_zn_cnt may become negative for a 950 * Q: why we cannot increment @c->clean_zn_cnt? 955 * atomic_long_inc(&c->clean_zn_cnt); 959 * Thus, we just delay the @c->clean_zn_cnt update until we 1044 atomic_long_inc(&c->clean_zn_cnt);
|
H A D | ubifs.h | 1138 * @clean_zn_cnt: number of clean znodes 1395 atomic_long_t clean_zn_cnt; member in struct:ubifs_info
|
Completed in 298 milliseconds