HomeSort by relevance Sort by last modified time
    Searched refs:arenas (Results 1 - 8 of 8) sorted by null

  /external/jemalloc/src/
android_je_mallinfo.c 26 if (arenas[i] != NULL) {
27 malloc_mutex_lock(&arenas[i]->lock);
28 mi.hblkhd += arenas[i]->stats.mapped;
29 mi.uordblks += arenas[i]->stats.allocated_large;
30 mi.uordblks += arenas[i]->stats.allocated_huge;
31 malloc_mutex_unlock(&arenas[i]->lock);
34 arena_bin_t* bin = &arenas[i]->bins[j];
62 if (arenas[aidx] != NULL) {
63 malloc_mutex_lock(&arenas[aidx]->lock);
64 mi.hblkhd = arenas[aidx]->stats.mapped
    [all...]
ctl.c 485 {NAME("arenas"), CHILD(indexed, stats_arenas)}
496 {NAME("arenas"), CHILD(named, arenas)},
654 ctl_arena_stats_t *astats = &ctl_stats.arenas[i];
655 ctl_arena_stats_t *sstats = &ctl_stats.arenas[ctl_stats.narenas];
679 memcpy(astats, ctl_stats.arenas, (ctl_stats.narenas + 1) *
696 a0dalloc(ctl_stats.arenas);
697 ctl_stats.arenas = astats;
713 ctl_arena_clear(&ctl_stats.arenas[ctl_stats.narenas]);
721 ctl_stats.arenas[i].initialized = initialized
    [all...]
stats.c 57 CTL_GET("arenas.page", &page, size_t);
72 CTL_GET("arenas.nbins", &nbins, unsigned);
76 CTL_M2_M4_GET("stats.arenas.0.bins.0.nruns", i, j, &nruns,
93 CTL_M2_GET("arenas.bin.0.size", j, &reg_size, size_t);
94 CTL_M2_GET("arenas.bin.0.nregs", j, &nregs, uint32_t);
95 CTL_M2_GET("arenas.bin.0.run_size", j, &run_size,
97 CTL_M2_M4_GET("stats.arenas.0.bins.0.nmalloc", i, j,
99 CTL_M2_M4_GET("stats.arenas.0.bins.0.ndalloc", i, j,
101 CTL_M2_M4_GET("stats.arenas.0.bins.0.curregs", i, j,
103 CTL_M2_M4_GET("stats.arenas.0.bins.0.nrequests", i, j
    [all...]
jemalloc.c 50 /* Protects arenas initialization. */
53 * Arenas that are used to service external requests. Not all elements of the
54 * arenas array are necessarily used; arenas are created lazily as needed.
56 * arenas[0..narenas_auto) are used for automatic multiplexing of threads and
57 * arenas. arenas[narenas_auto..narenas_total) are only used if the application
60 arena_t **arenas; variable
62 static arena_t *a0; /* arenas[0]; read-only after initialization. */
390 atomic_write_p((void **)&arenas[ind], arena)
    [all...]
  /external/jemalloc/include/jemalloc/internal/
ctl.h 64 ctl_arena_stats_t *arenas; /* (narenas + 1) elements. */ member in struct:ctl_stats_s
jemalloc_internal.h 444 * Arenas that are used to service external requests. Not all elements of the
445 * arenas array are necessarily used; arenas are created lazily as needed.
447 extern arena_t **arenas;
828 ret = arenas[ind];
830 ret = atomic_read_p((void *)&arenas[ind]);
private_namespace.h 108 #define arenas JEMALLOC_N(arenas) macro
private_unnamespace.h 108 #undef arenas macro

Completed in 54 milliseconds