Home
last modified time | relevance | path

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

/systemd-251/src/oom/
Dtest-oomd-util.c425 assert_se(oomd_sort_cgroup_contexts(h, compare_swap_usage, NULL, &sorted_cgroups) == 6); in test_oomd_sort_cgroups()
434 …assert_se(oomd_sort_cgroup_contexts(h, compare_pgscan_rate_and_memory_usage, NULL, &sorted_cgroups… in test_oomd_sort_cgroups()
443 …assert_se(oomd_sort_cgroup_contexts(h, compare_pgscan_rate_and_memory_usage, "/herp.slice/derp.sco… in test_oomd_sort_cgroups()
Doomd-util.c145 int oomd_sort_cgroup_contexts(Hashmap *h, oomd_compare_t compare_func, const char *prefix, OomdCGro… in oomd_sort_cgroup_contexts() function
255 n = oomd_sort_cgroup_contexts(h, compare_pgscan_rate_and_memory_usage, prefix, &sorted); in oomd_kill_by_pgscan_rate()
297 n = oomd_sort_cgroup_contexts(h, compare_swap_usage, NULL, &sorted); in oomd_kill_by_swap_usage()
Doomd-util.h110 int oomd_sort_cgroup_contexts(Hashmap *h, oomd_compare_t compare_func, const char *prefix, OomdCGro…