Searched refs:oomd_mem_available_below (Results 1 – 4 of 4) sorted by relevance
344 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()
64 bool oomd_mem_available_below(const OomdSystemContext *ctx, int threshold_permyriad);
125 bool oomd_mem_available_below(const OomdSystemContext *ctx, int threshold_permyriad) { in oomd_mem_available_below() function
388 if (oomd_mem_available_below(&m->system_context, 10000 - m->swap_used_limit_permyriad) && in monitor_swap_contexts_handler()