Home
last modified time | relevance | path

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

/fs/jffs2/
Dnodemgmt.c56 spin_lock(&c->erase_completion_lock); in jffs2_reserve_space()
86 spin_unlock(&c->erase_completion_lock); in jffs2_reserve_space()
110 spin_unlock(&c->erase_completion_lock); in jffs2_reserve_space()
125 spin_unlock(&c->erase_completion_lock); in jffs2_reserve_space()
130 spin_lock(&c->erase_completion_lock); in jffs2_reserve_space()
139 spin_unlock(&c->erase_completion_lock); in jffs2_reserve_space()
143 spin_unlock(&c->erase_completion_lock); in jffs2_reserve_space()
153 spin_lock(&c->erase_completion_lock); in jffs2_reserve_space()
161 spin_unlock(&c->erase_completion_lock); in jffs2_reserve_space()
177 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()
92 spin_lock(&c->erase_completion_lock); in jffs2_garbage_collect_thread()
95 spin_unlock(&c->erase_completion_lock); in jffs2_garbage_collect_thread()
99 spin_unlock(&c->erase_completion_lock); in jffs2_garbage_collect_thread()
162 spin_lock(&c->erase_completion_lock); in jffs2_garbage_collect_thread()
164 spin_unlock(&c->erase_completion_lock); in jffs2_garbage_collect_thread()
Derase.c58 spin_lock(&c->erase_completion_lock); in jffs2_erase_block()
63 spin_unlock(&c->erase_completion_lock); in jffs2_erase_block()
92 spin_lock(&c->erase_completion_lock); in jffs2_erase_block()
97 spin_unlock(&c->erase_completion_lock); in jffs2_erase_block()
119 spin_lock(&c->erase_completion_lock); in jffs2_erase_pending_blocks()
127 spin_unlock(&c->erase_completion_lock); in jffs2_erase_pending_blocks()
150 spin_unlock(&c->erase_completion_lock); in jffs2_erase_pending_blocks()
162 spin_lock(&c->erase_completion_lock); in jffs2_erase_pending_blocks()
165 spin_unlock(&c->erase_completion_lock); in jffs2_erase_pending_blocks()
176 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()
138 spin_lock(&c->erase_completion_lock); in jffs2_garbage_collect_pass()
150 spin_unlock(&c->erase_completion_lock); in jffs2_garbage_collect_pass()
155 spin_unlock(&c->erase_completion_lock); in jffs2_garbage_collect_pass()
230 spin_unlock(&c->erase_completion_lock); in jffs2_garbage_collect_pass()
238 spin_lock(&c->erase_completion_lock); in jffs2_garbage_collect_pass()
250 spin_unlock(&c->erase_completion_lock); in jffs2_garbage_collect_pass()
255 spin_unlock(&c->erase_completion_lock); in jffs2_garbage_collect_pass()
283 spin_unlock(&c->erase_completion_lock); in jffs2_garbage_collect_pass()
[all …]
Dxattr.c73 spin_lock(&c->erase_completion_lock); in is_xattr_datum_unchecked()
80 spin_unlock(&c->erase_completion_lock); in is_xattr_datum_unchecked()
139 spin_lock(&c->erase_completion_lock); in do_verify_xattr_datum()
143 spin_unlock(&c->erase_completion_lock); in do_verify_xattr_datum()
179 spin_lock(&c->erase_completion_lock); in do_verify_xattr_datum()
190 spin_unlock(&c->erase_completion_lock); in do_verify_xattr_datum()
404 if (atomic_dec_and_lock(&xd->refcnt, &c->erase_completion_lock)) { in unrefer_xattr_datum()
413 spin_unlock(&c->erase_completion_lock); in unrefer_xattr_datum()
448 spin_lock(&c->erase_completion_lock); in verify_xattr_ref()
452 spin_unlock(&c->erase_completion_lock); in verify_xattr_ref()
[all …]
DREADME.Locking50 erase_completion_lock), etc.
74 erase_completion_lock spinlock
91 erase_completion_lock. So you can walk the list only while holding the
92 erase_completion_lock, and can drop the lock temporarily mid-walk as
96 The erase_completion_lock is also used to protect the c->gc_task
120 If both erase_completion_lock and inocache_lock are needed, the
133 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()
Dreadinode.c125 spin_lock(&c->erase_completion_lock); in check_node_data()
131 spin_unlock(&c->erase_completion_lock); in check_node_data()
637 spin_lock(&c->erase_completion_lock); in read_direntry()
643 spin_unlock(&c->erase_completion_lock); in read_direntry()
819 spin_lock(&c->erase_completion_lock); in read_dnode()
825 spin_unlock(&c->erase_completion_lock); in read_dnode()
998 spin_lock(&c->erase_completion_lock); in jffs2_get_inode_nodes()
1011 spin_unlock(&c->erase_completion_lock); in jffs2_get_inode_nodes()
1121 spin_lock(&c->erase_completion_lock); in jffs2_get_inode_nodes()
1124 spin_unlock(&c->erase_completion_lock); in jffs2_get_inode_nodes()
Dwbuf.c286 spin_lock(&c->erase_completion_lock); in jffs2_wbuf_recover()
291 spin_unlock(&c->erase_completion_lock); in jffs2_wbuf_recover()
461 spin_lock(&c->erase_completion_lock); in jffs2_wbuf_recover()
563 spin_unlock(&c->erase_completion_lock); in jffs2_wbuf_recover()
674 spin_lock(&c->erase_completion_lock); in __jffs2_flush_wbuf()
683 spin_lock(&c->erase_completion_lock); in __jffs2_flush_wbuf()
688 spin_unlock(&c->erase_completion_lock); in __jffs2_flush_wbuf()
923 spin_lock(&c->erase_completion_lock); in jffs2_flash_writev()
928 spin_unlock(&c->erase_completion_lock); in jffs2_flash_writev()
Dsummary.c827 spin_lock(&c->erase_completion_lock); in jffs2_sum_write_data()
829 spin_unlock(&c->erase_completion_lock); in jffs2_sum_write_data()
837 spin_lock(&c->erase_completion_lock); in jffs2_sum_write_data()
839 spin_unlock(&c->erase_completion_lock); in jffs2_sum_write_data()
854 spin_unlock(&c->erase_completion_lock); in jffs2_sum_write_sumnode()
871 spin_lock(&c->erase_completion_lock); in jffs2_sum_write_sumnode()
Djffs2_fs_sb.h103 spinlock_t erase_completion_lock; /* Protect free_list and erasing_list member
Dfs.c218 spin_lock(&c->erase_completion_lock); in jffs2_statfs()
224 spin_unlock(&c->erase_completion_lock); in jffs2_statfs()
Dsuper.c295 spin_lock_init(&c->erase_completion_lock); in jffs2_fill_super()
Dscan.c271 spin_lock(&c->erase_completion_lock); in jffs2_scan_medium()
273 spin_unlock(&c->erase_completion_lock); in jffs2_scan_medium()