Home
last modified time | relevance | path

Searched refs:inocache_lock (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/fs/jffs2/
Dgc.c151 spin_lock(&c->inocache_lock); in jffs2_garbage_collect_pass()
177 spin_unlock(&c->inocache_lock); in jffs2_garbage_collect_pass()
194 spin_unlock(&c->inocache_lock); in jffs2_garbage_collect_pass()
201 spin_unlock(&c->inocache_lock); in jffs2_garbage_collect_pass()
208 spin_unlock(&c->inocache_lock); in jffs2_garbage_collect_pass()
222 sleep_on_spinunlock(&c->inocache_wq, &c->inocache_lock); in jffs2_garbage_collect_pass()
232 spin_unlock(&c->inocache_lock); in jffs2_garbage_collect_pass()
348 spin_lock(&c->inocache_lock); in jffs2_garbage_collect_pass()
394 spin_unlock(&c->inocache_lock); in jffs2_garbage_collect_pass()
407 sleep_on_spinunlock(&c->inocache_wq, &c->inocache_lock); in jffs2_garbage_collect_pass()
[all …]
Dnodelist.c410 spin_lock(&c->inocache_lock); in jffs2_set_inocache_state()
413 spin_unlock(&c->inocache_lock); in jffs2_set_inocache_state()
440 spin_lock(&c->inocache_lock); in jffs2_add_ino_cache()
454 spin_unlock(&c->inocache_lock); in jffs2_add_ino_cache()
465 spin_lock(&c->inocache_lock); in jffs2_del_ino_cache()
484 spin_unlock(&c->inocache_lock); in jffs2_del_ino_cache()
DREADME.Locking99 inocache_lock spinlock
104 correspondent jffs2_inode_cache object). So, the inocache_lock
113 the inocache_lock spinlock.
117 If both erase_completion_lock and inocache_lock are needed, the
Djffs2_fs_sb.h118 spinlock_t inocache_lock; member
Dfs.c647 spin_lock(&c->inocache_lock); in jffs2_gc_fetch_inode()
652 spin_unlock(&c->inocache_lock); in jffs2_gc_fetch_inode()
659 sleep_on_spinunlock(&c->inocache_wq, &c->inocache_lock); in jffs2_gc_fetch_inode()
661 spin_unlock(&c->inocache_lock); in jffs2_gc_fetch_inode()
Dsuper.c279 spin_lock_init(&c->inocache_lock); in jffs2_fill_super()
Dreadinode.c1334 spin_lock(&c->inocache_lock); in jffs2_do_read_inode()
1351 sleep_on_spinunlock(&c->inocache_wq, &c->inocache_lock); in jffs2_do_read_inode()
1368 spin_unlock(&c->inocache_lock); in jffs2_do_read_inode()
/kernel/liteos_a/fs/jffs2/
Djffs2.patch3618 spin_lock(&c->inocache_lock);
3632 - goto got_next; /* with inocache_lock held */
3644 - spin_unlock(&c->inocache_lock);
3659 + spin_unlock(&c->inocache_lock);
3671 spin_unlock(&c->inocache_lock);
3676 spin_unlock(&c->inocache_lock);
3690 sleep_on_spinunlock(&c->inocache_wq, &c->inocache_lock);
3728 spin_unlock(&c->inocache_lock);
3736 spin_lock(&c->inocache_lock);
3741 spin_unlock(&c->inocache_lock);
[all …]