| /src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/ |
| edata_cache.h | 23 bool edata_cache_init(edata_cache_t *edata_cache, base_t *base); 24 edata_t *edata_cache_get(tsdn_t *tsdn, edata_cache_t *edata_cache); 25 void edata_cache_put(tsdn_t *tsdn, edata_cache_t *edata_cache, edata_t *edata); 27 void edata_cache_prefork(tsdn_t *tsdn, edata_cache_t *edata_cache); 28 void edata_cache_postfork_parent(tsdn_t *tsdn, edata_cache_t *edata_cache); 29 void edata_cache_postfork_child(tsdn_t *tsdn, edata_cache_t *edata_cache); 32 * An edata_cache_small is like an edata_cache, but it relies on external
|
| pac.h | 96 edata_cache_t *edata_cache; member in struct:pac_s 125 edata_cache_t *edata_cache, nstime_t *cur_time, size_t oversize_threshold,
|
| hpa.h | 103 * allocator, and so will use its edata_cache. 154 base_t *base, edata_cache_t *edata_cache, unsigned ind,
|
| pa.h | 7 #include "jemalloc/internal/edata_cache.h" 107 edata_cache_t edata_cache; member in struct:pa_shard_s
|
| /src/external/bsd/jemalloc.old/dist/src/ |
| edata_cache.c | 5 edata_cache_init(edata_cache_t *edata_cache, base_t *base) { 6 edata_avail_new(&edata_cache->avail); 12 atomic_store_zu(&edata_cache->count, 0, ATOMIC_RELAXED); 13 if (malloc_mutex_init(&edata_cache->mtx, "edata_cache", 17 edata_cache->base = base; 22 edata_cache_get(tsdn_t *tsdn, edata_cache_t *edata_cache) { 23 malloc_mutex_lock(tsdn, &edata_cache->mtx); 24 edata_t *edata = edata_avail_first(&edata_cache->avail); 26 malloc_mutex_unlock(tsdn, &edata_cache->mtx) [all...] |
| extent_dss.c | 125 gap = edata_cache_get(tsdn, &arena->pa_shard.edata_cache); 197 &arena->pa_shard.edata_cache, gap); 233 edata_cache_put(tsdn, &arena->pa_shard.edata_cache, gap);
|
| pa_extra.c | 44 edata_cache_prefork(tsdn, &shard->edata_cache); 49 edata_cache_postfork_parent(tsdn, &shard->edata_cache); 64 edata_cache_postfork_child(tsdn, &shard->edata_cache); 95 &shard->edata_cache.count, ATOMIC_RELAXED); 170 &shard->edata_cache.mtx, arena_prof_mutex_extent_avail);
|
| extent.c | 244 edata_cache_put(tsdn, pac->edata_cache, edata); 665 edata_t *edata = edata_cache_get(tsdn, pac->edata_cache); 676 edata_cache_put(tsdn, pac->edata_cache, edata); 686 edata_cache_put(tsdn, pac->edata_cache, edata); 962 edata_cache_put(tsdn, pac->edata_cache, edata); 985 edata_cache_put(tsdn, pac->edata_cache, edata); 998 edata_t *edata = edata_cache_get(tsdn, pac->edata_cache); 1006 edata_cache_put(tsdn, pac->edata_cache, edata); 1020 edata_cache_put(tsdn, pac->edata_cache, edata); 1100 edata_cache_put(tsdn, pac->edata_cache, edata) [all...] |
| pa.c | 39 if (edata_cache_init(&shard->edata_cache, base)) { 43 if (pac_init(tsdn, &shard->pac, base, emap, &shard->edata_cache, 71 shard->base, &shard->edata_cache, shard->ind, hpa_opts)) {
|
| /src/external/bsd/jemalloc.old/include/jemalloc/internal/ |
| edata_cache.h | 23 bool edata_cache_init(edata_cache_t *edata_cache, base_t *base); 24 edata_t *edata_cache_get(tsdn_t *tsdn, edata_cache_t *edata_cache); 25 void edata_cache_put(tsdn_t *tsdn, edata_cache_t *edata_cache, edata_t *edata); 27 void edata_cache_prefork(tsdn_t *tsdn, edata_cache_t *edata_cache); 28 void edata_cache_postfork_parent(tsdn_t *tsdn, edata_cache_t *edata_cache); 29 void edata_cache_postfork_child(tsdn_t *tsdn, edata_cache_t *edata_cache); 32 * An edata_cache_small is like an edata_cache, but it relies on external
|
| pac.h | 96 edata_cache_t *edata_cache; member in struct:pac_s 125 edata_cache_t *edata_cache, nstime_t *cur_time, size_t oversize_threshold,
|
| hpa.h | 103 * allocator, and so will use its edata_cache. 154 base_t *base, edata_cache_t *edata_cache, unsigned ind,
|
| /src/external/bsd/jemalloc/dist/include/jemalloc/internal/ |
| edata_cache.h | 24 bool edata_cache_init(edata_cache_t *edata_cache, base_t *base); 25 edata_t *edata_cache_get(tsdn_t *tsdn, edata_cache_t *edata_cache); 26 void edata_cache_put(tsdn_t *tsdn, edata_cache_t *edata_cache, edata_t *edata); 28 void edata_cache_prefork(tsdn_t *tsdn, edata_cache_t *edata_cache); 29 void edata_cache_postfork_parent(tsdn_t *tsdn, edata_cache_t *edata_cache); 30 void edata_cache_postfork_child(tsdn_t *tsdn, edata_cache_t *edata_cache); 33 * An edata_cache_small is like an edata_cache, but it relies on external
|
| pac.h | 7 #include "jemalloc/internal/edata_cache.h" 100 edata_cache_t *edata_cache; member in struct:pac_s 154 edata_cache_t *edata_cache, nstime_t *cur_time, size_t oversize_threshold,
|
| hpa.h | 6 #include "jemalloc/internal/edata_cache.h" 91 * allocator, and so will use its edata_cache. 154 emap_t *emap, base_t *base, edata_cache_t *edata_cache, unsigned ind,
|
| /src/external/bsd/jemalloc/dist/src/ |
| edata_cache.c | 5 edata_cache_init(edata_cache_t *edata_cache, base_t *base) { 6 edata_avail_new(&edata_cache->avail); 12 atomic_store_zu(&edata_cache->count, 0, ATOMIC_RELAXED); 13 if (malloc_mutex_init(&edata_cache->mtx, "edata_cache", 17 edata_cache->base = base; 22 edata_cache_get(tsdn_t *tsdn, edata_cache_t *edata_cache) { 23 malloc_mutex_lock(tsdn, &edata_cache->mtx); 24 edata_t *edata = edata_avail_first(&edata_cache->avail); 26 malloc_mutex_unlock(tsdn, &edata_cache->mtx) [all...] |
| pa_extra.c | 44 edata_cache_prefork(tsdn, &shard->edata_cache); 49 edata_cache_postfork_parent(tsdn, &shard->edata_cache); 63 edata_cache_postfork_child(tsdn, &shard->edata_cache); 111 &shard->edata_cache.count, ATOMIC_RELAXED); 185 &shard->edata_cache.mtx, arena_prof_mutex_extent_avail);
|
| extent_dss.c | 123 gap = edata_cache_get(tsdn, &arena->pa_shard.edata_cache); 198 &arena->pa_shard.edata_cache, gap); 240 edata_cache_put(tsdn, &arena->pa_shard.edata_cache, gap);
|
| extent.c | 256 edata_cache_put(tsdn, pac->edata_cache, edata); 654 edata_cache_t *edata_cache, void *addr, size_t size) { 678 edata_t *edata = edata_cache_get(tsdn, edata_cache); 686 edata_cache_put(tsdn, edata_cache, edata); 730 edata_t *edata = edata_cache_get(tsdn, pac->edata_cache); 741 edata_cache_put(tsdn, pac->edata_cache, edata); 751 edata_cache_put(tsdn, pac->edata_cache, edata); 830 pac->edata_cache, ptr, alloc_size); 1081 edata_cache_put(tsdn, pac->edata_cache, edata); 1104 edata_cache_put(tsdn, pac->edata_cache, edata) [all...] |
| pa.c | 39 if (edata_cache_init(&shard->edata_cache, base)) { 43 if (pac_init(tsdn, &shard->pac, base, emap, &shard->edata_cache, 71 shard->emap, shard->base, &shard->edata_cache, shard->ind,
|
| /src/external/bsd/jemalloc/include/jemalloc/internal/ |
| edata_cache.h | 24 bool edata_cache_init(edata_cache_t *edata_cache, base_t *base); 25 edata_t *edata_cache_get(tsdn_t *tsdn, edata_cache_t *edata_cache); 26 void edata_cache_put(tsdn_t *tsdn, edata_cache_t *edata_cache, edata_t *edata); 28 void edata_cache_prefork(tsdn_t *tsdn, edata_cache_t *edata_cache); 29 void edata_cache_postfork_parent(tsdn_t *tsdn, edata_cache_t *edata_cache); 30 void edata_cache_postfork_child(tsdn_t *tsdn, edata_cache_t *edata_cache); 33 * An edata_cache_small is like an edata_cache, but it relies on external
|
| pac.h | 7 #include "jemalloc/internal/edata_cache.h" 100 edata_cache_t *edata_cache; member in struct:pac_s 154 edata_cache_t *edata_cache, nstime_t *cur_time, size_t oversize_threshold,
|
| hpa.h | 6 #include "jemalloc/internal/edata_cache.h" 91 * allocator, and so will use its edata_cache. 154 emap_t *emap, base_t *base, edata_cache_t *edata_cache, unsigned ind,
|
| /src/external/bsd/jemalloc.old/dist/test/unit/ |
| edata_cache.c | 3 #include "jemalloc/internal/edata_cache.h" 6 test_edata_cache_init(edata_cache_t *edata_cache) { 10 bool err = edata_cache_init(edata_cache, base); 15 test_edata_cache_destroy(edata_cache_t *edata_cache) { 16 base_delete(TSDN_NULL, edata_cache->base);
|
| /src/external/bsd/jemalloc/dist/test/unit/ |
| edata_cache.c | 3 #include "jemalloc/internal/edata_cache.h" 6 test_edata_cache_init(edata_cache_t *edata_cache) { 10 bool err = edata_cache_init(edata_cache, base); 15 test_edata_cache_destroy(edata_cache_t *edata_cache) { 16 base_delete(TSDN_NULL, edata_cache->base);
|