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()226 up_write(&c->commit_sem); in do_commit()256 down_write(&c->commit_sem); in run_bg_commit()269 up_write(&c->commit_sem); in run_bg_commit()436 down_write(&c->commit_sem); in ubifs_run_commit()451 up_write(&c->commit_sem); in ubifs_run_commit()462 up_write(&c->commit_sem); in ubifs_run_commit()
162 if (unlikely(down_write_trylock(&(c)->commit_sem))) { \163 up_write(&(c)->commit_sem); \
317 down_read(&c->commit_sem); in make_reservation()322 up_read(&c->commit_sem); in make_reservation()377 down_write(&c->commit_sem); in make_reservation()382 up_write(&c->commit_sem); in make_reservation()410 up_read(&c->commit_sem); in finish_reservation()913 down_read(&c->commit_sem); in ubifs_jnl_delete_inode()919 up_read(&c->commit_sem); in ubifs_jnl_delete_inode()928 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()
1259 struct rw_semaphore commit_sem; member
2009 init_rwsem(&c->commit_sem); in alloc_ubifs_info()