Home
last modified time | relevance | path

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

/Linux-v6.6/lib/
Dmaple_tree.c79 #define ma_mnode_ptr(x) ((struct maple_node *)(x))
158 static inline struct maple_node *mt_alloc_one(gfp_t gfp) in mt_alloc_one()
175 struct maple_node *node = container_of(head, struct maple_node, rcu); in mt_free_rcu()
187 static void ma_free_rcu(struct maple_node *node) in ma_free_rcu()
286 static inline struct maple_node *mte_to_node(const struct maple_enode *entry) in mte_to_node()
288 return (struct maple_node *)((unsigned long)entry & ~MAPLE_NODE_MASK); in mte_to_node()
309 static inline struct maple_node *mas_mn(const struct ma_state *mas) in mas_mn()
331 static inline struct maple_enode *mt_mk_node(const struct maple_node *node, in mt_mk_node()
363 static inline bool ma_is_root(struct maple_node *node) in ma_is_root()
537 static inline struct maple_node *mte_parent(const struct maple_enode *enode) in mte_parent()
[all …]
Dtest_maple_tree.c206 static inline __init int not_empty(struct maple_node *node) in not_empty()
/Linux-v6.6/include/linux/
Dmaple_tree.h277 struct maple_node { struct
395 struct maple_node *node; /* Decoded mas->node */
/Linux-v6.6/tools/testing/radix-tree/
Dmaple.c94 struct maple_node *mn, *mn2, *mn3; in check_new_node()
96 struct maple_node *nodes[100]; in check_new_node()
816 static inline void mas_node_walk(struct ma_state *mas, struct maple_node *node, in mas_node_walk()
892 struct maple_node *node; in mas_descend_walk()
35453 struct maple_node *mn; in check_prealloc()
35864 struct maple_node *node; in farmer_tests()