Searched refs:rlim (Results 1 – 4 of 4) sorted by relevance
34 struct rlimit rlim; in main() local75 rlim.rlim_cur = nfiles + 10; in main()76 rlim.rlim_max = nfiles + 10; in main()77 if (setrlimit(RLIMIT_NOFILE, &rlim)) { in main()78 fprintf(stderr, "Unable to raise RLIMIT_NOFILE to %ld\n", rlim.rlim_cur); in main()
247 struct rlimit rlim; in main() local312 rlim.rlim_cur = 8192; in main()313 rlim.rlim_max = 8192; in main()314 if (setrlimit(RLIMIT_NOFILE, &rlim) == -1) { in main()
305 rlimit rlim; in IncreaseThreadPriority() local306 int result = getrlimit(RLIMIT_NICE, &rlim); in IncreaseThreadPriority()307 if (result == 0 && rlim.rlim_cur == 40) { in IncreaseThreadPriority()
682 struct rlimit rlim = { in seccomp_fork_rlimit() local687 if (setrlimit(RLIMIT_AS, &rlim) != 0) { in seccomp_fork_rlimit()