Lines Matching refs:decay_ms

424 arena_decay_ms_write(arena_decay_t *decay, ssize_t decay_ms) {  in arena_decay_ms_write()  argument
425 atomic_store_zd(&decay->time_ms, decay_ms, ATOMIC_RELAXED); in arena_decay_ms_write()
563 arena_decay_reinit(arena_decay_t *decay, ssize_t decay_ms) { in arena_decay_reinit() argument
564 arena_decay_ms_write(decay, decay_ms); in arena_decay_reinit()
565 if (decay_ms > 0) { in arena_decay_reinit()
566 nstime_init(&decay->interval, (uint64_t)decay_ms * in arena_decay_reinit()
580 arena_decay_init(arena_decay_t *decay, ssize_t decay_ms, in arena_decay_init() argument
593 arena_decay_reinit(decay, decay_ms); in arena_decay_init()
602 arena_decay_ms_valid(ssize_t decay_ms) { in arena_decay_ms_valid() argument
603 if (decay_ms < -1) { in arena_decay_ms_valid()
606 if (decay_ms == -1 || (uint64_t)decay_ms <= NSTIME_SEC_MAX * in arena_decay_ms_valid()
619 ssize_t decay_ms = arena_decay_ms_read(decay); in arena_maybe_decay() local
620 if (decay_ms <= 0) { in arena_maybe_decay()
621 if (decay_ms == 0) { in arena_maybe_decay()
688 extents_t *extents, ssize_t decay_ms) { in arena_decay_ms_set() argument
689 if (!arena_decay_ms_valid(decay_ms)) { in arena_decay_ms_set()
702 arena_decay_reinit(decay, decay_ms); in arena_decay_ms_set()
711 ssize_t decay_ms) { in arena_dirty_decay_ms_set() argument
713 &arena->extents_dirty, decay_ms); in arena_dirty_decay_ms_set()
718 ssize_t decay_ms) { in arena_muzzy_decay_ms_set() argument
720 &arena->extents_muzzy, decay_ms); in arena_muzzy_decay_ms_set()
1696 arena_dirty_decay_ms_default_set(ssize_t decay_ms) { in arena_dirty_decay_ms_default_set() argument
1697 if (!arena_decay_ms_valid(decay_ms)) { in arena_dirty_decay_ms_default_set()
1700 atomic_store_zd(&dirty_decay_ms_default, decay_ms, ATOMIC_RELAXED); in arena_dirty_decay_ms_default_set()
1710 arena_muzzy_decay_ms_default_set(ssize_t decay_ms) { in arena_muzzy_decay_ms_default_set() argument
1711 if (!arena_decay_ms_valid(decay_ms)) { in arena_muzzy_decay_ms_default_set()
1714 atomic_store_zd(&muzzy_decay_ms_default, decay_ms, ATOMIC_RELAXED); in arena_muzzy_decay_ms_default_set()