Searched refs:max_fds (Results 1 – 3 of 3) sorted by relevance
45 rlim_t max_fds; in GetMaxFds() local49 max_fds = kSystemDefaultMaxFds; in GetMaxFds()52 max_fds = nofile.rlim_cur; in GetMaxFds()55 if (max_fds > INT_MAX) in GetMaxFds()56 max_fds = INT_MAX; in GetMaxFds()58 return static_cast<size_t>(max_fds); in GetMaxFds()
233 size_t max_fds = GetMaxFds(); in CloseSuperfluousFds() local238 for (size_t i = 0; i < max_fds; ++i) { in CloseSuperfluousFds()287 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()