Searched refs:SIX_LOCK_intent (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | six.c | 58 [SIX_LOCK_intent] = { 62 .unlock_wakeup = SIX_LOCK_intent, 87 if (type != SIX_LOCK_intent) in six_set_owner() 572 if (type == SIX_LOCK_intent) in do_six_unlock_type() 614 type == SIX_LOCK_intent) && in six_unlock_ip() 622 if (type == SIX_LOCK_intent && in six_unlock_ip() 675 six_set_owner(lock, SIX_LOCK_intent, old, current); in six_lock_tryupgrade() 738 case SIX_LOCK_intent: in six_lock_increment() 765 six_lock_wakeup(lock, state, SIX_LOCK_intent); in six_lock_wakeup_all() 788 ret.n[SIX_LOCK_intent] = !!(atomic_read(&lock->state) & SIX_LOCK_HELD_intent) + in six_lock_counts()
|
D | btree_update_interior.c | 395 btree_node_lock_nopath_nofail(trans, &b->c, SIX_LOCK_intent); in bch2_btree_node_alloc() 517 btree_node_lock_nopath_nofail(trans, &b->c, SIX_LOCK_intent); in bch2_btree_reserve_put() 768 btree_node_lock_nopath_nofail(trans, &b->c, SIX_LOCK_intent); in btree_update_nodes_written() 812 btree_node_write_if_need(c, b, SIX_LOCK_intent); in btree_update_nodes_written() 1629 six_lock_increment(&n1->c.lock, SIX_LOCK_intent); in btree_split() 1634 six_lock_increment(&n2->c.lock, SIX_LOCK_intent); in btree_split() 1655 six_lock_increment(&n3->c.lock, SIX_LOCK_intent); in btree_split() 1679 six_lock_increment(&n1->c.lock, SIX_LOCK_intent); in btree_split() 1704 bch2_btree_node_write(c, n3, SIX_LOCK_intent, 0); in btree_split() 1708 bch2_btree_node_write(c, n2, SIX_LOCK_intent, 0); in btree_split() [all …]
|
D | btree_locking.h | 36 BTREE_NODE_INTENT_LOCKED = SIX_LOCK_intent, 72 BUILD_BUG_ON(SIX_LOCK_intent != 1); in mark_btree_node_locked_noreset() 99 ? SIX_LOCK_intent in __btree_lock_want()
|
D | six.h | 132 SIX_LOCK_intent, enumerator
|
D | trace.h | 584 __entry->self_intent_count = c.n[SIX_LOCK_intent]; 591 __entry->intent_count = c.n[SIX_LOCK_intent]; 654 __entry->self_intent_count = c.n[SIX_LOCK_intent]; 657 __entry->intent_count = c.n[SIX_LOCK_intent];
|
D | btree_cache.c | 430 bch2_btree_node_write(c, b, SIX_LOCK_intent, in __btree_node_reclaim() 1365 btree_node_lock_nopath_nofail(trans, &b->c, SIX_LOCK_intent); in bch2_btree_node_evict()
|
D | btree_locking.c | 549 if (six_relock_type(&b->c.lock, SIX_LOCK_intent, path->l[level].lock_seq)) in bch2_btree_node_upgrade()
|
D | btree_io.c | 2281 if (lock_type_held == SIX_LOCK_intent || in bch2_btree_node_write()
|