Lines Matching refs:saved_rlimit_nofile
177 static int parse_configuration(const struct rlimit *saved_rlimit_nofile,
1740 const struct rlimit *saved_rlimit_nofile, in do_reexecute() argument
1753 assert(saved_rlimit_nofile); in do_reexecute()
1763 if (saved_rlimit_nofile->rlim_cur != 0) in do_reexecute()
1764 (void) setrlimit(RLIMIT_NOFILE, saved_rlimit_nofile); in do_reexecute()
1872 const struct rlimit *saved_rlimit_nofile, in invoke_main_loop() argument
1884 assert(saved_rlimit_nofile); in invoke_main_loop()
1914 (void) parse_configuration(saved_rlimit_nofile, saved_rlimit_memlock); in invoke_main_loop()
2079 struct rlimit *saved_rlimit_nofile, in initialize_runtime() argument
2181 (void) bump_rlimit_nofile(saved_rlimit_nofile); in initialize_runtime()
2257 static void save_rlimits(struct rlimit *saved_rlimit_nofile, in save_rlimits() argument
2260 assert(saved_rlimit_nofile); in save_rlimits()
2263 if (getrlimit(RLIMIT_NOFILE, saved_rlimit_nofile) < 0) in save_rlimits()
2270 static void fallback_rlimit_nofile(const struct rlimit *saved_rlimit_nofile) { in fallback_rlimit_nofile() argument
2278 rl = newdup(struct rlimit, saved_rlimit_nofile, 1); in fallback_rlimit_nofile()
2445 static int parse_configuration(const struct rlimit *saved_rlimit_nofile, in parse_configuration() argument
2449 assert(saved_rlimit_nofile); in parse_configuration()
2466 fallback_rlimit_nofile(saved_rlimit_nofile); in parse_configuration()
2646 struct rlimit saved_rlimit_nofile = RLIMIT_MAKE_CONST(0), in main() local
2819 save_rlimits(&saved_rlimit_nofile, &saved_rlimit_memlock); in main()
2825 (void) parse_configuration(&saved_rlimit_nofile, &saved_rlimit_memlock); in main()
2899 &saved_rlimit_nofile, in main()
2958 &saved_rlimit_nofile, in main()
2989 &saved_rlimit_nofile, in main()