Home
last modified time | relevance | path

Searched refs:cur_fds (Results 1 – 7 of 7) sorted by relevance

/mOS-networking-stack/samples/lighttpd-1.4.32/src/
H A Dserver.c473 srv->cur_fds = open("/dev/null", O_RDONLY); in initialize_fd_framework()
474 close(srv->cur_fds); in initialize_fd_framework()
852 if ((srv->cur_fds + srv->want_fds < srv->max_fds * 8 / 10) && /* we have enough unused fds */ in start_server()
865 if ((srv->cur_fds + srv->want_fds > srv->max_fds * 9 / 10) || /* out of fds */ in start_server()
928 int free_fds = srv->max_fds - srv->cur_fds - 16; in start_server()
2088 if ((srv->cur_fds + srv->want_fds < srv->max_fds * 8 / 10) && /* we have enough unused fds */ in main()
2101 if ((srv->cur_fds + srv->want_fds > srv->max_fds * 9 / 10) || /* out of fds */ in main()
2160 int free_fds = srv->max_fds - srv->cur_fds - 16; in main()
H A Dbase.h590 int cur_fds; /* currently used fds */ member
H A Dnetwork.c280 srv->cur_fds = srv_socket->fd;
496 srv->cur_fds = srv->first_entry->srv_sockets.ptr[srv->first_entry->srv_sockets.used - 1]->fd;
H A Dmod_proxy.c349 srv->cur_fds--; in proxy_connection_close()
789 srv->cur_fds++; in proxy_write_request()
H A Dmod_scgi.c1208 srv->cur_fds--; in scgi_connection_cleanup()
1259 srv->cur_fds--; in scgi_reconnect()
2199 "socket failed:", strerror(errno), srv->cur_fds, srv->max_fds); in scgi_write_request()
2204 srv->cur_fds++; in scgi_write_request()
H A Dconnections.c146 srv->cur_fds--;
1348 srv->cur_fds++;
H A Dmod_fastcgi.c1481 srv->cur_fds--; in fcgi_connection_close()
1530 srv->cur_fds--; in fcgi_reconnect()
2943 "socket failed:", strerror(errno), srv->cur_fds, srv->max_fds); in fcgi_write_request()
2948 srv->cur_fds++; in fcgi_write_request()