Searched refs:nofile (Results 1 – 8 of 8) sorted by relevance
40 struct rlimit nofile; in GetMaxFds() local41 if (getrlimit(RLIMIT_NOFILE, &nofile)) { in GetMaxFds()46 max_fds = nofile.rlim_cur; in GetMaxFds()
50 struct rlimit nofile; in GetMaxFds() local51 if (getrlimit(RLIMIT_NOFILE, &nofile)) { in GetMaxFds()55 max_fds = nofile.rlim_cur; in GetMaxFds()
187 nofile: in parse_opt()216 goto nofile; in parse_opt()
115 const struct rlimit nofile = {0, 0}; in SpawnChrootHelper() local116 if (setrlimit(RLIMIT_NOFILE, &nofile)) in SpawnChrootHelper()
100 struct rlimit nofile; in MaybeHistogramFdLimit() local101 if (!getrlimit(RLIMIT_NOFILE, &nofile)) { in MaybeHistogramFdLimit()102 soft_fd_limit = nofile.rlim_cur; in MaybeHistogramFdLimit()103 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}}
310 struct rlimit nofile; in CloseSuperfluousFds() local312 if (getrlimit(RLIMIT_NOFILE, &nofile)) { in CloseSuperfluousFds()317 max_fds = nofile.rlim_cur; in CloseSuperfluousFds()
645 struct rlimit nofile; in RecordOpenFilesLimit() local646 if (getrlimit(RLIMIT_NOFILE, &nofile)) in RecordOpenFilesLimit()648 GetMaxFDHistogram(type)->Add(nofile.rlim_cur); in RecordOpenFilesLimit()