Searched refs:prof_accum (Results 1 - 6 of 6) sorted by relevance

/freebsd-current/contrib/jemalloc/include/jemalloc/internal/
H A Dprof_inlines_a.h7 prof_accum_add(tsdn_t *tsdn, prof_accum_t *prof_accum, argument
21 a0 = atomic_load_u64(&prof_accum->accumbytes, ATOMIC_RELAXED);
29 } while (!atomic_compare_exchange_weak_u64(&prof_accum->accumbytes, &a0,
32 malloc_mutex_lock(tsdn, &prof_accum->mtx);
33 a0 = prof_accum->accumbytes;
39 prof_accum->accumbytes = a1;
40 malloc_mutex_unlock(tsdn, &prof_accum->mtx);
46 prof_accum_cancel(tsdn_t *tsdn, prof_accum_t *prof_accum, argument
58 a0 = atomic_load_u64(&prof_accum->accumbytes, ATOMIC_RELAXED);
62 } while (!atomic_compare_exchange_weak_u64(&prof_accum
[all...]
H A Darena_structs_b.h118 prof_accum_t prof_accum; member in struct:arena_s
H A Darena_inlines_a.h32 return prof_accum_add(tsdn, &arena->prof_accum, accumbytes);
H A Dprof_externs.h67 bool prof_accum_init(tsdn_t *tsdn, prof_accum_t *prof_accum);
/freebsd-current/contrib/jemalloc/src/
H A Dprof.c2033 prof_accum_init(tsdn_t *tsdn, prof_accum_t *prof_accum) { argument
2037 if (malloc_mutex_init(&prof_accum->mtx, "prof_accum",
2041 prof_accum->accumbytes = 0;
2043 atomic_store_u64(&prof_accum->accumbytes, 0, ATOMIC_RELAXED);
H A Darena.c1575 prof_accum_cancel(tsdn, &arena->prof_accum, usize);
1984 if (prof_accum_init(tsdn, &arena->prof_accum)) {

Completed in 128 milliseconds