Searched refs:commit_sem (Results 1 – 6 of 6) sorted by relevance
124 up_write(&c->commit_sem); in do_commit()158 up_write(&c->commit_sem); in do_commit()230 up_write(&c->commit_sem); in do_commit()260 down_write(&c->commit_sem); in run_bg_commit()273 up_write(&c->commit_sem); in run_bg_commit()440 down_write(&c->commit_sem); in ubifs_run_commit()455 up_write(&c->commit_sem); in ubifs_run_commit()466 up_write(&c->commit_sem); in ubifs_run_commit()
328 down_read(&c->commit_sem); in make_reservation()332 up_read(&c->commit_sem); in make_reservation()387 down_write(&c->commit_sem); in make_reservation()392 up_write(&c->commit_sem); in make_reservation()420 up_read(&c->commit_sem); in finish_reservation()887 down_read(&c->commit_sem); in ubifs_jnl_delete_inode()893 up_read(&c->commit_sem); in ubifs_jnl_delete_inode()902 up_read(&c->commit_sem); in ubifs_jnl_delete_inode()
83 down_read(&c->commit_sem); in run_gc()85 up_read(&c->commit_sem); in run_gc()
157 if (unlikely(down_write_trylock(&(c)->commit_sem))) { \158 up_write(&(c)->commit_sem); \
1252 struct rw_semaphore commit_sem; member
1983 init_rwsem(&c->commit_sem); in alloc_ubifs_info()