Searched defs:rlim (Results 1 - 2 of 2) sorted by relevance

/systemd/src/basic/
H A Drlimit-util.c32 int setrlimit_closest(int resource, const struct rlimit *rlim) { argument
35 assert(rlim);
37 if (setrlimit(resource, rlim) >= 0)
47 fixed.rlim_cur = MIN(rlim->rlim_cur, highest.rlim_max);
48 fixed.rlim_max = MIN(rlim->rlim_max, highest.rlim_max);
/systemd/src/bootchart/
H A Dbootchart.c322 struct rlimit rlim; local
350 rlim.rlim_cur = 4096;
351 rlim.rlim_max = 4096;
352 (void) setrlimit(RLIMIT_NOFILE, &rlim);

Completed in 11 milliseconds