Searched refs:oomd_swap_free_below (Results 1 – 4 of 4) sorted by relevance
345 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()
67 bool oomd_swap_free_below(const OomdSystemContext *ctx, int threshold_permyriad);
135 bool oomd_swap_free_below(const OomdSystemContext *ctx, int threshold_permyriad) { in oomd_swap_free_below() function
389 … oomd_swap_free_below(&m->system_context, 10000 - m->swap_used_limit_permyriad)) { in monitor_swap_contexts_handler()