Home
last modified time | relevance | path

Searched refs:oldest_tail (Results 1 – 4 of 4) sorted by relevance

/third_party/libwebsockets/lib/misc/
Dlws-ring.c39 ring->oldest_tail = 0; in lws_ring_create()
56 while (ring->oldest_tail != ring->head) { in lws_ring_destroy()
58 ring->oldest_tail); in lws_ring_destroy()
59 ring->oldest_tail = in lws_ring_destroy()
60 (ring->oldest_tail + ring->element_len) % in lws_ring_destroy()
83 if (ring->head == ring->oldest_tail) in lws_ring_get_count_free_elements()
86 if (ring->head < ring->oldest_tail) in lws_ring_get_count_free_elements()
87 f = (int)((ring->oldest_tail - ring->head) - in lws_ring_get_count_free_elements()
90 f = (int)((ring->buflen - ring->head) + ring->oldest_tail - in lws_ring_get_count_free_elements()
104 tail = &ring->oldest_tail; in lws_ring_get_count_waiting_elements()
[all …]
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-ring/
Dprotocol_lws_minimal.c56 uint32_t oldest_tail = lws_ring_get_oldest_tail(vhd->ring); in cull_lagging_clients() local
59 &oldest_tail), m; in cull_lagging_clients()
70 if ((*ppss)->tail == oldest_tail) { in cull_lagging_clients()
/third_party/libwebsockets/plugins/
Dprotocol_lws_mirror.c207 uint32_t oldest_tail; in callback_lws_mirror() local
367 oldest_tail = lws_ring_get_oldest_tail(pss->mi->ring); in callback_lws_mirror()
368 update_worst = oldest_tail == pss->tail; in callback_lws_mirror()
379 oldest_tail, pss->tail); in callback_lws_mirror()
/third_party/libwebsockets/lib/core/
Dprivate-lib-core.h305 uint32_t oldest_tail; member