Home
last modified time | relevance | path

Searched refs:is_btree_node (Results 1 – 4 of 4) sorted by relevance

/linux/fs/bcachefs/
H A Dbtree_locking.c544 if (!is_btree_node(path, level)) in bch2_btree_node_upgrade()
904 BUG_ON(!is_btree_node(path, l) && have != BTREE_NODE_UNLOCKED); in __bch2_btree_path_verify_locks()
906 BUG_ON(is_btree_node(path, l) && want != have); in __bch2_btree_path_verify_locks()
H A Dbtree_locking.h20 static inline bool is_btree_node(struct btree_path *path, unsigned l) in is_btree_node() function
H A Dtrace.h692 __entry->node_lock_seq = is_btree_node(path, level)
756 __entry->node_lock_seq = is_btree_node(path, level)
H A Dbtree_iter.c1089 return is_btree_node(path, l) && in btree_path_good_node()
1388 if (!is_btree_node(path, l)) in bch2_btree_path_can_relock()