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()
231 size_t max_fds = GetMaxFds(); in CloseSuperfluousFds() local236 for (size_t i = 0; i < max_fds; ++i) { in CloseSuperfluousFds()285 if (fd < static_cast<int>(max_fds)) { in CloseSuperfluousFds()
188 size_t max_fds = base::GetMaxFds(); in CloseUnusedFileDescriptors() local189 for (size_t i = 0; i < max_fds; i++) { in CloseUnusedFileDescriptors()