Home
last modified time | relevance | path

Searched refs:swap_used (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/oom/
Dtest-oomd-util.c287 assert_se(ctx.swap_used == 8582144000); in test_oomd_system_context_acquire()
342 .swap_used = 20971440 * 1024U, in test_oomd_mem_and_swap_free_below()
351 .swap_used = 3310136 * 1024U, in test_oomd_mem_and_swap_free_below()
360 .swap_used = 0, in test_oomd_mem_and_swap_free_below()
Doomd-util.c142 return (ctx->swap_total - ctx->swap_used) < swap_threshold; in oomd_swap_free_below()
487 ctx.swap_used = ctx.swap_total - swap_free; in oomd_system_context_acquire()
610 FORMAT_BYTES(ctx->swap_used), in oomd_dump_system_context()
Doomd-util.h46 uint64_t swap_used; member
Doomd-manager.c397 m->system_context.swap_used, m->system_context.swap_total, in monitor_swap_contexts_handler()
419 … m->system_context.swap_used, m->system_context.swap_total, in monitor_swap_contexts_handler()