Searched refs:btree_node_intent_locked (Results 1 – 4 of 4) sorted by relevance
51 static inline bool btree_node_intent_locked(struct btree_path *path, unsigned l) in btree_node_intent_locked() function308 EBUG_ON(!btree_node_intent_locked(path, b->level)); in __btree_node_lock_write()
525 BUG_ON(btree_node_intent_locked(path, level)); in bch2_btree_node_upgrade()533 if (btree_node_intent_locked(path, level)) in bch2_btree_node_upgrade()693 if (btree_node_intent_locked(path, l)) { in __bch2_btree_path_downgrade()
1596 BUG_ON(parent && !btree_node_intent_locked(trans->paths + path, b->c.level + 1)); in btree_split()1786 BUG_ON(!btree_node_intent_locked(path, b->c.level)); in bch2_btree_insert_node()1871 btree_node_intent_locked(&trans->paths[path], l) && !ret; in bch2_btree_split_leaf()
1089 EBUG_ON(!btree_node_intent_locked(path, i->level)); in __bch2_trans_commit()