Searched refs:fds_count (Results 1 – 20 of 20) sorted by relevance
/external/libwebsockets/lib/core-net/ |
D | pollfd.c | 72 assert(wsi->position_in_fds_table < (int)pt->fds_count); in _lws_change_pollfd() 253 lwsl_cx_warn(pt->context, "fds_count %u, %s", pt->fds_count, s); in __dump_fds() 255 for (n = 0; n < pt->fds_count; n++) { in __dump_fds() 281 wsi->tsi, wsi->desc.sockfd, pt->fds_count); in __insert_wsi_socket_into_fds() 283 if ((unsigned int)pt->fds_count >= context->fd_limit_per_thread) { in __insert_wsi_socket_into_fds() 319 wsi->position_in_fds_table = (int)pt->fds_count; in __insert_wsi_socket_into_fds() 324 pa.events = pt->fds[pt->fds_count].events; in __insert_wsi_socket_into_fds() 339 if ((unsigned int)pt->fds_count == context->fd_limit_per_thread - 1) in __insert_wsi_socket_into_fds() 395 assert(m == LWS_NO_FDS_POS || (m >= 0 && (unsigned int)m < pt->fds_count)); in __remove_wsi_socket_from_fds() 408 assert(pt->fds_count && (unsigned int)m != pt->fds_count); in __remove_wsi_socket_from_fds() [all …]
|
D | adopt.c | 34 lwsl_cx_debug(context, "%d %d\n", context->pt[n].fds_count, in lws_get_idlest_tsi() 36 if ((unsigned int)context->pt[n].fds_count != in lws_get_idlest_tsi() 38 (unsigned int)context->pt[n].fds_count < lowest) { in lws_get_idlest_tsi() 39 lowest = context->pt[n].fds_count; in lws_get_idlest_tsi()
|
D | route.c | 357 for (n = 0; n < pt->fds_count; n++) { in _lws_route_pt_close_unroutable() 383 for (n = 0; n < pt->fds_count; n++) { in _lws_route_pt_close_route_users()
|
D | wsi.c | 173 for (n = 0; n < pt->fds_count; n++) { in lws_callback_all_protocol() 215 for (n = 0; n < pt->fds_count; n++) { in lws_callback_all_protocol_vhost_args() 479 for (n = 0; n < pt->fds_count; n++) { in lws_rx_flow_allow_all_protocol()
|
D | close.c | 261 wsi->a.context->pt[(int)wsi->tsi].fds_count); in __lws_free_wsi()
|
D | private-lib-core-net.h | 364 unsigned int fds_count; member
|
D | vhost.c | 1224 while (n < pt->fds_count) {
|
/external/libwebsockets/lib/plat/windows/ |
D | windows-service.c | 40 for (n = 0; n < (int)pt->fds_count; n++) { in _lws_plat_service_forced_tsi() 97 for (i = 0; i < pt->fds_count; ++i) { in _lws_plat_service_tsi() 160 int d = WSAPoll((WSAPOLLFD *)&pt->fds[0], pt->fds_count, (int)(timeout_us / LWS_US_PER_MS)); in _lws_plat_service_tsi() 162 …lwsl_err("%s: WSAPoll failed: count %d, err %d: %d\n", __func__, pt->fds_count, d, WSAGetLastError… in _lws_plat_service_tsi() 173 for (n = 0; n < (int)pt->fds_count; n++) in _lws_plat_service_tsi()
|
D | windows-sockets.c | 200 pt->fds[pt->fds_count].events |= LWS_POLLIN; in lws_plat_insert_socket_into_fds() 207 pt->fds[pt->fds_count++].revents = 0; in lws_plat_insert_socket_into_fds() 209 lws_plat_change_pollfd(context, wsi, &pt->fds[pt->fds_count - 1]); in lws_plat_insert_socket_into_fds() 218 pt->fds_count--; in lws_plat_delete_socket_from_fds()
|
D | windows-init.c | 117 pt->fds_count = 0; in lws_plat_init()
|
D | windows-spawn.c | 74 if ((unsigned int)context->pt[tsi].fds_count == in lws_create_basic_wsi()
|
/external/libwebsockets/lib/plat/optee/ |
D | network.c | 140 n = poll(pt->fds, pt->fds_count, timeout_us / LWS_US_PER_MS); in _lws_plat_service_tsi() 165 for (n = 0; n < (int)pt->fds_count && c; n++) { in _lws_plat_service_tsi() 226 pt->fds[pt->fds_count++].revents = 0; in lws_plat_insert_socket_into_fds() 235 pt->fds_count--; in lws_plat_delete_socket_from_fds()
|
/external/libwebsockets/lib/plat/freertos/ |
D | freertos-fds.c | 32 pt->fds[pt->fds_count++].revents = 0; in lws_plat_insert_socket_into_fds() 41 pt->fds_count--; in lws_plat_delete_socket_from_fds()
|
D | freertos-service.c | 138 for (n = 0; n < (int)pt->fds_count; n++) { in _lws_plat_service_tsi() 156 for (m = 0; m < (int)pt->fds_count; m++) { in _lws_plat_service_tsi() 197 for (n = 0; n < (int)pt->fds_count && c; n++) { in _lws_plat_service_tsi()
|
/external/libwebsockets/lib/plat/unix/ |
D | unix-fds.c | 243 pt->fds[pt->fds_count++].revents = 0; in lws_plat_insert_socket_into_fds() 256 pt->fds_count--; in lws_plat_delete_socket_from_fds()
|
D | unix-service.c | 45 for (n = 0; n < (int)pt->fds_count; n++) { in _lws_plat_service_forced_tsi() 152 n = poll(pt->fds, pt->fds_count, (int)timeout_us /* ms now */ ); in _lws_plat_service_tsi()
|
D | unix-init.c | 55 m = m | (int)pt->fds_count; in lws_sul_plat_unix()
|
D | unix-spawn.c | 80 if ((unsigned int)pt->fds_count == context->fd_limit_per_thread - 1) { in lws_create_stdwsi()
|
/external/libwebsockets/lib/roles/listen/ |
D | ops-listen.c | 168 } while (pt->fds_count < context->fd_limit_per_thread - 1 && in rops_handle_POLLIN_listen()
|
/external/libwebsockets/lib/core/ |
D | context.c | 1846 while (pt->fds_count) { in lws_context_destroy()
|