Home
last modified time | relevance | path

Searched refs:erase_completion_lock (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/fs/jffs2/
Dnodemgmt.c87 spin_lock(&c->erase_completion_lock); in jffs2_reserve_space()
126 spin_unlock(&c->erase_completion_lock); in jffs2_reserve_space()
150 spin_unlock(&c->erase_completion_lock); in jffs2_reserve_space()
165 spin_unlock(&c->erase_completion_lock); in jffs2_reserve_space()
170 spin_lock(&c->erase_completion_lock); in jffs2_reserve_space()
179 spin_unlock(&c->erase_completion_lock); in jffs2_reserve_space()
184 spin_unlock(&c->erase_completion_lock); in jffs2_reserve_space()
194 spin_lock(&c->erase_completion_lock); in jffs2_reserve_space()
204 spin_unlock(&c->erase_completion_lock); in jffs2_reserve_space()
221 spin_lock(&c->erase_completion_lock); in jffs2_reserve_space_gc()
[all …]
Dbackground.c29 assert_spin_locked(&c->erase_completion_lock); in jffs2_garbage_collect_trigger()
64 spin_lock(&c->erase_completion_lock); in jffs2_stop_garbage_collect_thread()
70 spin_unlock(&c->erase_completion_lock); in jffs2_stop_garbage_collect_thread()
94 spin_lock(&c->erase_completion_lock); in jffs2_garbage_collect_thread()
97 spin_unlock(&c->erase_completion_lock); in jffs2_garbage_collect_thread()
101 spin_unlock(&c->erase_completion_lock); in jffs2_garbage_collect_thread()
161 spin_lock(&c->erase_completion_lock); in jffs2_garbage_collect_thread()
163 spin_unlock(&c->erase_completion_lock); in jffs2_garbage_collect_thread()
Derase.c50 spin_lock(&c->erase_completion_lock); in jffs2_erase_block()
55 spin_unlock(&c->erase_completion_lock); in jffs2_erase_block()
79 spin_lock(&c->erase_completion_lock); in jffs2_erase_block()
84 spin_unlock(&c->erase_completion_lock); in jffs2_erase_block()
106 spin_lock(&c->erase_completion_lock); in jffs2_erase_pending_blocks()
114 spin_unlock(&c->erase_completion_lock); in jffs2_erase_pending_blocks()
137 spin_unlock(&c->erase_completion_lock); in jffs2_erase_pending_blocks()
149 spin_lock(&c->erase_completion_lock); in jffs2_erase_pending_blocks()
152 spin_unlock(&c->erase_completion_lock); in jffs2_erase_pending_blocks()
163 spin_lock(&c->erase_completion_lock); in jffs2_erase_succeeded()
[all …]
Dgc.c87 spin_unlock(&c->erase_completion_lock); in jffs2_find_gc_block()
89 spin_lock(&c->erase_completion_lock); in jffs2_find_gc_block()
143 spin_lock(&c->erase_completion_lock); in jffs2_garbage_collect_pass()
146 spin_unlock(&c->erase_completion_lock); in jffs2_garbage_collect_pass()
250 spin_unlock(&c->erase_completion_lock); in jffs2_garbage_collect_pass()
258 spin_lock(&c->erase_completion_lock); in jffs2_garbage_collect_pass()
270 spin_unlock(&c->erase_completion_lock); in jffs2_garbage_collect_pass()
275 spin_unlock(&c->erase_completion_lock); in jffs2_garbage_collect_pass()
303 spin_unlock(&c->erase_completion_lock); in jffs2_garbage_collect_pass()
315 spin_unlock(&c->erase_completion_lock); in jffs2_garbage_collect_pass()
[all …]
Dxattr.c76 spin_lock(&c->erase_completion_lock); in is_xattr_datum_unchecked()
83 spin_unlock(&c->erase_completion_lock); in is_xattr_datum_unchecked()
142 spin_lock(&c->erase_completion_lock); in do_verify_xattr_datum()
146 spin_unlock(&c->erase_completion_lock); in do_verify_xattr_datum()
182 spin_lock(&c->erase_completion_lock); in do_verify_xattr_datum()
193 spin_unlock(&c->erase_completion_lock); in do_verify_xattr_datum()
407 if (atomic_dec_and_lock(&xd->refcnt, &c->erase_completion_lock)) { in unrefer_xattr_datum()
416 spin_unlock(&c->erase_completion_lock); in unrefer_xattr_datum()
453 spin_lock(&c->erase_completion_lock); in verify_xattr_ref()
457 spin_unlock(&c->erase_completion_lock); in verify_xattr_ref()
[all …]
DREADME.Locking46 erase_completion_lock), etc.
71 erase_completion_lock spinlock
88 erase_completion_lock. So you can walk the list only while holding the
89 erase_completion_lock, and can drop the lock temporarily mid-walk as
93 The erase_completion_lock is also used to protect the c->gc_task
117 If both erase_completion_lock and inocache_lock are needed, the
130 erase_completion_lock cannot be held, so an alternative, more
Ddebug.c55 spin_lock(&c->erase_completion_lock); in __jffs2_dbg_acct_sanity_check()
57 spin_unlock(&c->erase_completion_lock); in __jffs2_dbg_acct_sanity_check()
304 spin_lock(&c->erase_completion_lock); in __jffs2_dbg_acct_paranoia_check()
306 spin_unlock(&c->erase_completion_lock); in __jffs2_dbg_acct_paranoia_check()
395 spin_lock(&c->erase_completion_lock); in __jffs2_dbg_dump_node_refs()
397 spin_unlock(&c->erase_completion_lock); in __jffs2_dbg_dump_node_refs()
437 spin_lock(&c->erase_completion_lock); in __jffs2_dbg_dump_jeb()
439 spin_unlock(&c->erase_completion_lock); in __jffs2_dbg_dump_jeb()
461 spin_lock(&c->erase_completion_lock); in __jffs2_dbg_dump_block_lists()
463 spin_unlock(&c->erase_completion_lock); in __jffs2_dbg_dump_block_lists()
Dwbuf.c287 spin_lock(&c->erase_completion_lock); in jffs2_wbuf_recover()
292 spin_unlock(&c->erase_completion_lock); in jffs2_wbuf_recover()
462 spin_lock(&c->erase_completion_lock); in jffs2_wbuf_recover()
564 spin_unlock(&c->erase_completion_lock); in jffs2_wbuf_recover()
675 spin_lock(&c->erase_completion_lock); in __jffs2_flush_wbuf()
684 spin_lock(&c->erase_completion_lock); in __jffs2_flush_wbuf()
689 spin_unlock(&c->erase_completion_lock); in __jffs2_flush_wbuf()
924 spin_lock(&c->erase_completion_lock); in jffs2_flash_writev()
929 spin_unlock(&c->erase_completion_lock); in jffs2_flash_writev()
Dreadinode.c125 spin_lock(&c->erase_completion_lock); in check_node_data()
131 spin_unlock(&c->erase_completion_lock); in check_node_data()
620 spin_lock(&c->erase_completion_lock); in read_direntry()
626 spin_unlock(&c->erase_completion_lock); in read_direntry()
822 spin_lock(&c->erase_completion_lock); in read_dnode()
828 spin_unlock(&c->erase_completion_lock); in read_dnode()
1001 spin_lock(&c->erase_completion_lock); in jffs2_get_inode_nodes()
1014 spin_unlock(&c->erase_completion_lock); in jffs2_get_inode_nodes()
1124 spin_lock(&c->erase_completion_lock); in jffs2_get_inode_nodes()
1127 spin_unlock(&c->erase_completion_lock); in jffs2_get_inode_nodes()
Dsummary.c830 spin_lock(&c->erase_completion_lock); in jffs2_sum_write_data()
832 spin_unlock(&c->erase_completion_lock); in jffs2_sum_write_data()
840 spin_lock(&c->erase_completion_lock); in jffs2_sum_write_data()
842 spin_unlock(&c->erase_completion_lock); in jffs2_sum_write_data()
858 spin_unlock(&c->erase_completion_lock); in jffs2_sum_write_sumnode()
875 spin_lock(&c->erase_completion_lock); in jffs2_sum_write_sumnode()
Djffs2_fs_sb.h111 spinlock_t erase_completion_lock; /* Protect free_list and erasing_list member
Dsuper.c278 spin_lock_init(&c->erase_completion_lock); in jffs2_fill_super()
Dfs.c224 spin_lock(&c->erase_completion_lock); in jffs2_statfs()
230 spin_unlock(&c->erase_completion_lock); in jffs2_statfs()
Dscan.c272 spin_lock(&c->erase_completion_lock); in jffs2_scan_medium()
274 spin_unlock(&c->erase_completion_lock); in jffs2_scan_medium()