Searched refs:io_mutex (Results 1 – 6 of 6) sorted by relevance
632 if (mutex_is_locked(&wbuf->io_mutex)) in ubifs_bg_wbufs_sync()635 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_bg_wbufs_sync()637 mutex_unlock(&wbuf->io_mutex); in ubifs_bg_wbufs_sync()642 mutex_unlock(&wbuf->io_mutex); in ubifs_bg_wbufs_sync()657 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_bg_wbufs_sync()659 mutex_unlock(&wbuf->io_mutex); in ubifs_bg_wbufs_sync()695 ubifs_assert(mutex_is_locked(&wbuf->io_mutex)); in ubifs_wbuf_write_nolock()1061 mutex_init(&wbuf->io_mutex); in ubifs_wbuf_init()1145 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_sync_wbufs_by_inode()1148 mutex_unlock(&wbuf->io_mutex); in ubifs_sync_wbufs_by_inode()
141 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_wbuf_sync()143 mutex_unlock(&wbuf->io_mutex); in ubifs_wbuf_sync()
660 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_garbage_collect()816 mutex_unlock(&wbuf->io_mutex); in ubifs_garbage_collect()824 mutex_unlock(&wbuf->io_mutex); in ubifs_garbage_collect()926 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_gc_end_commit()941 mutex_unlock(&wbuf->io_mutex); in ubifs_gc_end_commit()
128 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in reserve_space()157 mutex_unlock(&wbuf->io_mutex); in reserve_space()182 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in reserve_space()224 mutex_unlock(&wbuf->io_mutex); in reserve_space()238 mutex_unlock(&wbuf->io_mutex); in reserve_space()408 mutex_unlock(&c->jheads[jhead].wbuf.io_mutex); in release_head()
1211 mutex_lock_nested(&wbuf->io_mutex, wbuf->jhead); in ubifs_rcvry_gc_commit()1219 mutex_unlock(&wbuf->io_mutex); in ubifs_rcvry_gc_commit()
691 struct mutex io_mutex; member