Searched refs:commit_sem (Results 1 – 4 of 4) sorted by relevance
149 if (unlikely(down_write_trylock(&(c)->commit_sem))) { \150 up_write(&(c)->commit_sem); \177 if (unlikely(down_write_trylock(&(c)->commit_sem))) { \178 up_write(&(c)->commit_sem); \
76 down_read(&c->commit_sem); in run_gc()78 up_read(&c->commit_sem); in run_gc()
1865 struct rw_semaphore commit_sem; member
2205 init_rwsem(&c->commit_sem); in alloc_ubifs_info()