Searched refs:setrlimit_closest (Results 1 - 7 of 7) sorted by relevance

/systemd/src/basic/
H A Drlimit-util.h29 int setrlimit_closest(int resource, const struct rlimit *rlim);
H A Drlimit-util.c32 int setrlimit_closest(int resource, const struct rlimit *rlim) { function
/systemd/src/test/
H A Dtest-rlimit-util.c75 assert_se(setrlimit_closest(RLIMIT_NOFILE, &old) == 0);
82 assert_se(setrlimit_closest(RLIMIT_NOFILE, &high) == 0);
88 assert_se(setrlimit_closest(RLIMIT_NOFILE, &err) == -EINVAL);
/systemd/src/core/
H A Dmain.c1132 r = setrlimit_closest(RLIMIT_NOFILE, &nl);
H A Dexecute.c1873 if (setrlimit_closest(i, context->rlimit[i]) < 0) {
/systemd/src/journal/
H A Djournalctl.c2034 setrlimit_closest(RLIMIT_NOFILE, &RLIMIT_MAKE_CONST(16384));
/systemd/src/systemctl/
H A Dsystemctl.c4650 setrlimit_closest(RLIMIT_NOFILE, &RLIMIT_MAKE_CONST(16384));

Completed in 3054 milliseconds