Home
last modified time | relevance | path

Searched refs:maple_tree (Results 1 – 22 of 22) sorted by relevance

/linux/include/linux/
H A Dmaple_tree.h260 struct maple_tree { struct
300 struct maple_tree name = MTREE_INIT(name, 0)
354 struct maple_tree *mtree;
357 void *mtree_load(struct maple_tree *mt, unsigned long index);
359 int mtree_insert(struct maple_tree *mt, unsigned long index,
361 int mtree_insert_range(struct maple_tree *mt, unsigned long first,
363 int mtree_alloc_range(struct maple_tree *mt, unsigned long *startp,
366 int mtree_alloc_cyclic(struct maple_tree *mt, unsigned long *startp,
369 int mtree_alloc_rrange(struct maple_tree *mt, unsigned long *startp,
373 int mtree_store_range(struct maple_tree *mt, unsigned long first,
[all …]
H A Dmm_types.h12 #include <linux/maple_tree.h>
1192 struct maple_tree mm_mt;
H A Dfs.h46 #include <linux/maple_tree.h>
3325 struct maple_tree mt;
/linux/lib/
H A Dtest_maple_tree.c63 static int __init mtree_insert_index(struct maple_tree *mt, in mtree_insert_index()
69 static void __init mtree_erase_index(struct maple_tree *mt, unsigned long index) in mtree_erase_index()
75 static int __init mtree_test_insert(struct maple_tree *mt, unsigned long index, in mtree_test_insert()
81 static int __init mtree_test_store_range(struct maple_tree *mt, in mtree_test_store_range()
87 static int __init mtree_test_store(struct maple_tree *mt, unsigned long start, in mtree_test_store()
93 static int __init mtree_test_insert_range(struct maple_tree *mt, in mtree_test_insert_range()
99 static void __init *mtree_test_load(struct maple_tree *mt, unsigned long index) in mtree_test_load()
104 static void __init *mtree_test_erase(struct maple_tree *mt, unsigned long index) in mtree_test_erase()
110 static noinline void __init check_mtree_alloc_range(struct maple_tree *mt, in check_mtree_alloc_range()
127 static noinline void __init check_mtree_alloc_rrange(struct maple_tree *mt, in check_mtree_alloc_rrange()
[all …]
H A Dmaple_tree.c176 static void mt_set_height(struct maple_tree *mt, unsigned char height) in mt_set_height()
191 static inline unsigned int mt_attr(struct maple_tree *mt) in mt_attr()
365 static __always_inline bool mt_is_alloc(struct maple_tree *mt) in mt_is_alloc()
661 static inline bool mt_write_locked(const struct maple_tree *mt) in mt_write_locked()
667 static __always_inline bool mt_locked(const struct maple_tree *mt) in mt_locked()
673 static __always_inline void *mt_slot(const struct maple_tree *mt, in mt_slot()
679 static __always_inline void *mt_slot_locked(struct maple_tree *mt, in mt_slot_locked()
723 static inline void *mt_root_locked(struct maple_tree *mt) in mt_root_locked()
772 static inline void mt_clear_meta(struct maple_tree *mt, struct maple_node *mn, in mt_clear_meta()
898 static void mt_destroy_walk(struct maple_enode *enode, struct maple_tree *mt,
[all …]
H A Dregion_alloc_benchmark.c128 struct maple_tree mt = MTREE_INIT(mt, MT_FLAGS_ALLOC_RANGE); in benchmark_maple_tree()
/linux/tools/testing/shared/
H A Dshared.mk19 ../../../include/linux/maple_tree.h \
23 ../../../lib/maple_tree.c \
56 maple-shared.o: ../shared/maple-shared.c ../../../lib/maple_tree.c \
/linux/rust/helpers/
H A Dmaple_tree.c3 #include <linux/maple_tree.h>
5 __rust_helper void rust_helper_mt_init_flags(struct maple_tree *mt, in rust_helper_mt_init_flags()
/linux/fs/btrfs/
H A Dlru_cache.h44 struct maple_tree entries;
/linux/scripts/gdb/linux/
H A Dconstants.py.in23 #include <linux/maple_tree.h>
97 /* linux/maple_tree.h */
/linux/include/trace/events/
H A Dmaple_tree.h3 #define TRACE_SYSTEM maple_tree
/linux/Documentation/core-api/
H A Dindex.rst44 maple_tree
H A Dmaple_tree.rst236 .. kernel-doc:: include/linux/maple_tree.h
237 .. kernel-doc:: lib/maple_tree.c
/linux/rust/kernel/
H A Dlib.rs100 pub mod maple_tree;
93 pub mod maple_tree; global() module
H A Dmaple_tree.rs31 tree: Opaque<bindings::maple_tree>,
/linux/mm/damon/tests/
H A Dvaddr-kunit.h13 static int __link_vmas(struct maple_tree *mt, struct vm_area_struct *vmas, in __link_vmas()
/linux/tools/testing/radix-tree/
H A Dmaple.c27 struct maple_tree *mt;
45 struct maple_tree *mt;
64 static noinline void __init check_erase(struct maple_tree *mt, unsigned long index, in check_erase()
74 static noinline void __init check_erase_testset(struct maple_tree *mt) in check_erase_testset()
581 static noinline void __init check_erase2_testset(struct maple_tree *mt, in check_erase2_testset()
726 static noinline void __init check_erase2_sets(struct maple_tree *mt) in check_erase2_sets()
34213 static void rcu_stress_rev(struct maple_tree *mt, struct rcu_test_struct2 *test, in rcu_stress_rev()
34272 static void rcu_stress_fwd(struct maple_tree *mt, struct rcu_test_struct2 *test, in rcu_stress_fwd()
34340 static void rcu_stress(struct maple_tree *mt, bool forward) in rcu_stress()
34418 struct maple_tree *mt; /* the maple tree */
[all …]
/linux/mm/
H A Dalloc_tag.c639 static struct maple_tree mod_area_mt = MTREE_INIT(mod_area_mt, MT_FLAGS_ALLOC_RANGE);
H A Dvma.c42 struct maple_tree mt_detach;
1667 struct maple_tree mt_detach; in do_vmi_align_munmap()
/linux/tools/testing/vma/include/
H A Ddup.h28 struct maple_tree mm_mt;
/linux/drivers/block/
H A Dublk_drv.c345 struct maple_tree buf_tree;
/linux/
H A DMAINTAINERS15735 F: Documentation/core-api/maple_tree.rst
15736 F: include/linux/maple_tree.h
15737 F: include/trace/events/maple_tree.h
15738 F: lib/maple_tree.c
15741 F: rust/helpers/maple_tree.c
15742 F: rust/kernel/maple_tree.rs
15744 F: tools/testing/shared/linux/maple_tree.h