Searched refs:MANAGED_OOM_PREFERENCE_AVOID (Results 1 – 5 of 5) sorted by relevance
152 assert_se(ctx->preference == MANAGED_OOM_PREFERENCE_AVOID); in test_oomd_cgroup_context_acquire_and_insert()161 root_pref = root_xattrs > 0 ? MANAGED_OOM_PREFERENCE_AVOID : MANAGED_OOM_PREFERENCE_NONE; in test_oomd_cgroup_context_acquire_and_insert()412 .preference = MANAGED_OOM_PREFERENCE_AVOID }, in test_oomd_sort_cgroups()
367 ctx->preference = r == 1 ? MANAGED_OOM_PREFERENCE_AVOID : ctx->preference; in oomd_cgroup_context_acquire()
327 MANAGED_OOM_PREFERENCE_AVOID = 1, enumerator
2295 [MANAGED_OOM_PREFERENCE_AVOID] = "avoid",
778 if (c->moom_preference == MANAGED_OOM_PREFERENCE_AVOID) in cgroup_oomd_xattr_apply()781 if (c->moom_preference != MANAGED_OOM_PREFERENCE_AVOID) in cgroup_oomd_xattr_apply()