Home
last modified time | relevance | path

Searched refs:lws_context_per_thread (Results 1 – 25 of 84) sorted by relevance

1234

/third_party/libwebsockets/lib/event-libs/glib/
Dglib.c74 lws_glib_set_idle(struct lws_context_per_thread *pt) in lws_glib_set_idle()
92 lws_glib_set_timeout(struct lws_context_per_thread *pt, unsigned int ms) in lws_glib_set_timeout()
114 struct lws_context_per_thread *pt; in lws_glib_dispatch()
169 struct lws_context_per_thread *pt = (struct lws_context_per_thread *)p; in lws_glib_hrtimer_cb()
197 struct lws_context_per_thread *pt = (struct lws_context_per_thread *)p; in lws_glib_idle_timer_cb()
234 struct lws_context_per_thread *pt = ctx; in lws_glib_sigint_cb()
264 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; in elops_accept_glib()
309 struct lws_context_per_thread *pt = &context->pt[tsi]; in elops_init_pt_glib()
348 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; in elops_io_glib()
390 struct lws_context_per_thread *pt = &context->pt[tsi]; in elops_run_pt_glib()
[all …]
/third_party/libwebsockets/lib/event-libs/sdevent/
Dsdevent.c10 struct lws_context_per_thread *pt;
24 struct lws_context_per_thread *pt = (struct lws_context_per_thread *)userdata; in sultimer_handler()
52 struct lws_context_per_thread *pt = (struct lws_context_per_thread *)userdata; in idle_handler()
96 struct lws_context_per_thread *pt = &context->pt[(int)wsi->tsi]; in sock_accept_handler()
159 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; in io_sd()
215 struct lws_context_per_thread *pt; in init_vhost_listen_wsi_sd()
248 struct lws_context_per_thread *pt = &context->pt[tsi]; in init_pt_sd()
338 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; in sock_accept_sd()
361 struct lws_context_per_thread *pt = &context->pt[tsi]; in run_pt_sd()
381 struct lws_context_per_thread *pt = &context->pt[tsi]; in destroy_pt_sd()
/third_party/libwebsockets/lib/core-net/
Dsorted-usec-list.c80 struct lws_context_per_thread *pt = &context->pt[tsi]; in lws_sul2_schedule()
102 struct lws_context_per_thread *pt = (struct lws_context_per_thread *) in __lws_sul_service_ripe()
103 lws_container_of(own, struct lws_context_per_thread, in __lws_sul_service_ripe()
190 struct lws_context_per_thread *pt = &ctx->pt[0]; in lws_sul_nonmonotonic_adjust()
244 struct lws_context_per_thread *pt; in lws_sul_earliest_wakeable_event()
281 struct lws_context_per_thread *_pt = &ctx->pt[tsi]; in lws_sul_schedule()
303 struct lws_context_per_thread *_pt = &ctx->pt[tsi]; in lws_sul_schedule_wakesuspend()
333 struct lws_context_per_thread *pt; in lws_sul_debug_zombies()
Dwsi-timeout.c57 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; in __lws_set_timer_usecs()
79 struct lws_context_per_thread *pt = &cx->pt[(int)wsi->tsi]; in lws_sul_wsitimeout_cb()
127 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; in __lws_set_timeout()
142 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; in lws_set_timeout()
178 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; in lws_set_timeout_us()
202 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; in lws_validity_cb()
210 struct lws_context_per_thread *pt = &cx->pt[(int)wsi->tsi]; in lws_validity_cb()
252 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; in _lws_validity_confirmed_role()
Dprivate-lib-core-net.h280 struct lws_context_per_thread { struct
943 lws_service_do_ripe_rxflow(struct lws_context_per_thread *pt);
983 lws_pt_mutex_init(struct lws_context_per_thread *pt) in lws_pt_mutex_init()
990 lws_pt_mutex_destroy(struct lws_context_per_thread *pt) in lws_pt_mutex_destroy()
1001 lws_pt_stats_lock(struct lws_context_per_thread *pt) in lws_pt_stats_lock()
1007 lws_pt_stats_unlock(struct lws_context_per_thread *pt) in lws_pt_stats_unlock()
1209 __lws_seq_timeout_check(struct lws_context_per_thread *pt, lws_usec_t usnow);
1212 __lws_ss_timeout_check(struct lws_context_per_thread *pt, lws_usec_t usnow);
1239 lws_wsi_inject_to_loop(struct lws_context_per_thread *pt, struct lws *wsi);
1302 lws_cgi_kill_terminated(struct lws_context_per_thread *pt);
[all …]
Droute.c142 _lws_route_remove(struct lws_context_per_thread *pt, lws_route_t *robj, int flags) in _lws_route_remove()
169 _lws_route_table_empty(struct lws_context_per_thread *pt) in _lws_route_table_empty()
186 _lws_route_table_ifdown(struct lws_context_per_thread *pt, int idx) in _lws_route_table_ifdown()
201 _lws_route_est_outgoing(struct lws_context_per_thread *pt, in _lws_route_est_outgoing()
276 _lws_route_find_source(struct lws_context_per_thread *pt, in _lws_route_find_source()
300 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; in _lws_route_check_wsi()
344 _lws_route_pt_close_unroutable(struct lws_context_per_thread *pt) in _lws_route_pt_close_unroutable()
377 _lws_route_pt_close_route_users(struct lws_context_per_thread *pt, in _lws_route_pt_close_route_users()
Dsequencer.c48 struct lws_context_per_thread *pt;
65 struct lws_context_per_thread *pt = lws_container_of(sul, in lws_sul_seq_heartbeat_cb()
66 struct lws_context_per_thread, sul_seq_heartbeat); in lws_sul_seq_heartbeat_cb()
86 lws_seq_pt_init(struct lws_context_per_thread *pt) in lws_seq_pt_init()
100 struct lws_context_per_thread *pt = &i->context->pt[i->tsi]; in lws_seq_create()
173 lws_seq_destroy_all_on_pt(struct lws_context_per_thread *pt) in lws_seq_destroy_all_on_pt()
Dservice.c250 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; in lws_rxflow_cache()
299 struct lws_context_per_thread *pt; in lws_service_adjust_timeout()
384 lws_buflist_aware_read(struct lws_context_per_thread *pt, struct lws *wsi, in lws_buflist_aware_read()
475 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; in lws_buflist_aware_finished_consuming()
517 lws_service_do_ripe_rxflow(struct lws_context_per_thread *pt) in lws_service_do_ripe_rxflow()
570 struct lws_context_per_thread *pt; in lws_service_flag_pending()
641 struct lws_context_per_thread *pt; in lws_service_fd_tsi()
821 struct lws_context_per_thread *pt; in lws_service()
849 struct lws_context_per_thread *pt; in lws_service_tsi()
Dpollfd.c31 volatile struct lws_context_per_thread *vpt; in _lws_change_pollfd()
33 struct lws_context_per_thread *pt; in _lws_change_pollfd()
91 vpt = (volatile struct lws_context_per_thread *)pt; in _lws_change_pollfd()
227 struct lws_context_per_thread *pt, int allow) in lws_accept_modulation()
249 __dump_fds(struct lws_context_per_thread *pt, const char *s) in __dump_fds()
273 struct lws_context_per_thread *pt = &context->pt[(int)wsi->tsi]; in __insert_wsi_socket_into_fds()
364 struct lws_context_per_thread *pt = &context->pt[(int)wsi->tsi]; in __remove_wsi_socket_from_fds()
509 struct lws_context_per_thread *pt; in lws_change_pollfd()
/third_party/libwebsockets/lib/event-libs/libevent/
Dlibevent.c34 struct lws_context_per_thread *pt = (struct lws_context_per_thread *)p; in lws_event_hrtimer_cb()
58 struct lws_context_per_thread *pt = (struct lws_context_per_thread *)p; in lws_event_idle_timer_cb()
108 struct lws_context_per_thread *pt; in lws_event_cb()
163 struct lws_context_per_thread *pt = ctx; in lws_event_sigint_cb()
181 struct lws_context_per_thread *pt = &context->pt[(int)wsi->tsi]; in elops_listen_init_event()
199 struct lws_context_per_thread *pt = &context->pt[tsi]; in elops_init_pt_event()
263 struct lws_context_per_thread *pt; in elops_accept_event()
291 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; in elops_io_event()
351 struct lws_context_per_thread *pt = &context->pt[tsi]; in elops_destroy_pt_event()
375 struct lws_context_per_thread *pt; in elops_destroy_wsi_event()
[all …]
/third_party/libwebsockets/lib/event-libs/libuv/
Dlibuv.c40 struct lws_context_per_thread *pt = ptpr->pt; in lws_uv_sultimer_cb()
62 struct lws_context_per_thread *pt = ptpr->pt; in lws_uv_idle()
98 struct lws_context_per_thread *pt = &context->pt[(int)wsi->tsi]; in lws_io_cb()
184 struct lws_context_per_thread *pt = (struct lws_context_per_thread *) in lws_uv_signal_handler()
199 lws_uv_finalize_pt(struct lws_context_per_thread *pt) in lws_uv_finalize_pt()
260 struct lws_context_per_thread *pt = in lws_uv_close_cb_sa()
314 struct lws_context_per_thread *pt = &context->pt[tsi]; in lws_libuv_static_refcount_add()
373 struct lws_context_per_thread *pt; in elops_destroy_context1_uv()
400 struct lws_context_per_thread *pt; in elops_destroy_context2_uv()
497 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; in elops_accept_uv()
[all …]
Dprivate-lib-event-libs-libuv.h44 ((struct lws_context_per_thread *)((uv_handle_t *)((_x)->data)))
56 struct lws_context_per_thread *pt;
/third_party/libwebsockets/lib/roles/cgi/
Dops-cgi.c28 rops_handle_POLLIN_cgi(struct lws_context_per_thread *pt, struct lws *wsi, in rops_handle_POLLIN_cgi()
108 struct lws_context_per_thread *pt = lws_container_of(sul, in lws_cgi_sul_cb()
109 struct lws_context_per_thread, sul_cgi); in lws_cgi_sul_cb()
121 struct lws_context_per_thread *pt, int destroy) in rops_pt_init_destroy_cgi()
130 rops_close_role_cgi(struct lws_context_per_thread *pt, struct lws *wsi) in rops_close_role_cgi()
/third_party/libwebsockets/lib/event-libs/libev/
Dlibev.c37 struct lws_context_per_thread *pt = ptpr->pt; in lws_ev_hrtimer_cb()
55 struct lws_context_per_thread *pt = ptpr->pt; in lws_ev_idle_cb()
94 struct lws_context_per_thread *pt; in lws_accept_cb()
141 struct lws_context_per_thread *pt = &context->pt[(int)wsi->tsi]; in elops_listen_init_ev()
160 struct lws_context_per_thread *pt = &context->pt[tsi]; in elops_init_pt_ev()
245 struct lws_context_per_thread *pt = &context->pt[(int)wsi->tsi]; in elops_listen_destroy_ev()
257 struct lws_context_per_thread *pt = &context->pt[tsi]; in elops_destroy_pt_ev()
308 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; in elops_io_ev()
348 struct lws_context_per_thread *pt; in elops_destroy_context2_ev()
408 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; in elops_destroy_wsi_ev()
/third_party/libwebsockets/lib/event-libs/uloop/
Duloop.c36 struct lws_context_per_thread *pt = upt->pt; in lws_uloop_hrtimer_cb()
54 struct lws_context_per_thread *pt = upt->pt; in lws_uloop_idle_timer_cb()
101 struct lws_context_per_thread *pt; in lws_uloop_cb()
153 struct lws_context_per_thread *pt = &context->pt[tsi]; in elops_init_pt_uloop()
190 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; in elops_io_uloop()
231 struct lws_context_per_thread *pt = &context->pt[tsi]; in elops_destroy_pt_uloop()
243 struct lws_context_per_thread *pt; in elops_destroy_wsi_uloop()
/third_party/libwebsockets/lib/event-libs/poll/
Dpoll.c31 struct lws_context_per_thread *pt = &cx->pt[tsi]; in elops_foreign_thread_poll()
32 volatile struct lws_context_per_thread *vpt = in elops_foreign_thread_poll()
33 (volatile struct lws_context_per_thread *)pt; in elops_foreign_thread_poll()
/third_party/libwebsockets/lib/roles/dbus/
Ddbus.c152 struct lws_context_per_thread *pt = &ctx->vh->context->pt[ctx->tsi]; in lws_dbus_add_watch()
234 struct lws_context_per_thread *pt = &ctx->vh->context->pt[ctx->tsi]; in lws_dbus_remove_watch()
284 struct lws_context_per_thread *pt = lws_container_of(sul, in lws_dbus_sul_cb()
285 struct lws_context_per_thread, dbus.sul); in lws_dbus_sul_cb()
309 struct lws_context_per_thread *pt = &ctx->vh->context->pt[ctx->tsi]; in lws_dbus_add_timeout()
347 struct lws_context_per_thread *pt = &ctx->vh->context->pt[ctx->tsi]; in lws_dbus_remove_timeout()
477 rops_handle_POLLIN_dbus(struct lws_context_per_thread *pt, struct lws *wsi, in rops_handle_POLLIN_dbus()
523 struct lws_context_per_thread *pt, int destroy) in rops_pt_init_destroy_dbus()
/third_party/libwebsockets/lib/plat/unix/
Dunix-pipe.c33 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; in lws_plat_pipe_create()
67 struct lws_context_per_thread *pt = &ctx->pt[tsi]; in lws_plat_pipe_signal()
85 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; in lws_plat_pipe_close()
Dunix-service.c39 struct lws_context_per_thread *pt = &context->pt[tsi]; in _lws_plat_service_forced_tsi()
75 volatile struct lws_context_per_thread *vpt; in _lws_plat_service_tsi()
76 struct lws_context_per_thread *pt; in _lws_plat_service_tsi()
97 vpt = (volatile struct lws_context_per_thread *)pt; in _lws_plat_service_tsi()
/third_party/libwebsockets/lib/tls/
Dprivate-network.h27 struct lws_context_per_thread;
29 int (*fake_POLLIN_for_buffered)(struct lws_context_per_thread *pt);
125 lws_tls_fake_POLLIN_for_buffered(struct lws_context_per_thread *pt);
208 lws_tls_fake_POLLIN_for_buffered(struct lws_context_per_thread *pt);
/third_party/libwebsockets/lib/plat/freertos/
Dfreertos-pipe.c30 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; in lws_plat_pipe_create()
91 struct lws_context_per_thread *pt = &ctx->pt[tsi]; in lws_plat_pipe_signal()
117 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; in lws_plat_pipe_close()
Dfreertos-fds.c30 struct lws_context_per_thread *pt = &context->pt[(int)wsi->tsi]; in lws_plat_insert_socket_into_fds()
39 struct lws_context_per_thread *pt = &context->pt[(int)wsi->tsi]; in lws_plat_delete_socket_from_fds()
Dfreertos-service.c43 volatile struct lws_context_per_thread *vpt; in _lws_plat_service_tsi()
44 struct lws_context_per_thread *pt; in _lws_plat_service_tsi()
54 vpt = (volatile struct lws_context_per_thread *)pt; in _lws_plat_service_tsi()
/third_party/libwebsockets/lib/plat/windows/
Dwindows-pipe.c38 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; in lws_plat_pipe_create()
99 struct lws_context_per_thread *pt = &ctx->pt[tsi]; in lws_plat_pipe_signal()
119 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi]; in lws_plat_pipe_close()
/third_party/libwebsockets/lib/roles/
Dprivate-lib-roles.h198 struct lws_context_per_thread *pt, int destroy);
208 typedef int (*lws_rops_handle_POLLIN_t)(struct lws_context_per_thread *pt,
234 typedef int (*lws_rops_close_role_t)(struct lws_context_per_thread *pt,
304 struct lws_context_per_thread;

1234