Lines Matching refs:maple_tree

229 static inline unsigned int mt_attr(struct maple_tree *mt)  in mt_attr()
395 static __always_inline bool mt_is_alloc(struct maple_tree *mt) in mt_is_alloc()
785 static inline bool mt_write_locked(const struct maple_tree *mt) in mt_write_locked()
791 static __always_inline bool mt_locked(const struct maple_tree *mt) in mt_locked()
797 static __always_inline void *mt_slot(const struct maple_tree *mt, in mt_slot()
803 static __always_inline void *mt_slot_locked(struct maple_tree *mt, in mt_slot_locked()
847 static inline void *mt_root_locked(struct maple_tree *mt) in mt_root_locked()
896 static inline void mt_clear_meta(struct maple_tree *mt, struct maple_node *mn, in mt_clear_meta()
986 static void mt_destroy_walk(struct maple_enode *enode, struct maple_tree *mt,
3652 static void mte_destroy_walk(struct maple_enode *, struct maple_tree *);
5158 unsigned char mte_dead_leaves(struct maple_enode *enode, struct maple_tree *mt, in mte_dead_leaves()
5254 struct maple_tree *mt, struct maple_enode *prev, unsigned char offset) in mte_destroy_descend()
5283 static void mt_destroy_walk(struct maple_enode *enode, struct maple_tree *mt, in mt_destroy_walk()
5346 struct maple_tree *mt) in mte_destroy_walk()
5745 void *mt_next(struct maple_tree *mt, unsigned long index, unsigned long max) in mt_next()
5875 void *mt_prev(struct maple_tree *mt, unsigned long index, unsigned long min) in mt_prev()
6269 void *mtree_load(struct maple_tree *mt, unsigned long index) in mtree_load()
6311 int mtree_store_range(struct maple_tree *mt, unsigned long index, in mtree_store_range()
6342 int mtree_store(struct maple_tree *mt, unsigned long index, void *entry, in mtree_store()
6360 int mtree_insert_range(struct maple_tree *mt, unsigned long first, in mtree_insert_range()
6397 int mtree_insert(struct maple_tree *mt, unsigned long index, void *entry, in mtree_insert()
6404 int mtree_alloc_range(struct maple_tree *mt, unsigned long *startp, in mtree_alloc_range()
6466 int mtree_alloc_cyclic(struct maple_tree *mt, unsigned long *startp, in mtree_alloc_cyclic()
6486 int mtree_alloc_rrange(struct maple_tree *mt, unsigned long *startp, in mtree_alloc_rrange()
6535 void *mtree_erase(struct maple_tree *mt, unsigned long index) in mtree_erase()
6764 int __mt_dup(struct maple_tree *mt, struct maple_tree *new, gfp_t gfp) in __mt_dup()
6801 int mtree_dup(struct maple_tree *mt, struct maple_tree *new, gfp_t gfp) in mtree_dup()
6828 void __mt_destroy(struct maple_tree *mt) in __mt_destroy()
6846 void mtree_destroy(struct maple_tree *mt) in mtree_destroy()
6870 void *mt_find(struct maple_tree *mt, unsigned long *index, unsigned long max) in mt_find()
6930 void *mt_find_after(struct maple_tree *mt, unsigned long *index, in mt_find_after()
7053 static void mt_dump_node(const struct maple_tree *mt, void *entry,
7092 static void mt_dump_range64(const struct maple_tree *mt, void *entry, in mt_dump_range64()
7145 static void mt_dump_arange64(const struct maple_tree *mt, void *entry, in mt_dump_arange64()
7204 static void mt_dump_node(const struct maple_tree *mt, void *entry, in mt_dump_node()
7239 void mt_dump(const struct maple_tree *mt, enum mt_dump_format format) in mt_dump()
7496 static void mt_validate_nulls(struct maple_tree *mt) in mt_validate_nulls()
7538 void mt_validate(struct maple_tree *mt) in mt_validate()