Lines Matching refs:maple_tree

218 struct maple_tree {  struct
256 struct maple_tree name = MTREE_INIT(name, 0)
308 struct maple_tree *mtree;
311 void *mtree_load(struct maple_tree *mt, unsigned long index);
313 int mtree_insert(struct maple_tree *mt, unsigned long index,
315 int mtree_insert_range(struct maple_tree *mt, unsigned long first,
317 int mtree_alloc_range(struct maple_tree *mt, unsigned long *startp,
320 int mtree_alloc_rrange(struct maple_tree *mt, unsigned long *startp,
324 int mtree_store_range(struct maple_tree *mt, unsigned long first,
326 int mtree_store(struct maple_tree *mt, unsigned long index,
328 void *mtree_erase(struct maple_tree *mt, unsigned long index);
330 void mtree_destroy(struct maple_tree *mt);
331 void __mt_destroy(struct maple_tree *mt);
340 static inline bool mtree_empty(const struct maple_tree *mt) in mtree_empty()
381 struct maple_tree *tree; /* The tree we're operating in */
494 static inline void mas_init(struct ma_state *mas, struct maple_tree *tree, in mas_init()
602 static inline bool mt_external_lock(const struct maple_tree *mt) in mt_external_lock()
617 static inline void mt_init_flags(struct maple_tree *mt, unsigned int flags) in mt_init_flags()
633 static inline void mt_init(struct maple_tree *mt) in mt_init()
638 static inline bool mt_in_rcu(struct maple_tree *mt) in mt_in_rcu()
650 static inline void mt_clear_in_rcu(struct maple_tree *mt) in mt_clear_in_rcu()
669 static inline void mt_set_in_rcu(struct maple_tree *mt) in mt_set_in_rcu()
684 static inline unsigned int mt_height(const struct maple_tree *mt) in mt_height()
689 void *mt_find(struct maple_tree *mt, unsigned long *index, unsigned long max);
690 void *mt_find_after(struct maple_tree *mt, unsigned long *index,
692 void *mt_prev(struct maple_tree *mt, unsigned long index, unsigned long min);
693 void *mt_next(struct maple_tree *mt, unsigned long index, unsigned long max);
719 void mt_dump(const struct maple_tree *mt, enum mt_dump_format format);
722 void mt_validate(struct maple_tree *mt);