Lines Matching refs:ndirty
228 arena->ndirty += npages; in arena_run_dirty_insert()
245 assert(arena->ndirty >= npages); in arena_run_dirty_remove()
246 arena->ndirty -= npages; in arena_run_dirty_remove()
264 arena->ndirty += arena_chunk_dirty_npages(node); in arena_chunk_cache_maybe_insert()
274 assert(arena->ndirty >= arena_chunk_dirty_npages(node)); in arena_chunk_cache_maybe_remove()
275 arena->ndirty -= arena_chunk_dirty_npages(node); in arena_chunk_cache_maybe_remove()
1306 size_t ndirty_delta = (arena->ndirty > arena->decay.ndirty) ? in arena_decay_backlog_update_last()
1307 arena->ndirty - arena->decay.ndirty : 0; in arena_decay_backlog_update_last()
1365 if (arena->ndirty > ndirty_limit) in arena_decay_epoch_advance_purge()
1367 arena->decay.ndirty = arena->ndirty; in arena_decay_epoch_advance_purge()
1392 arena->decay.ndirty = arena->ndirty; in arena_decay_init()
1464 if (arena->ndirty <= threshold) in arena_maybe_purge_ratio()
1531 size_t ndirty = 0; in arena_dirty_count() local
1556 ndirty += npages; in arena_dirty_count()
1559 return (ndirty); in arena_dirty_count()
1585 if (opt_purge == purge_mode_decay && arena->ndirty - in arena_stash_dirty()
1618 if (opt_purge == purge_mode_decay && arena->ndirty - in arena_stash_dirty()
1646 if (opt_purge == purge_mode_ratio && arena->ndirty - nstashed <= in arena_stash_dirty()
1824 size_t ndirty = arena_dirty_count(arena); in arena_purge_to_limit() local
1825 assert(ndirty == arena->ndirty); in arena_purge_to_limit()
1828 arena->lg_dirty_mult) < arena->ndirty || ndirty_limit == 0); in arena_purge_to_limit()
3421 size_t *nactive, size_t *ndirty) in arena_basic_stats_merge_locked() argument
3429 *ndirty += arena->ndirty; in arena_basic_stats_merge_locked()
3435 size_t *nactive, size_t *ndirty) in arena_basic_stats_merge() argument
3440 decay_time, nactive, ndirty); in arena_basic_stats_merge()
3447 size_t *nactive, size_t *ndirty, arena_stats_t *astats, in arena_stats_merge() argument
3457 decay_time, nactive, ndirty); in arena_stats_merge()
3601 arena->ndirty = 0; in arena_new()