Home
last modified time | relevance | path

Searched refs:rtree_t (Results 1 – 10 of 10) sorted by relevance

/external/jemalloc/include/jemalloc/internal/
Drtree.h11 typedef struct rtree_s rtree_t; typedef
98 bool rtree_new(rtree_t *rtree, unsigned bits, rtree_node_alloc_t *alloc,
100 void rtree_delete(rtree_t *rtree);
101 rtree_node_elm_t *rtree_subtree_read_hard(rtree_t *rtree,
103 rtree_node_elm_t *rtree_child_read_hard(rtree_t *rtree,
111 unsigned rtree_start_level(rtree_t *rtree, uintptr_t key);
112 uintptr_t rtree_subkey(rtree_t *rtree, uintptr_t key, unsigned level);
117 rtree_node_elm_t *rtree_child_read(rtree_t *rtree, rtree_node_elm_t *elm,
119 extent_node_t *rtree_val_read(rtree_t *rtree, rtree_node_elm_t *elm,
121 void rtree_val_write(rtree_t *rtree, rtree_node_elm_t *elm,
[all …]
Dchunk.h47 extern rtree_t chunks_rtree;
/external/jemalloc_new/include/jemalloc/internal/
Drtree.h79 typedef struct rtree_s rtree_t; typedef
112 bool rtree_new(rtree_t *rtree, bool zeroed);
114 typedef rtree_node_elm_t *(rtree_node_alloc_t)(tsdn_t *, rtree_t *, size_t);
117 typedef rtree_leaf_elm_t *(rtree_leaf_alloc_t)(tsdn_t *, rtree_t *, size_t);
120 typedef void (rtree_node_dalloc_t)(tsdn_t *, rtree_t *, rtree_node_elm_t *);
123 typedef void (rtree_leaf_dalloc_t)(tsdn_t *, rtree_t *, rtree_leaf_elm_t *);
126 void rtree_delete(tsdn_t *tsdn, rtree_t *rtree);
128 rtree_leaf_elm_t *rtree_leaf_elm_lookup_hard(tsdn_t *tsdn, rtree_t *rtree,
173 rtree_leaf_elm_bits_read(tsdn_t *tsdn, rtree_t *rtree, rtree_leaf_elm_t *elm, in rtree_leaf_elm_bits_read()
211 rtree_leaf_elm_extent_read(UNUSED tsdn_t *tsdn, UNUSED rtree_t *rtree, in rtree_leaf_elm_extent_read()
[all …]
Dextent_externs.h11 extern rtree_t extents_rtree;
/external/jemalloc_new/src/
Drtree.c13 rtree_new(rtree_t *rtree, bool zeroed) { in rtree_new()
16 memset(rtree, 0, sizeof(rtree_t)); /* Clear root. */ in rtree_new()
31 rtree_node_alloc_impl(tsdn_t *tsdn, rtree_t *rtree, size_t nelms) { in rtree_node_alloc_impl()
38 rtree_node_dalloc_impl(tsdn_t *tsdn, rtree_t *rtree, rtree_node_elm_t *node) { in rtree_node_dalloc_impl()
46 rtree_leaf_alloc_impl(tsdn_t *tsdn, rtree_t *rtree, size_t nelms) { in rtree_leaf_alloc_impl()
53 rtree_leaf_dalloc_impl(tsdn_t *tsdn, rtree_t *rtree, rtree_leaf_elm_t *leaf) { in rtree_leaf_dalloc_impl()
63 rtree_delete_subtree(tsdn_t *tsdn, rtree_t *rtree, rtree_node_elm_t *subtree, in rtree_delete_subtree()
94 rtree_delete(tsdn_t *tsdn, rtree_t *rtree) { in rtree_delete()
102 rtree_node_init(tsdn_t *tsdn, rtree_t *rtree, unsigned level, in rtree_node_init()
129 rtree_leaf_init(tsdn_t *tsdn, rtree_t *rtree, atomic_p_t *elmp) { in rtree_leaf_init()
[all …]
Dextent.c16 rtree_t extents_rtree;
/external/jemalloc_new/test/unit/
Drtree.c11 rtree_t test_rtree;
14 rtree_node_alloc_intercept(tsdn_t *tsdn, rtree_t *rtree, size_t nelms) { in rtree_node_alloc_intercept()
30 rtree_node_dalloc_intercept(tsdn_t *tsdn, rtree_t *rtree, in rtree_node_dalloc_intercept()
41 rtree_leaf_alloc_intercept(tsdn_t *tsdn, rtree_t *rtree, size_t nelms) { in rtree_leaf_alloc_intercept()
57 rtree_leaf_dalloc_intercept(tsdn_t *tsdn, rtree_t *rtree, in rtree_leaf_dalloc_intercept()
72 rtree_t *rtree = &test_rtree; in TEST_BEGIN()
96 rtree_t *rtree = &test_rtree; in TEST_BEGIN()
131 rtree_t *rtree = &test_rtree; in TEST_BEGIN()
164 rtree_t *rtree = &test_rtree; in TEST_BEGIN()
/external/jemalloc/src/
Drtree.c13 rtree_new(rtree_t *rtree, unsigned bits, rtree_node_alloc_t *alloc, in rtree_new()
65 rtree_delete_subtree(rtree_t *rtree, rtree_node_elm_t *node, unsigned level) in rtree_delete_subtree()
82 rtree_delete(rtree_t *rtree) in rtree_delete()
94 rtree_node_init(rtree_t *rtree, unsigned level, rtree_node_elm_t **elmp) in rtree_node_init()
121 rtree_subtree_read_hard(rtree_t *rtree, unsigned level) in rtree_subtree_read_hard()
128 rtree_child_read_hard(rtree_t *rtree, rtree_node_elm_t *elm, unsigned level) in rtree_child_read_hard()
Dchunk.c14 rtree_t chunks_rtree;
/external/jemalloc/test/unit/
Drtree.c22 rtree_t rtree; in TEST_BEGIN()
38 rtree_t rtree; in TEST_BEGIN()
65 rtree_t rtree; in TEST_BEGIN()
106 rtree_t rtree; in TEST_BEGIN()