Searched refs:saved_rlimit (Results 1 – 1 of 1) sorted by relevance
/systemd-251/src/core/ |
D | main.c | 1225 static int bump_rlimit_nofile(const struct rlimit *saved_rlimit) { in bump_rlimit_nofile() argument 1234 .rlim_cur = MAX((rlim_t) nr, saved_rlimit->rlim_cur), in bump_rlimit_nofile() 1235 .rlim_max = MAX((rlim_t) nr, saved_rlimit->rlim_max), in bump_rlimit_nofile() 1239 if (saved_rlimit->rlim_max >= new_rlimit.rlim_max && in bump_rlimit_nofile() 1240 saved_rlimit->rlim_cur >= new_rlimit.rlim_cur) { in bump_rlimit_nofile() 1254 static int bump_rlimit_memlock(const struct rlimit *saved_rlimit) { in bump_rlimit_memlock() argument 1272 .rlim_cur = MAX3(HIGH_RLIMIT_MEMLOCK, saved_rlimit->rlim_cur, mm), in bump_rlimit_memlock() 1273 .rlim_max = MAX3(HIGH_RLIMIT_MEMLOCK, saved_rlimit->rlim_max, mm), in bump_rlimit_memlock() 1276 if (saved_rlimit->rlim_max >= new_rlimit.rlim_cur && in bump_rlimit_memlock() 1277 saved_rlimit->rlim_cur >= new_rlimit.rlim_max) { in bump_rlimit_memlock()
|