Home
last modified time | relevance | path

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

/systemd-251/src/oom/
Dtest-oomd-util.c345 assert_se(oomd_swap_free_below(&ctx, 2000) == true); in test_oomd_mem_and_swap_free_below()
354 assert_se(oomd_swap_free_below(&ctx, 2000) == false); in test_oomd_mem_and_swap_free_below()
363 assert_se(oomd_swap_free_below(&ctx, 2000) == false); in test_oomd_mem_and_swap_free_below()
Doomd-util.h67 bool oomd_swap_free_below(const OomdSystemContext *ctx, int threshold_permyriad);
Doomd-util.c135 bool oomd_swap_free_below(const OomdSystemContext *ctx, int threshold_permyriad) { in oomd_swap_free_below() function
Doomd-manager.c389oomd_swap_free_below(&m->system_context, 10000 - m->swap_used_limit_permyriad)) { in monitor_swap_contexts_handler()