Home
last modified time | relevance | path

Searched refs:max_fds (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/process/
Dprocess_metrics_posix.cc58 rlim_t max_fds; in GetMaxFds() local
62 max_fds = kSystemDefaultMaxFds; in GetMaxFds()
65 max_fds = nofile.rlim_cur; in GetMaxFds()
68 if (max_fds > INT_MAX) in GetMaxFds()
69 max_fds = INT_MAX; in GetMaxFds()
71 return static_cast<size_t>(max_fds); in GetMaxFds()
Dlaunch_posix.cc241 size_t max_fds = GetMaxFds(); in CloseSuperfluousFds() local
246 for (size_t i = 0; i < max_fds; ++i) { in CloseSuperfluousFds()
/external/libbrillo/brillo/
Dprocess.cc180 size_t max_fds = base::GetMaxFds(); in CloseUnusedFileDescriptors() local
181 for (size_t i = 0; i < max_fds; i++) { in CloseUnusedFileDescriptors()