Searched refs:nofile (Results 1 – 7 of 7) sorted by relevance
50 struct rlimit nofile; in GetMaxFds() local51 if (getrlimit(RLIMIT_NOFILE, &nofile)) { in GetMaxFds()55 max_fds = nofile.rlim_cur; in GetMaxFds()
40 struct rlimit nofile; in GetMaxFds() local41 if (getrlimit(RLIMIT_NOFILE, &nofile)) { in GetMaxFds()46 max_fds = nofile.rlim_cur; in GetMaxFds()
187 nofile: in parse_opt()216 goto nofile; in parse_opt()
278 struct rlimit nofile; in RecordOpenFilesLimit() local279 if (getrlimit(RLIMIT_NOFILE, &nofile)) in RecordOpenFilesLimit()281 GetMaxFDHistogram(type)->Add(nofile.rlim_cur); in RecordOpenFilesLimit()
112 const struct rlimit nofile = {0, 0}; in SpawnChrootHelper() local113 if (setrlimit(RLIMIT_NOFILE, &nofile)) in SpawnChrootHelper()
98 struct rlimit nofile; in MaybeHistogramFdLimit() local99 if (!getrlimit(RLIMIT_NOFILE, &nofile)) { in MaybeHistogramFdLimit()100 soft_fd_limit = nofile.rlim_cur; in MaybeHistogramFdLimit()101 hard_fd_limit = nofile.rlim_max; in MaybeHistogramFdLimit()
240 ATTACH DATABASE '/nodir/nofile.x' AS notadb;242 } {1 {unable to open database: /nodir/nofile.x}}