HomeSort by: relevance | last modified time | path
    Searched refs:maxfds (Results 1 - 2 of 2) sorted by relevancy

  /src/crypto/external/bsd/openssh/dist/
ssh-agent.c 2043 after_poll(struct pollfd *pfd, size_t npfd, u_int maxfds)
2068 if (npfd > maxfds) {
2070 "skipping accept", activefds, maxfds);
2097 prepare_poll(struct pollfd **pfdp, size_t *npfdp, struct timespec *timeoutp, u_int maxfds)
2127 if (npfd > maxfds) {
2129 "skipping arming listener", npfd, maxfds);
2250 u_int maxfds; local
2401 maxfds = rlim.rlim_cur - SSH_AGENT_MIN_FDS;
2562 prepare_poll(&pfd, &npfd, &timeout, maxfds);
2574 after_poll(pfd, npfd, maxfds);
    [all...]
  /src/external/apache2/mDNSResponder/dist/mDNSShared/
uds_daemon.c 6815 struct rlimit maxfds, newfds; local
6819 if (getrlimit(RLIMIT_NOFILE, &maxfds) < 0) { my_perror("ERROR: Unable to get file descriptor limit"); return 0; }
6820 if (setrlimit(RLIMIT_NOFILE, &maxfds) < 0) my_perror("ERROR: Unable to set maximum file descriptor limit");
6822 if (getrlimit(RLIMIT_NOFILE, &maxfds) < 0) { my_perror("ERROR: Unable to get file descriptor limit"); return 0; }
6823 newfds.rlim_max = (maxfds.rlim_max > MIN_OPENFILES) ? maxfds.rlim_max : MIN_OPENFILES;
6824 newfds.rlim_cur = (maxfds.rlim_cur > MIN_OPENFILES) ? maxfds.rlim_cur : MIN_OPENFILES;
6825 if (newfds.rlim_max != maxfds.rlim_max || newfds.rlim_cur != maxfds.rlim_cur
    [all...]

Completed in 21 milliseconds