Searched refs:rtree_node_elm_t (Results 1 – 7 of 7) sorted by relevance
/external/jemalloc/include/jemalloc/internal/ |
D | rtree.h | 9 typedef struct rtree_node_elm_s rtree_node_elm_t; typedef 24 #define RTREE_NODE_INITIALIZING ((rtree_node_elm_t *)0x1) 31 typedef rtree_node_elm_t *(rtree_node_alloc_t)(size_t); 32 typedef void (rtree_node_dalloc_t)(rtree_node_elm_t *); 41 rtree_node_elm_t *child; 71 rtree_node_elm_t *subtree; 101 rtree_node_elm_t *rtree_subtree_read_hard(rtree_t *rtree, 103 rtree_node_elm_t *rtree_child_read_hard(rtree_t *rtree, 104 rtree_node_elm_t *elm, unsigned level); 114 bool rtree_node_valid(rtree_node_elm_t *node); [all …]
|
/external/jemalloc_new/src/ |
D | rtree.c | 30 static rtree_node_elm_t * 32 return (rtree_node_elm_t *)base_alloc(tsdn, b0get(), nelms * in rtree_node_alloc_impl() 33 sizeof(rtree_node_elm_t), CACHELINE); 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() 63 rtree_delete_subtree(tsdn_t *tsdn, rtree_t *rtree, rtree_node_elm_t *subtree, in rtree_delete_subtree() 68 rtree_node_elm_t *node = in rtree_delete_subtree() 69 (rtree_node_elm_t *)atomic_load_p(&subtree[i].child, in rtree_delete_subtree() 101 static rtree_node_elm_t * 109 rtree_node_elm_t *node = atomic_load_p(elmp, ATOMIC_RELAXED); in rtree_node_init() 155 rtree_node_valid(rtree_node_elm_t *node) { in rtree_node_valid() [all …]
|
/external/jemalloc/src/ |
D | rtree.c | 65 rtree_delete_subtree(rtree_t *rtree, rtree_node_elm_t *node, unsigned level) in rtree_delete_subtree() 73 rtree_node_elm_t *child = node[i].child; in rtree_delete_subtree() 87 rtree_node_elm_t *subtree = rtree->levels[i].subtree; in rtree_delete() 93 static rtree_node_elm_t * 94 rtree_node_init(rtree_t *rtree, unsigned level, rtree_node_elm_t **elmp) in rtree_node_init() 96 rtree_node_elm_t *node; in rtree_node_init() 120 rtree_node_elm_t * 127 rtree_node_elm_t * 128 rtree_child_read_hard(rtree_t *rtree, rtree_node_elm_t *elm, unsigned level) in rtree_child_read_hard()
|
D | chunk.c | 747 static rtree_node_elm_t * 751 return ((rtree_node_elm_t *)base_alloc(TSDN_NULL, nelms * in chunks_rtree_node_alloc() 752 sizeof(rtree_node_elm_t))); in chunks_rtree_node_alloc()
|
/external/jemalloc/test/unit/ |
D | rtree.c | 3 static rtree_node_elm_t * 7 return ((rtree_node_elm_t *)calloc(nelms, sizeof(rtree_node_elm_t))); in node_alloc() 11 node_dalloc(rtree_node_elm_t *node) in node_dalloc()
|
/external/jemalloc_new/test/unit/ |
D | rtree.c | 13 static rtree_node_elm_t * 15 rtree_node_elm_t *node; in rtree_node_alloc_intercept() 22 node = (rtree_node_elm_t *)calloc(nelms, sizeof(rtree_node_elm_t)); in rtree_node_alloc_intercept() 31 rtree_node_elm_t *node) { in rtree_node_dalloc_intercept()
|
/external/jemalloc_new/include/jemalloc/internal/ |
D | rtree.h | 41 typedef struct rtree_node_elm_s rtree_node_elm_t; typedef 84 rtree_node_elm_t root[1U << (RTREE_NSB/RTREE_HEIGHT)]; 114 typedef rtree_node_elm_t *(rtree_node_alloc_t)(tsdn_t *, rtree_t *, size_t); 120 typedef void (rtree_node_dalloc_t)(tsdn_t *, rtree_t *, rtree_node_elm_t *);
|