Lines Matching refs:ATOMIC_RELAXED
71 *nactive += atomic_load_zu(&arena->nactive, ATOMIC_RELAXED); in arena_basic_stats_merge()
121 (((atomic_load_zu(&arena->nactive, ATOMIC_RELAXED) + in arena_stats_merge()
154 atomic_store_zu(&astats->tcache_bytes, 0, ATOMIC_RELAXED); in arena_stats_merge()
279 atomic_fetch_add_zu(&arena->nactive, add_pages, ATOMIC_RELAXED); in arena_nactive_add()
284 assert(atomic_load_zu(&arena->nactive, ATOMIC_RELAXED) >= sub_pages); in arena_nactive_sub()
285 atomic_fetch_sub_zu(&arena->nactive, sub_pages, ATOMIC_RELAXED); in arena_nactive_sub()
420 return atomic_load_zd(&decay->time_ms, ATOMIC_RELAXED); in arena_decay_ms_read()
425 atomic_store_zd(&decay->time_ms, decay_ms, ATOMIC_RELAXED); in arena_decay_ms_write()
1033 atomic_store_zu(&arena->nactive, 0, ATOMIC_RELAXED); in arena_reset()
1692 return atomic_load_zd(&dirty_decay_ms_default, ATOMIC_RELAXED); in arena_dirty_decay_ms_default_get()
1700 atomic_store_zd(&dirty_decay_ms_default, decay_ms, ATOMIC_RELAXED); in arena_dirty_decay_ms_default_set()
1706 return atomic_load_zd(&muzzy_decay_ms_default, ATOMIC_RELAXED); in arena_muzzy_decay_ms_default_get()
1714 atomic_store_zd(&muzzy_decay_ms_default, decay_ms, ATOMIC_RELAXED); in arena_muzzy_decay_ms_default_set()
1747 return atomic_load_u(&arena->nthreads[internal], ATOMIC_RELAXED); in arena_nthreads_get()
1752 atomic_fetch_add_u(&arena->nthreads[internal], 1, ATOMIC_RELAXED); in arena_nthreads_inc()
1757 atomic_fetch_sub_u(&arena->nthreads[internal], 1, ATOMIC_RELAXED); in arena_nthreads_dec()
1762 return atomic_fetch_add_zu(&arena->extent_sn_next, 1, ATOMIC_RELAXED); in arena_extent_sn_next()
1785 atomic_store_u(&arena->nthreads[0], 0, ATOMIC_RELAXED); in arena_new()
1786 atomic_store_u(&arena->nthreads[1], 0, ATOMIC_RELAXED); in arena_new()
1817 (size_t)(uintptr_t)arena, ATOMIC_RELAXED); in arena_new()
1820 atomic_store_zu(&arena->extent_sn_next, 0, ATOMIC_RELAXED); in arena_new()
1823 ATOMIC_RELAXED); in arena_new()
1825 atomic_store_zu(&arena->nactive, 0, ATOMIC_RELAXED); in arena_new()
2009 atomic_store_u(&arena->nthreads[0], 0, ATOMIC_RELAXED); in arena_postfork_child()
2010 atomic_store_u(&arena->nthreads[1], 0, ATOMIC_RELAXED); in arena_postfork_child()