Home
last modified time | relevance | path

Searched refs:extent_node_t (Results 1 – 13 of 13) sorted by relevance

/external/jemalloc/include/jemalloc/internal/
Dextent.h4 typedef struct extent_node_s extent_node_t; typedef
59 qr(extent_node_t) cc_link;
63 rb_node(extent_node_t) szsnad_link;
66 ql_elm(extent_node_t) ql_link;
70 rb_node(extent_node_t) ad_link;
72 typedef rb_tree(extent_node_t) extent_tree_t;
78 rb_proto(, extent_tree_szsnad_, extent_tree_t, extent_node_t)
80 rb_proto(, extent_tree_ad_, extent_tree_t, extent_node_t)
87 arena_t *extent_node_arena_get(const extent_node_t *node);
88 void *extent_node_addr_get(const extent_node_t *node);
[all …]
Drtree.h42 extent_node_t *val;
119 extent_node_t *rtree_val_read(rtree_t *rtree, rtree_node_elm_t *elm,
122 const extent_node_t *val);
128 extent_node_t *rtree_get(rtree_t *rtree, uintptr_t key, bool dependent);
129 bool rtree_set(rtree_t *rtree, uintptr_t key, const extent_node_t *val);
189 JEMALLOC_ALWAYS_INLINE extent_node_t *
212 rtree_val_write(rtree_t *rtree, rtree_node_elm_t *elm, const extent_node_t *val) in rtree_val_write()
243 JEMALLOC_ALWAYS_INLINE extent_node_t *
335 rtree_set(rtree_t *rtree, uintptr_t key, const extent_node_t *val) in rtree_set()
Dchunk.h60 const extent_node_t *node);
61 void chunk_deregister(const void *chunk, const extent_node_t *node);
85 extent_node_t *chunk_lookup(const void *chunk, bool dependent);
89 JEMALLOC_INLINE extent_node_t *
Darena.h206 extent_node_t node;
401 ql_head(extent_node_t) achunks;
464 extent_node_t chunks_cache;
470 ql_head(extent_node_t) huge;
488 ql_head(extent_node_t) node_cache;
543 void arena_chunk_cache_maybe_insert(arena_t *arena, extent_node_t *node,
545 void arena_chunk_cache_maybe_remove(arena_t *arena, extent_node_t *node,
547 extent_node_t *arena_node_alloc(tsdn_t *tsdn, arena_t *arena);
548 void arena_node_dalloc(tsdn_t *tsdn, arena_t *arena, extent_node_t *node);
Djemalloc_internal.h1116 extent_node_t *node; in ivsalloc()
Djemalloc_internal.h.in1116 extent_node_t *node;
/external/jemalloc/src/
Dbase.c10 static extent_node_t *base_nodes;
17 static extent_node_t *
20 extent_node_t *node; in base_node_try_alloc()
27 base_nodes = *(extent_node_t **)node; in base_node_try_alloc()
28 JEMALLOC_VALGRIND_MAKE_MEM_UNDEFINED(node, sizeof(extent_node_t)); in base_node_try_alloc()
33 base_node_dalloc(tsdn_t *tsdn, extent_node_t *node) in base_node_dalloc()
38 JEMALLOC_VALGRIND_MAKE_MEM_UNDEFINED(node, sizeof(extent_node_t)); in base_node_dalloc()
39 *(extent_node_t **)node = base_nodes; in base_node_dalloc()
44 base_extent_node_init(extent_node_t *node, void *addr, size_t size) in base_extent_node_init()
51 static extent_node_t *
[all …]
Dextent.c29 extent_sz_comp(const extent_node_t *a, const extent_node_t *b) in extent_sz_comp()
38 extent_sn_comp(const extent_node_t *a, const extent_node_t *b) in extent_sn_comp()
47 extent_ad_comp(const extent_node_t *a, const extent_node_t *b) in extent_ad_comp()
56 extent_szsnad_comp(const extent_node_t *a, const extent_node_t *b) in extent_szsnad_comp()
73 rb_gen(, extent_tree_szsnad_, extent_tree_t, extent_node_t, szsnad_link,
77 rb_gen(, extent_tree_ad_, extent_tree_t, extent_node_t, ad_link, extent_ad_comp)
Dhuge.c6 static extent_node_t *
9 extent_node_t *node; in huge_node_get()
18 huge_node_set(tsdn_t *tsdn, const void *ptr, extent_node_t *node) in huge_node_set()
27 huge_node_reset(tsdn_t *tsdn, const void *ptr, extent_node_t *node) in huge_node_reset()
36 huge_node_unset(const void *ptr, const extent_node_t *node) in huge_node_unset()
58 extent_node_t *node; in huge_palloc()
74 node = ipallocztm(tsdn, CACHELINE_CEILING(sizeof(extent_node_t)), in huge_palloc()
156 extent_node_t *node; in huge_ralloc_no_move_similar()
218 extent_node_t *node; in huge_ralloc_no_move_shrink()
271 extent_node_t *node; in huge_ralloc_no_move_expand()
[all …]
Dchunk.c144 chunk_register(tsdn_t *tsdn, const void *chunk, const extent_node_t *node) in chunk_register()
171 chunk_deregister(const void *chunk, const extent_node_t *node) in chunk_deregister()
189 static extent_node_t *
192 extent_node_t key; in chunk_first_best_fit()
207 extent_node_t *node; in chunk_recycle()
229 extent_node_t key; in chunk_recycle()
516 extent_node_t *node, *prev; in chunk_record()
517 extent_node_t key; in chunk_record()
Darena.c58 JEMALLOC_INLINE_C const extent_node_t *
250 arena_chunk_dirty_npages(const extent_node_t *node) in arena_chunk_dirty_npages()
257 arena_chunk_cache_maybe_insert(arena_t *arena, extent_node_t *node, bool cache) in arena_chunk_cache_maybe_insert()
269 arena_chunk_cache_maybe_remove(arena_t *arena, extent_node_t *node, bool dirty) in arena_chunk_cache_maybe_remove()
890 extent_node_t *
893 extent_node_t *node; in arena_node_alloc()
899 return (base_alloc(tsdn, sizeof(extent_node_t))); in arena_node_alloc()
901 ql_tail_remove(&arena->node_cache, extent_node_t, ql_link); in arena_node_alloc()
907 arena_node_dalloc(tsdn_t *tsdn, arena_t *arena, extent_node_t *node) in arena_node_dalloc()
1533 extent_node_t *chunkselm; in arena_dirty_count()
[all …]
Dandroid_je_iterate.c45 extent_node_t *node; in je_iterate()
/external/jemalloc/test/unit/
Drtree.c35 extent_node_t node_a, node_b; in TEST_BEGIN()
64 extent_node_t node; in TEST_BEGIN()
104 extent_node_t node; in TEST_BEGIN()