Searched refs:new_rlimit (Results 1 – 1 of 1) sorted by relevance
1226 struct rlimit new_rlimit; in bump_rlimit_nofile() local1233 new_rlimit = (struct rlimit) { 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()1247 r = setrlimit_closest(RLIMIT_NOFILE, &new_rlimit); in bump_rlimit_nofile()1255 struct rlimit new_rlimit; in bump_rlimit_memlock() local1271 new_rlimit = (struct rlimit) { 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()1282 r = setrlimit_closest(RLIMIT_MEMLOCK, &new_rlimit); in bump_rlimit_memlock()