Home
last modified time | relevance | path

Searched refs:swap_usage (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/oom/
Dtest-oomd-util.c135 assert_se(ctx->swap_usage == 0); in test_oomd_cgroup_context_acquire_and_insert()
379 .swap_usage = 20, in test_oomd_sort_cgroups()
384 .swap_usage = 60, in test_oomd_sort_cgroups()
389 .swap_usage = 40, in test_oomd_sort_cgroups()
394 .swap_usage = 10, in test_oomd_sort_cgroups()
399 .swap_usage = 11, in test_oomd_sort_cgroups()
404 .swap_usage = 90, in test_oomd_sort_cgroups()
409 .swap_usage = 99, in test_oomd_sort_cgroups()
Doomd-util.h29 uint64_t swap_usage; member
104 return CMP((*c2)->swap_usage, (*c1)->swap_usage); in compare_swap_usage()
Doomd-util.c307 if (sorted[i]->swap_usage <= threshold_usage) in oomd_kill_by_swap_usage()
392 …_get_attribute_as_uint64(SYSTEMD_CGROUP_CONTROLLER, path, "memory.swap.current", &ctx->swap_usage); in oomd_cgroup_context_acquire()
560 strempty(prefix), FORMAT_BYTES(ctx->swap_usage)); in oomd_dump_swap_cgroup_context()