Lines Matching refs:nfds
2238 lwip_pollscan(struct pollfd *fds, nfds_t nfds, enum lwip_pollscan_opts opts) in lwip_pollscan() argument
2246 for (fdi = 0; fdi < nfds; fdi++) { in lwip_pollscan()
2329 lwip_poll_inc_sockets_used(struct pollfd *fds, nfds_t nfds) in lwip_poll_inc_sockets_used() argument
2335 for (fdi = 0; fdi < nfds; fdi++) { in lwip_poll_inc_sockets_used()
2344 lwip_poll_dec_sockets_used(struct pollfd *fds, nfds_t nfds) in lwip_poll_dec_sockets_used() argument
2350 for (fdi = 0; fdi < nfds; fdi++) { in lwip_poll_dec_sockets_used()
2359 #define lwip_poll_inc_sockets_used(fds, nfds) argument
2360 #define lwip_poll_dec_sockets_used(fds, nfds) argument
2364 lwip_poll(struct pollfd *fds, nfds_t nfds, int timeout) in lwip_poll() argument
2374 (void*)fds, (int)nfds, timeout)); in lwip_poll()
2375 LWIP_ERROR("lwip_poll: invalid fds", ((fds != NULL && nfds > 0) || (fds == NULL && nfds == 0)), in lwip_poll()
2378 lwip_poll_inc_sockets_used(fds, nfds); in lwip_poll()
2382 nready = lwip_pollscan(fds, nfds, LWIP_POLLSCAN_CLEAR); in lwip_poll()
2385 lwip_poll_dec_sockets_used(fds, nfds); in lwip_poll()
2397 …API_SELECT_CB_VAR_ALLOC(select_cb, set_errno(EAGAIN); lwip_poll_dec_sockets_used(fds, nfds); retur… in lwip_poll()
2406 API_SELECT_CB_VAR_REF(select_cb).poll_nfds = nfds; in lwip_poll()
2413 lwip_poll_dec_sockets_used(fds, nfds); in lwip_poll()
2424 nready = lwip_pollscan(fds, nfds, LWIP_POLLSCAN_INC_WAIT); in lwip_poll()
2444 nready = lwip_pollscan(fds, nfds, LWIP_POLLSCAN_DEC_WAIT); in lwip_poll()
2460 lwip_poll_dec_sockets_used(fds, nfds); in lwip_poll()
2473 lwip_poll_dec_sockets_used(fds, nfds); in lwip_poll()