Home
last modified time | relevance | path

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

/fs/bcachefs/
A Dsix.c58 [SIX_LOCK_intent] = {
62 .unlock_wakeup = SIX_LOCK_intent,
87 if (type != SIX_LOCK_intent) in six_set_owner()
569 if (type == SIX_LOCK_intent) in do_six_unlock_type()
611 type == SIX_LOCK_intent) && in six_unlock_ip()
617 if (type == SIX_LOCK_intent && in six_unlock_ip()
679 six_set_owner(lock, SIX_LOCK_intent, old, current); in six_lock_tryupgrade()
745 case SIX_LOCK_intent: in six_lock_increment()
769 six_lock_wakeup(lock, state, SIX_LOCK_intent); in six_lock_wakeup_all()
792 ret.n[SIX_LOCK_intent] = !!(atomic_read(&lock->state) & SIX_LOCK_HELD_intent) + in six_lock_counts()
A Dbtree_update_interior.c379 btree_node_lock_nopath_nofail(trans, &b->c, SIX_LOCK_intent); in bch2_btree_node_alloc()
818 btree_node_write_if_need(trans, b, SIX_LOCK_intent); in btree_update_nodes_written()
1677 six_lock_increment(&n1->c.lock, SIX_LOCK_intent); in btree_split()
1682 six_lock_increment(&n2->c.lock, SIX_LOCK_intent); in btree_split()
1703 six_lock_increment(&n3->c.lock, SIX_LOCK_intent); in btree_split()
1731 six_lock_increment(&n1->c.lock, SIX_LOCK_intent); in btree_split()
1959 six_lock_increment(&n->c.lock, SIX_LOCK_intent); in __btree_increase_depth()
1973 bch2_btree_node_write_trans(trans, n, SIX_LOCK_intent, 0); in __btree_increase_depth()
2153 six_lock_increment(&n->c.lock, SIX_LOCK_intent); in __bch2_foreground_maybe_merge()
2174 bch2_btree_node_write_trans(trans, n, SIX_LOCK_intent, 0); in __bch2_foreground_maybe_merge()
[all …]
A Dbtree_locking.h36 BTREE_NODE_INTENT_LOCKED = SIX_LOCK_intent,
81 BUILD_BUG_ON(SIX_LOCK_intent != 1); in mark_btree_node_locked_noreset()
101 ? SIX_LOCK_intent in __btree_lock_want()
A Dsix.h132 SIX_LOCK_intent, enumerator
A Dtrace.h681 __entry->self_intent_count = c.n[SIX_LOCK_intent];
688 __entry->intent_count = c.n[SIX_LOCK_intent];
751 __entry->self_intent_count = c.n[SIX_LOCK_intent];
754 __entry->intent_count = c.n[SIX_LOCK_intent];
A Dbtree_cache.c377 bch2_btree_node_write(c, b, SIX_LOCK_intent, in __btree_node_reclaim_checks()
1366 btree_node_lock_nopath_nofail(trans, &b->c, SIX_LOCK_intent); in bch2_btree_node_evict()
A Dbtree_locking.c568 : six_relock_type(&b->c.lock, SIX_LOCK_intent, path->l[level].lock_seq)) in bch2_btree_node_upgrade()
A Dbtree_io.c2640 if (lock_type_held == SIX_LOCK_intent || in bch2_btree_node_write()
2668 if (lock_type_held == SIX_LOCK_intent || in bch2_btree_node_write_trans()

Completed in 22 milliseconds