Home
last modified time | relevance | path

Searched refs:lws_container_of (Results 1 – 25 of 102) sorted by relevance

12345

/third_party/libwebsockets/lib/misc/cache-ttl/
Dheap.c42 *c = lws_container_of(a, lws_cache_ttl_item_heap_t, list_expiry), in sort_expiry()
43 *d = lws_container_of(b, lws_cache_ttl_item_heap_t, list_expiry); in sort_expiry()
99 lws_cache_ttl_item_heap_t *i = lws_container_of(d, in lws_cache_heap_item_destroy()
160 ei = lws_container_of(cache->items_lru.head, in lws_cache_item_evict_lru()
173 lws_cache_ttl_lru_t_heap_t *cache = lws_container_of(sul, in expiry_cb()
182 item = lws_container_of(cache->items_expiry.head, in expiry_cb()
204 item = lws_container_of(cache->items_expiry.head, in earliest_expiry()
238 lws_cache_ttl_item_heap_t *item = lws_container_of(d, in lws_cache_heap_specific()
266 lws_cache_ttl_item_heap_t *item = lws_container_of(d, in lws_cache_heap_lookup()
284 lws_cache_match_t *i = lws_container_of(e, in lws_cache_heap_lookup()
[all …]
Dlws-cache-ttl.c38 lws_cache_match_t *item = lws_container_of(d, lws_cache_match_t, in lws_cache_clear_matches()
138 lws_cache_match_t *m = lws_container_of(d, lws_cache_match_t, in lws_cache_lookup()
163 lws_cache_match_t *m = lws_container_of(d, lws_cache_match_t, in lws_cache_lookup()
/third_party/libwebsockets/lib/system/smd/
Dsmd.c90 lws_smd_msg_t *msg = lws_container_of(p, lws_smd_msg_t, list); in lws_smd_dump()
102 lws_smd_peer_t *pr = lws_container_of(p, lws_smd_peer_t, list); in lws_smd_dump()
124 struct lws_context *ctx = lws_container_of(smd, struct lws_context, smd); in _lws_smd_msg_assess_peers_interested()
128 lws_smd_peer_t *pr = lws_container_of(p, lws_smd_peer_t, list); in _lws_smd_msg_assess_peers_interested()
148 lws_smd_peer_t *pr = lws_container_of(p, lws_smd_peer_t, list); in _lws_smd_class_mask_union()
171 lws_smd_peer_t *xpr = lws_container_of(p, lws_smd_peer_t, list); in _lws_smd_msg_destroy()
241 lws_smd_peer_t *pr = lws_container_of(p, lws_smd_peer_t, list); in _lws_smd_msg_send()
461 lws_smd_t *smd = lws_container_of(pr->list.owner, lws_smd_t, in _lws_smd_peer_destroy()
476 lws_smd_msg_t *m1 = lws_container_of(pr->tail->list.next, in _lws_smd_peer_destroy()
503 msg = lws_container_of(tail, lws_smd_msg_t, list); in _lws_smd_msg_next_matching_filter()
[all …]
/third_party/libwebsockets/minimal-examples/api-tests/api-test-cose/
Dsign.c726 res = lws_container_of(o->head, lws_cose_validate_res_t, list); in test_cose_sign()
759 res = lws_container_of(o->head, lws_cose_validate_res_t, list); in test_cose_sign()
798 res = lws_container_of(o->head, lws_cose_validate_res_t, list); in test_cose_sign()
837 res = lws_container_of(o->head, lws_cose_validate_res_t, list); in test_cose_sign()
903 res = lws_container_of(o->head, lws_cose_validate_res_t, list); in test_cose_sign()
941 res = lws_container_of(o->head, lws_cose_validate_res_t, list); in test_cose_sign()
979 res = lws_container_of(o->head, lws_cose_validate_res_t, list); in test_cose_sign()
1017 res = lws_container_of(o->head, lws_cose_validate_res_t, list); in test_cose_sign()
1055 res = lws_container_of(o->head, lws_cose_validate_res_t, list); in test_cose_sign()
1095 res = lws_container_of(o->head, lws_cose_validate_res_t, list); in test_cose_sign()
[all …]
/third_party/libwebsockets/lib/core-net/
Dsequencer.c65 struct lws_context_per_thread *pt = lws_container_of(sul, in lws_sul_seq_heartbeat_cb()
72 lws_seq_t *s = lws_container_of(p, lws_seq_t, seq_list); in lws_sul_seq_heartbeat_cb()
139 lws_seq_event_t *seqe = lws_container_of(d, lws_seq_event_t, in seq_ev_destroy()
177 lws_seq_t *s = lws_container_of(p, lws_seq_t, in lws_seq_destroy_all_on_pt()
188 lws_seq_t *seq = lws_container_of(sul, lws_seq_t, sul_pending); in lws_seq_sul_pending_cb()
199 seqe = lws_container_of(dh, lws_seq_event_t, seq_event_list); in lws_seq_sul_pending_cb()
277 seqe = lws_container_of(dh, lws_seq_event_t, seq_event_list); in lws_seq_check_wsi()
294 lws_seq_t *s = lws_container_of(sul, lws_seq_t, sul_timeout); in lws_seq_sul_timeout_cb()
Droute.c72 lws_route_t *rou = lws_container_of(d, lws_route_t, list); in _lws_routing_table_dump()
115 lws_route_t *rou = lws_container_of(d, lws_route_t, list); in _lws_route_get_uidx()
141 lws_route_t *rou = lws_container_of(d, lws_route_t, list); in _lws_route_remove()
174 lws_route_t *rou = lws_container_of(d, lws_route_t, list); in _lws_route_table_empty()
187 lws_route_t *rou = lws_container_of(d, lws_route_t, list); in _lws_route_table_ifdown()
219 lws_route_t *rou = lws_container_of(d, lws_route_t, list); in _lws_route_est_outgoing()
278 lws_route_t *rou = lws_container_of(d, lws_route_t, list); in _lws_route_find_source()
Dsorted-usec-list.c103 lws_container_of(own, struct lws_context_per_thread, in __lws_sul_service_ripe()
209 lws_sorted_usec_list_t *sul = lws_container_of( in lws_sul_nonmonotonic_adjust()
340 lws_container_of(p, in lws_sul_debug_zombies()
Dwsi-timeout.c45 struct lws *wsi = lws_container_of(sul, struct lws, sul_hrtimer); in lws_sul_hrtimer_cb()
77 struct lws *wsi = lws_container_of(sul, struct lws, sul_timeout); in lws_sul_wsitimeout_cb()
201 struct lws *wsi = lws_container_of(sul, struct lws, sul_validity); in lws_validity_cb()
/third_party/libwebsockets/lib/drivers/netdev/
Dwifi.c42 lws_wifi_sta_t *s = lws_container_of(p, lws_wifi_sta_t, list); in lws_netdev_wifi_scan_empty()
53 lws_netdev_instance_wifi_t *wnd = lws_container_of(sul, in lws_netdev_wifi_scan()
65 lws_wifi_sta_t *w = lws_container_of(p, lws_wifi_sta_t, list); in lws_netdev_wifi_scan_find()
92 lws_wifi_sta_t *w = lws_container_of(p, lws_wifi_sta_t, list); in lws_netdev_wifi_scan_select()
104 lws_wifi_sta_t *w = lws_container_of(p, lws_wifi_sta_t, list); in lws_netdev_wifi_scan_select()
128 lws_wifi_sta_t *w = lws_container_of(p1, lws_wifi_sta_t, list); in lws_netdev_wifi_scan_select()
132 lws_wifi_creds_t *c = lws_container_of(q, in lws_netdev_wifi_scan_select()
Dnetdev.c143 lws_wifi_creds_t *w = lws_container_of(p, lws_wifi_creds_t, list); in lws_netdev_credentials_find()
159 lws_netdev_instance_t *ni = lws_container_of(p, in lws_netdev_find()
193 lws_netdev_instance_t *ni = lws_container_of( in lws_netdev_smd_cb()
/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-session.c58 lws_tls_scm_t *ts = lws_container_of(p, lws_tls_scm_t, list); in __lws_tls_session_lookup_by_name()
131 lws_tls_scm_t *ts = lws_container_of(d, lws_tls_scm_t, list); in lws_tls_session_destroy_dll()
148 lws_tls_scm_t *ts = lws_container_of(sul, lws_tls_scm_t, sul_ttl); in lws_tls_session_expiry_cb()
149 struct lws_vhost *vh = lws_container_of(ts->list.owner, in lws_tls_session_expiry_cb()
202 ts = lws_container_of(vh->tls_sessions.head, in lws_tls_session_new_mbedtls()
287 struct lws_lws_tls *tls = lws_container_of(sul, struct lws_lws_tls, in lws_sess_cache_synth_cb()
289 struct lws *wsi = lws_container_of(tls, struct lws, tls); in lws_sess_cache_synth_cb()
/third_party/libwebsockets/lib/system/async-dns/
Dasync-dns.c51 lws_adns_q_t *q = lws_container_of(d, lws_adns_q_t, list); in lws_adns_get_query()
91 struct lws *w = lws_container_of(d, struct lws, adns); in lws_async_dns_complete()
131 lws_adns_q_t *q = lws_container_of(sul, lws_adns_q_t, sul); in lws_async_dns_sul_cb_retry()
313 lws_adns_q_t *q = lws_container_of(d, lws_adns_q_t, in callback_async_dns()
399 c = lws_container_of(d, lws_adns_cache_t, list); in lws_adns_get_cache()
429 c = lws_container_of(d, lws_adns_cache_t, list); in lws_adns_dump()
439 lws_adns_q_t *q = lws_container_of(d, lws_adns_q_t, list); in lws_adns_dump()
461 lws_adns_cache_destroy(lws_container_of(d, lws_adns_cache_t, list)); in cache_clean()
469 lws_adns_cache_t *c = lws_container_of(sul, lws_adns_cache_t, sul); in sul_cb_expire()
477 lws_adns_q_t *q = lws_container_of(sul, lws_adns_q_t, write_sul); in sul_cb_write()
[all …]
/third_party/libwebsockets/lib/cose/
Dcose_sign.c88 lws_cose_sig_alg_t *alg = lws_container_of(p, in lws_cose_sign_hashing()
129 alg = lws_container_of(csc->algs.head, lws_cose_sig_alg_t, list); in lws_cose_sign_payload_chunk()
207 alg = lws_container_of(csc->algs.head, in lws_cose_sign_payload_chunk()
261 alg = lws_container_of(csc->algs.head, in lws_cose_sign_payload_chunk()
292 alg = lws_container_of(p, lws_cose_sig_alg_t, list); in lws_cose_sign_payload_chunk()
388 csc->alg = lws_container_of(csc->algs.head, in lws_cose_sign_payload_chunk()
405 alg = lws_container_of(lws_dll2_get_head(&csc->algs), in lws_cose_sign_payload_chunk()
419 csc->alg = lws_container_of(csc->algs.head, in lws_cose_sign_payload_chunk()
474 alg = lws_container_of(csc->algs.head, in lws_cose_sign_payload_chunk()
528 lws_cose_sig_alg_t *alg = lws_container_of(p, in lws_cose_sign_destroy()
Dcose_validate.c195 alg = lws_container_of(cps->algs.head, lws_cose_sig_alg_t, list); in apply_external()
784 alg = lws_container_of(cps->algs.head, in cb_cose_sig()
827 alg = lws_container_of(cps->algs.head, in cb_cose_sig()
897 alg = lws_container_of(cps->algs.head, in cb_cose_sig()
917 alg = lws_container_of(cps->algs.head, in cb_cose_sig()
1024 lws_cose_sig_alg_t *alg = lws_container_of(p, in lws_cose_validate_destroy()
1033 lws_cose_validate_res_t *res = lws_container_of(p, in lws_cose_validate_destroy()
/third_party/libwebsockets/lib/system/metrics/
Dmetrics.c41 tag = lws_container_of(d, lws_metrics_tag_t, list); in lws_metrics_tag_add()
100 t = lws_container_of(d, lws_metrics_tag_t, list); in lws_metrics_tags_destroy()
115 t = lws_container_of(d, lws_metrics_tag_t, list); in lws_metrics_tags_serialize()
136 t = lws_container_of(d, lws_metrics_tag_t, list); in lws_metrics_tag_get()
161 lws_metric_policy_dyn_t *dmp = lws_container_of(sul, in lws_metrics_periodic_cb()
163 struct lws_context *ctx = lws_container_of(dmp->list.owner, in lws_metrics_periodic_cb()
170 lws_metric_t *mt = lws_container_of(d, lws_metric_t, list); in lws_metrics_periodic_cb()
231 lws_container_of(d, lws_metric_policy_dyn_t, list); in lws_metrics_policy_get_dyn()
403 dp = lws_container_of(mt->list.owner, lws_metric_policy_dyn_t, owner); in lws_metric_get_policy()
418 lws_metric_t *mt = lws_container_of(d, lws_metric_t, list); in lws_metric_rebind_policies()
[all …]
/third_party/libwebsockets/lib/tls/openssl/
Dopenssl-session.c56 lws_tls_sco_t *ts = lws_container_of(p, lws_tls_sco_t, list); in __lws_tls_session_lookup_by_name()
139 lws_tls_sco_t *ts = lws_container_of(d, lws_tls_sco_t, list); in lws_tls_session_destroy_dll()
156 lws_tls_sco_t *ts = lws_container_of(sul, lws_tls_sco_t, sul_ttl); in lws_tls_session_expiry_cb()
157 struct lws_vhost *vh = lws_container_of(ts->list.owner, in lws_tls_session_expiry_cb()
180 ts = lws_container_of(vh->tls_sessions.head, in lws_tls_session_add_entry()
312 struct lws_lws_tls *tls = lws_container_of(sul, struct lws_lws_tls, in lws_sess_cache_synth_cb()
314 struct lws *wsi = lws_container_of(tls, struct lws, tls); in lws_sess_cache_synth_cb()
/third_party/libwebsockets/lib/event-libs/uloop/
Duloop.c34 struct lws_pt_eventlibs_uloop *upt = lws_container_of(ti, in lws_uloop_hrtimer_cb()
51 struct lws_pt_eventlibs_uloop *upt = lws_container_of(ti, in lws_uloop_idle_timer_cb()
98 struct lws_wsi_eventlibs_uloop *wu = lws_container_of(ufd, in lws_uloop_cb()
138 struct lws *wsi = lws_container_of(d, struct lws, listen_list); in elops_listen_init_uloop()
220 struct lws *wsi = lws_container_of(d, struct lws, listen_list); in elops_listen_destroy_uloop()
/third_party/libwebsockets/lib/secure-streams/
Dsecure-streams-client.c96 lws_sspc_handle_t *h = lws_container_of(sul, lws_sspc_handle_t, sul_retry); in lws_sspc_sul_retry_cb()
429 lws_sspc_metadata_t *md = lws_container_of( in callback_sspc_client()
493 lws_sspc_metadata_t *md = lws_container_of( in callback_sspc_client()
702 lws_sspc_handle_t *h = lws_container_of(d, lws_sspc_handle_t, client_list); in lws_sspc_destroy_dll()
715 lws_container_of(d, lws_sspc_metadata_t, list); in lws_sspc_rxmetadata_destroy()
778 lws_container_of(d, lws_sspc_metadata_t, list); in lws_sspc_destroy()
949 md = lws_container_of(d, lws_sspc_metadata_t, list); in _lws_sspc_set_metadata()
1022 md = lws_container_of(d, in lws_sspc_get_metadata()
1103 lws_sspc_handle_t *h = lws_container_of(d, lws_sspc_handle_t, client_list); in lws_sspc_cancel_notify_dll()
Dsecure-streams-serialize.c758 h = lws_container_of(par, lws_sspc_handle_t, in lws_ss_deserialize_parse()
830 h = lws_container_of(par, lws_sspc_handle_t, parser); in lws_ss_deserialize_parse()
935 h = lws_container_of(par, lws_sspc_handle_t, in lws_ss_deserialize_parse()
1053 md = lws_container_of(d, in lws_ss_deserialize_parse()
1181 h = lws_container_of(par, lws_sspc_handle_t, parser); in lws_ss_deserialize_parse()
1308 h = lws_container_of(par, lws_sspc_handle_t, parser); in lws_ss_deserialize_parse()
1393 h = lws_container_of(par, lws_sspc_handle_t, parser); in lws_ss_deserialize_parse()
1484 h = lws_container_of(par, lws_sspc_handle_t, parser); in lws_ss_deserialize_parse()
1498 h = lws_container_of(par, lws_sspc_handle_t, parser); in lws_ss_deserialize_parse()
/third_party/libwebsockets/lib/event-libs/libev/
Dlibev.c35 struct lws_pt_eventlibs_libev *ptpr = lws_container_of(watcher, in lws_ev_hrtimer_cb()
53 struct lws_pt_eventlibs_libev *ptpr = lws_container_of(handle, in lws_ev_idle_cb()
90 struct lws_io_watcher_libev *lws_io = lws_container_of(watcher, in lws_accept_cb()
139 struct lws *wsi = lws_container_of(d, struct lws, listen_list); in elops_listen_init_ev()
243 struct lws *wsi = lws_container_of(d, struct lws, listen_list); in elops_listen_destroy_ev()
/third_party/libwebsockets/lib/core/
Dlws_map.c149 lws_map_item_t *i = lws_container_of(d, lws_map_item_t, list); in ho_free_item()
220 lws_map_hashtable_t *ht = lws_container_of(item->list.owner, in lws_map_item_destroy()
235 lws_map_item_t *i = lws_container_of(p, lws_map_item_t, list); in lws_map_item_lookup()
/third_party/libwebsockets/lib/abstract/
Dabstract.c140 *ai2 = lws_container_of(d, lws_abs_t, abstract_instances); in find_compatible()
213 lws_abs_t *ai2 = lws_container_of(ai->bound.owner, lws_abs_t, in lws_abs_bind_and_create_instance()
262 lws_abs_t *ac = lws_container_of(d, lws_abs_t, bound); in __reap_children()
/third_party/libwebsockets/lib/system/fault-injection/
Dfault-injection.c33 lws_fi_priv_t *pv = lws_container_of(p, lws_fi_priv_t, list); in lws_fi_lookup()
185 lws_fi_priv_t *pv = lws_container_of(p, lws_fi_priv_t, list); in lws_fi_import()
228 lws_fi_priv_t *pv = lws_container_of(p, lws_fi_priv_t, list); in lws_fi_inherit_copy()
254 lws_fi_priv_t *pv = lws_container_of(p, lws_fi_priv_t, list); in lws_fi_destroy()
/third_party/libwebsockets/lib/system/dhcpclient/
Ddhcpclient.c31 lws_dhcpc_req_t *r = lws_container_of(sul, lws_dhcpc_req_t, sul_write); in lws_dhcpc_retry_write()
142 lws_dhcpc_req_t *r = lws_container_of(d, lws_dhcpc_req_t, list); in _remove_if()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-raw-proxy/
Dminimal-ws-raw-proxy.c60 proxy_msg_t *msg = lws_container_of(d, proxy_msg_t, list); in proxy_ws_raw_msg_destroy()
176 msg = lws_container_of(pc->pending_msg_to_ws.head, in callback_proxy_ws_server()
336 msg = lws_container_of(pc->pending_msg_to_raw.head, in callback_proxy_raw_client()

12345