Searched refs:SIX_LOCK_read (Results 1 – 11 of 11) sorted by relevance
| /linux-6.15/fs/bcachefs/ |
| H A D | six.c | 52 [SIX_LOCK_read] = { 68 .unlock_wakeup = SIX_LOCK_read, 188 ret = -1 - SIX_LOCK_read; in __do_six_trylock() 227 if (saw_one && lock_type != SIX_LOCK_read) in __six_lock_wakeup() 575 if (type == SIX_LOCK_read && in do_six_unlock_type() 584 if (type != SIX_LOCK_read) in do_six_unlock_type() 647 six_lock_increment(lock, SIX_LOCK_read); in six_lock_downgrade() 673 new -= l[SIX_LOCK_read].lock_val; in six_lock_tryupgrade() 708 if (to == SIX_LOCK_read) { in six_trylock_convert() 735 case SIX_LOCK_read: in six_lock_increment() [all …]
|
| H A D | btree_locking.h | 36 BTREE_NODE_READ_LOCKED = SIX_LOCK_read, 72 BUILD_BUG_ON(SIX_LOCK_read != 0); in mark_btree_node_locked_noreset() 94 : SIX_LOCK_read; in __btree_lock_want()
|
| H A D | six.h | 131 SIX_LOCK_read, enumerator
|
| H A D | btree_cache.c | 995 if (lock_type == SIX_LOCK_read) in bch2_btree_node_fill() 1262 level, SIX_LOCK_read, true); in bch2_btree_node_get_noiter() 1276 ret = btree_node_lock_nopath(trans, &b->c, SIX_LOCK_read, _THIS_IP_); in bch2_btree_node_get_noiter() 1337 level, SIX_LOCK_read, false); in bch2_btree_node_prefetch()
|
| H A D | btree_key_cache.c | 278 if (lock_want == SIX_LOCK_read) in btree_key_cache_create() 537 btree_node_lock_nopath_nofail(trans, &ck->c, SIX_LOCK_read); in bch2_btree_key_cache_journal_flush()
|
| H A D | btree_io.c | 2078 btree_node_lock_nopath_nofail(trans, &b->c, SIX_LOCK_read); in btree_node_write_done() 2549 (lock_type_held == SIX_LOCK_read && in bch2_btree_node_write() 2560 if (lock_type_held == SIX_LOCK_read) in bch2_btree_node_write() 2577 (lock_type_held == SIX_LOCK_read && in bch2_btree_node_write_trans() 2588 if (lock_type_held == SIX_LOCK_read) in bch2_btree_node_write_trans()
|
| H A D | trace.h | 631 __entry->self_read_count = c.n[SIX_LOCK_read]; 638 __entry->read_count = c.n[SIX_LOCK_read]; 701 __entry->self_read_count = c.n[SIX_LOCK_read]; 704 __entry->read_count = c.n[SIX_LOCK_read];
|
| H A D | btree_trans_commit.c | 237 btree_node_lock_nopath_nofail(trans, &b->c, SIX_LOCK_read); in __btree_node_flush() 253 btree_node_write_if_need(trans, b, SIX_LOCK_read); in __btree_node_flush()
|
| H A D | btree_locking.c | 423 int readers = bch2_btree_node_lock_counts(trans, NULL, b, b->level).n[SIX_LOCK_read]; in __bch2_btree_node_lock_write()
|
| H A D | btree_gc.c | 576 btree_node_lock_nopath_nofail(trans, &b->c, SIX_LOCK_read); in bch2_check_topology()
|
| H A D | btree_update_interior.c | 814 btree_node_lock_nopath_nofail(trans, &b->c, SIX_LOCK_read); in btree_update_nodes_written() 815 btree_node_write_if_need(trans, b, SIX_LOCK_read); in btree_update_nodes_written()
|