Home
last modified time | relevance | path

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

/systemd-251/src/basic/
Drlimit-util.c52 int setrlimit_closest_all(const struct rlimit *const *rlim, int *which_failed) { in setrlimit_closest_all() argument
65 if (which_failed) in setrlimit_closest_all()
66 *which_failed = i; in setrlimit_closest_all()
72 if (which_failed) in setrlimit_closest_all()
73 *which_failed = -1; in setrlimit_closest_all()
Drlimit-util.h13 int setrlimit_closest_all(const struct rlimit * const *rlim, int *which_failed);
/systemd-251/src/nspawn/
Dnspawn.c3226 int r, which_failed; in inner_child() local
3391 r = setrlimit_closest_all((const struct rlimit *const*) arg_rlimit, &which_failed); in inner_child()
3393 …log_error_errno(r, "Failed to apply resource limit RLIMIT_%s: %m", rlimit_to_string(which_failed)); in inner_child()
/systemd-251/src/core/
Dexecute.c4630 int which_failed; in exec_child() local
4635 … r = setrlimit_closest_all((const struct rlimit* const *) context->rlimit, &which_failed); in exec_child()
4638 …or_errno(unit, r, "Failed to adjust resource limit RLIMIT_%s: %m", rlimit_to_string(which_failed)); in exec_child()