Home
last modified time | relevance | path

Searched refs:SIX_LOCK_intent (Results 1 – 8 of 8) sorted by relevance

/linux-6.15/fs/bcachefs/
H A Dsix.c58 [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()
620 if (type == SIX_LOCK_intent && in six_unlock_ip()
682 six_set_owner(lock, SIX_LOCK_intent, old, current); in six_lock_tryupgrade()
748 case SIX_LOCK_intent: in six_lock_increment()
772 six_lock_wakeup(lock, state, SIX_LOCK_intent); in six_lock_wakeup_all()
795 ret.n[SIX_LOCK_intent] = !!(atomic_read(&lock->state) & SIX_LOCK_HELD_intent) + in six_lock_counts()
H A Dbtree_locking.h37 BTREE_NODE_INTENT_LOCKED = SIX_LOCK_intent,
73 BUILD_BUG_ON(SIX_LOCK_intent != 1); in mark_btree_node_locked_noreset()
93 ? SIX_LOCK_intent in __btree_lock_want()
H A Dbtree_update_interior.c375 btree_node_lock_nopath_nofail(trans, &b->c, SIX_LOCK_intent); in bch2_btree_node_alloc()
794 btree_node_write_if_need(trans, b, SIX_LOCK_intent); in btree_update_nodes_written()
1635 six_lock_increment(&n1->c.lock, SIX_LOCK_intent); in btree_split()
1640 six_lock_increment(&n2->c.lock, SIX_LOCK_intent); in btree_split()
1661 six_lock_increment(&n3->c.lock, SIX_LOCK_intent); in btree_split()
1689 six_lock_increment(&n1->c.lock, SIX_LOCK_intent); in btree_split()
1917 six_lock_increment(&n->c.lock, SIX_LOCK_intent); in __btree_increase_depth()
1931 bch2_btree_node_write_trans(trans, n, SIX_LOCK_intent, 0); in __btree_increase_depth()
2107 six_lock_increment(&n->c.lock, SIX_LOCK_intent); in __bch2_foreground_maybe_merge()
2128 bch2_btree_node_write_trans(trans, n, SIX_LOCK_intent, 0); in __bch2_foreground_maybe_merge()
[all …]
H A Dsix.h132 SIX_LOCK_intent, enumerator
H A Dtrace.h632 __entry->self_intent_count = c.n[SIX_LOCK_intent];
639 __entry->intent_count = c.n[SIX_LOCK_intent];
702 __entry->self_intent_count = c.n[SIX_LOCK_intent];
705 __entry->intent_count = c.n[SIX_LOCK_intent];
H A Dbtree_cache.c432 bch2_btree_node_write(c, b, SIX_LOCK_intent, in __btree_node_reclaim()
1366 btree_node_lock_nopath_nofail(trans, &b->c, SIX_LOCK_intent); in bch2_btree_node_evict()
H A Dbtree_locking.c555 : six_relock_type(&b->c.lock, SIX_LOCK_intent, path->l[level].lock_seq)) in bch2_btree_node_upgrade()
H A Dbtree_io.c2548 if (lock_type_held == SIX_LOCK_intent || in bch2_btree_node_write()
2576 if (lock_type_held == SIX_LOCK_intent || in bch2_btree_node_write_trans()