Home
last modified time | relevance | path

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

/linux/fs/jffs2/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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
H A 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()
H A 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()
H A 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()
H A 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()
H A Djffs2_fs_sb.h111 spinlock_t erase_completion_lock; /* Protect free_list and erasing_list member
H A Dfs.c224 spin_lock(&c->erase_completion_lock); in jffs2_statfs()
230 spin_unlock(&c->erase_completion_lock); in jffs2_statfs()
H A Dscan.c272 spin_lock(&c->erase_completion_lock); in jffs2_scan_medium()
274 spin_unlock(&c->erase_completion_lock); in jffs2_scan_medium()