Home
last modified time | relevance | path

Searched refs:write_locked (Results 1 – 6 of 6) sorted by relevance

/linux/fs/bcachefs/
H A Dbtree_write_buffer.c138 bool *write_locked, in wb_flush_one() argument
172 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() local
339 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()
H A Dbtree_trans_commit.c119 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()
H A Dbtree_types.h502 bool write_locked:1; member
/linux/drivers/md/persistent-data/
H A Ddm-block-manager.c349 int write_locked; member
489 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()
/linux/tools/perf/util/
H A Ddsos.c159 bool write_locked) in __dsos__find_by_longname_id() argument
171 if (!write_locked) { in __dsos__find_by_longname_id()
264 bool cmp_short, bool write_locked) in __dsos__find_id() argument
278 res = __dsos__find_by_longname_id(dsos, name, id, write_locked); in __dsos__find_id()
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_svm.c2962 bool write_locked = false; in svm_range_restore_pages() local
3037 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()