Home
last modified time | relevance | path

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

/linux-6.12.1/fs/bcachefs/
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()
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()
Dbtree_update_interior.c395 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 …]
Dbtree_locking.h36 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()
Dsix.h132 SIX_LOCK_intent, enumerator
Dtrace.h584 __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];
Dbtree_cache.c430 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()
Dbtree_locking.c549 if (six_relock_type(&b->c.lock, SIX_LOCK_intent, path->l[level].lock_seq)) in bch2_btree_node_upgrade()
Dbtree_io.c2281 if (lock_type_held == SIX_LOCK_intent || in bch2_btree_node_write()