Searched refs:write_locked (Results 1 – 6 of 6) sorted by relevance
138 bool *write_locked, in wb_flush_one() argument172 if (!*write_locked) { in wb_flush_one()178 *write_locked = true; in wb_flush_one()182 *write_locked = false; in wb_flush_one()276 bool write_locked = false; in bch2_btree_write_buffer_flush_locked() local339 if (write_locked) { in bch2_btree_write_buffer_flush_locked()345 write_locked = false; in bch2_btree_write_buffer_flush_locked()375 ret = wb_flush_one(trans, &iter, k, &write_locked, in bch2_btree_write_buffer_flush_locked()377 if (!write_locked) in bch2_btree_write_buffer_flush_locked()390 if (write_locked) { in bch2_btree_write_buffer_flush_locked()
119 EBUG_ON(trans->write_locked); in bch2_trans_lock_write()132 trans->write_locked = true; in bch2_trans_lock_write()138 if (likely(trans->write_locked)) { in bch2_trans_unlock_write()144 trans->write_locked = false; in bch2_trans_unlock_write()
502 bool write_locked:1; member
349 int write_locked; member489 aux->write_locked = 0; in dm_bm_read_lock()525 aux->write_locked = 1; in dm_bm_write_lock()559 aux->write_locked = 0; in dm_bm_read_try_lock()595 aux->write_locked = 1; in dm_bm_write_lock_zero()606 if (aux->write_locked) { in dm_bm_unlock()
159 bool write_locked) in __dsos__find_by_longname_id() argument171 if (!write_locked) { in __dsos__find_by_longname_id()264 bool cmp_short, bool write_locked) in __dsos__find_id() argument278 res = __dsos__find_by_longname_id(dsos, name, id, write_locked); in __dsos__find_id()
2962 bool write_locked = false; in svm_range_restore_pages() local3037 if (!write_locked) { in svm_range_restore_pages()3045 write_locked = true; in svm_range_restore_pages()3057 if (write_locked) in svm_range_restore_pages()