Home
last modified time | relevance | path

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

/systemd-251/src/oom/
Dtest-oomd-util.c344 assert_se(oomd_mem_available_below(&ctx, 2000) == false); in test_oomd_mem_and_swap_free_below()
353 assert_se(oomd_mem_available_below(&ctx, 2000) == true); in test_oomd_mem_and_swap_free_below()
362 assert_se(oomd_mem_available_below(&ctx, 2000) == false); in test_oomd_mem_and_swap_free_below()
Doomd-util.h64 bool oomd_mem_available_below(const OomdSystemContext *ctx, int threshold_permyriad);
Doomd-util.c125 bool oomd_mem_available_below(const OomdSystemContext *ctx, int threshold_permyriad) { in oomd_mem_available_below() function
Doomd-manager.c388 if (oomd_mem_available_below(&m->system_context, 10000 - m->swap_used_limit_permyriad) && in monitor_swap_contexts_handler()