Searched refs:commit_sem (Results 1 – 7 of 7) sorted by relevance
123 up_write(&c->commit_sem); in do_commit()157 up_write(&c->commit_sem); in do_commit()225 up_write(&c->commit_sem); in do_commit()255 down_write(&c->commit_sem); in run_bg_commit()268 up_write(&c->commit_sem); in run_bg_commit()435 down_write(&c->commit_sem); in ubifs_run_commit()450 up_write(&c->commit_sem); in ubifs_run_commit()461 up_write(&c->commit_sem); in ubifs_run_commit()
151 if (unlikely(down_write_trylock(&(c)->commit_sem))) { \152 up_write(&(c)->commit_sem); \
407 down_read(&c->commit_sem); in make_reservation()413 up_read(&c->commit_sem); in make_reservation()482 down_write(&c->commit_sem); in make_reservation()487 up_write(&c->commit_sem); in make_reservation()536 up_read(&c->commit_sem); in finish_reservation()1147 down_read(&c->commit_sem); in ubifs_jnl_delete_inode()1153 up_read(&c->commit_sem); in ubifs_jnl_delete_inode()1162 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()
178 down_read(&c->commit_sem); in ubifs_new_inode()180 up_read(&c->commit_sem); in ubifs_new_inode()
1303 struct rw_semaphore commit_sem; member
2146 init_rwsem(&c->commit_sem); in alloc_ubifs_info()