Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dmaple_tree.h229 struct maple_tree { struct
269 struct maple_tree name = MTREE_INIT(name, 0)
323 struct maple_tree *mtree;
326 void *mtree_load(struct maple_tree *mt, unsigned long index);
328 int mtree_insert(struct maple_tree *mt, unsigned long index,
330 int mtree_insert_range(struct maple_tree *mt, unsigned long first,
332 int mtree_alloc_range(struct maple_tree *mt, unsigned long *startp,
335 int mtree_alloc_cyclic(struct maple_tree *mt, unsigned long *startp,
338 int mtree_alloc_rrange(struct maple_tree *mt, unsigned long *startp,
342 int mtree_store_range(struct maple_tree *mt, unsigned long first,
[all …]
/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.c211 static void mt_set_height(struct maple_tree *mt, unsigned char height) in mt_set_height()
226 static inline unsigned int mt_attr(struct maple_tree *mt) in mt_attr()
392 static __always_inline bool mt_is_alloc(struct maple_tree *mt) in mt_is_alloc()
721 static inline bool mt_write_locked(const struct maple_tree *mt) in mt_write_locked()
727 static __always_inline bool mt_locked(const struct maple_tree *mt) in mt_locked()
733 static __always_inline void *mt_slot(const struct maple_tree *mt, in mt_slot()
739 static __always_inline void *mt_slot_locked(struct maple_tree *mt, in mt_slot_locked()
783 static inline void *mt_root_locked(struct maple_tree *mt) in mt_root_locked()
832 static inline void mt_clear_meta(struct maple_tree *mt, struct maple_node *mn, in mt_clear_meta()
922 static void mt_destroy_walk(struct maple_enode *enode, struct maple_tree *mt,
[all …]
H A DMakefile38 maple_tree.o idr.o extable.o irq_regs.o argv_split.o \
H A Dalloc_tag.c278 static struct maple_tree mod_area_mt = MTREE_INIT(mod_area_mt, MT_FLAGS_ALLOC_RANGE);
/linux/mm/
H A Dexecmem.c91 struct maple_tree busy_areas;
92 struct maple_tree free_areas;
160 struct maple_tree *free_areas = &execmem_cache.free_areas; in execmem_cache_clean()
185 struct maple_tree *free_areas = &execmem_cache.free_areas; in execmem_cache_add_locked()
230 struct maple_tree *free_areas = &execmem_cache.free_areas; in __execmem_cache_alloc()
231 struct maple_tree *busy_areas = &execmem_cache.busy_areas; in __execmem_cache_alloc()
379 struct maple_tree *busy_areas = &execmem_cache.busy_areas; in execmem_cache_free_slow()
407 struct maple_tree *busy_areas = &execmem_cache.busy_areas; in execmem_cache_free()
H A Dvma.c34 struct maple_tree mt_detach;
1522 struct maple_tree mt_detach; in do_vmi_align_munmap()
/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.c5 void rust_helper_mt_init_flags(struct maple_tree *mt, unsigned int flags) 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.rst43 maple_tree
H A Dmaple_tree.rst220 .. kernel-doc:: include/linux/maple_tree.h
221 .. kernel-doc:: lib/maple_tree.c
/linux/rust/kernel/
H A Dlib.rs112 pub mod maple_tree; module
H A Dmaple_tree.rs31 tree: Opaque<bindings::maple_tree>,
/linux/drivers/iommu/generic_pt/
H A Dkunit_iommu_pt.h286 static void unmap_collisions(struct kunit *test, struct maple_tree *mt, in unmap_collisions()
333 struct maple_tree mt; in test_random_map()
/linux/mm/damon/tests/
H A Dvaddr-kunit.h17 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;
44 struct maple_tree *mt;
63 static noinline void __init check_erase(struct maple_tree *mt, unsigned long index, in check_erase()
73 static noinline void __init check_erase_testset(struct maple_tree *mt) in check_erase_testset()
580 static noinline void __init check_erase2_testset(struct maple_tree *mt, in check_erase2_testset()
725 static noinline void __init check_erase2_sets(struct maple_tree *mt) in check_erase2_sets()
34187 static void rcu_stress_rev(struct maple_tree *mt, struct rcu_test_struct2 *test, in rcu_stress_rev()
34246 static void rcu_stress_fwd(struct maple_tree *mt, struct rcu_test_struct2 *test, in rcu_stress_fwd()
34314 static void rcu_stress(struct maple_tree *mt, bool forward) in rcu_stress()
34391 struct maple_tree *mt; /* the maple tree */
[all …]
/linux/drivers/iommu/iommufd/
H A Diommufd_private.h50 struct maple_tree mt_mmap;
/linux/kernel/irq/
H A Dirqdesc.c168 static struct maple_tree sparse_irqs = MTREE_INIT_EXT(sparse_irqs,
/linux/tools/testing/vma/
H A Dvma_internal.h537 struct maple_tree mm_mt;
/linux/arch/arm64/include/asm/
H A Dkvm_host.h381 struct maple_tree smccc_filter;
/linux/
H A DMAINTAINERS15128 F: Documentation/core-api/maple_tree.rst
15129 F: include/linux/maple_tree.h
15130 F: include/trace/events/maple_tree.h
15131 F: lib/maple_tree.c
15133 F: rust/helpers/maple_tree.c
15134 F: rust/kernel/maple_tree.rs
15136 F: tools/testing/shared/linux/maple_tree.h