Searched refs:max_fds (Results 1 – 3 of 3) sorted by relevance
43 rlim_t max_fds; in GetMaxFds() local47 max_fds = kSystemDefaultMaxFds; in GetMaxFds()50 max_fds = nofile.rlim_cur; in GetMaxFds()53 if (max_fds > INT_MAX) in GetMaxFds()54 max_fds = INT_MAX; in GetMaxFds()56 return static_cast<size_t>(max_fds); in GetMaxFds()
226 size_t max_fds = GetMaxFds(); in CloseSuperfluousFds() local231 for (size_t i = 0; i < max_fds; ++i) { in CloseSuperfluousFds()280 if (fd < static_cast<int>(max_fds)) { in CloseSuperfluousFds()
186 size_t max_fds = base::GetMaxFds(); in CloseUnusedFileDescriptors() local187 for (size_t i = 0; i < max_fds; i++) { in CloseUnusedFileDescriptors()