Searched refs:commit_sem (Results 1 – 6 of 6) sorted by relevance
112 up_write(&c->commit_sem); in do_commit()146 up_write(&c->commit_sem); in do_commit()214 up_write(&c->commit_sem); in do_commit()244 down_write(&c->commit_sem); in run_bg_commit()257 up_write(&c->commit_sem); in run_bg_commit()424 down_write(&c->commit_sem); in ubifs_run_commit()439 up_write(&c->commit_sem); in ubifs_run_commit()450 up_write(&c->commit_sem); in ubifs_run_commit()
150 if (unlikely(down_write_trylock(&(c)->commit_sem))) { \151 up_write(&(c)->commit_sem); \
316 down_read(&c->commit_sem); in make_reservation()321 up_read(&c->commit_sem); in make_reservation()376 down_write(&c->commit_sem); in make_reservation()381 up_write(&c->commit_sem); in make_reservation()409 up_read(&c->commit_sem); in finish_reservation()1016 down_read(&c->commit_sem); in ubifs_jnl_delete_inode()1022 up_read(&c->commit_sem); in ubifs_jnl_delete_inode()1031 up_read(&c->commit_sem); in ubifs_jnl_delete_inode()
71 down_read(&c->commit_sem); in run_gc()73 up_read(&c->commit_sem); in run_gc()
1309 struct rw_semaphore commit_sem; member
2138 init_rwsem(&c->commit_sem); in alloc_ubifs_info()