Home
last modified time | relevance | path

Searched refs:lws_ring_get_count_free_elements (Results 1 – 14 of 14) sorted by relevance

/third_party/libwebsockets/plugins/raw-proxy/
Dprotocol_lws_raw_proxy.c318 (int)lws_ring_get_count_free_elements(conn->r[ONW])); in callback_raw_proxy()
321 lws_ring_get_count_free_elements(conn->r[ONW]) < 2) in callback_raw_proxy()
360 (int)lws_ring_get_count_free_elements(conn->r[ACC])); in callback_raw_proxy()
363 lws_ring_get_count_free_elements(conn->r[ACC]) > 2) in callback_raw_proxy()
475 (int)lws_ring_get_count_free_elements(conn->r[ACC])); in callback_raw_proxy()
478 lws_ring_get_count_free_elements(conn->r[ACC]) <= 2) in callback_raw_proxy()
517 (int)lws_ring_get_count_free_elements(conn->r[ONW]), in callback_raw_proxy()
522 lws_ring_get_count_free_elements(conn->r[ONW]) > 2) in callback_raw_proxy()
/third_party/libwebsockets/lib/misc/
Dlws-ring.c70 lws_ring_get_count_free_elements(struct lws_ring *ring) in lws_ring_get_count_free_elements() function
132 n = (int)(lws_ring_get_count_free_elements(ring) * ring->element_len); in lws_ring_next_linear_insert_range()
164 n = (int)(lws_ring_get_count_free_elements(ring) * ring->element_len); in lws_ring_insert()
296 (int)lws_ring_get_count_free_elements(ring), (int)*tail, in lws_ring_dump()
/third_party/libwebsockets/plugins/
Dprotocol_lws_mirror.c144 lws_ring_get_count_free_elements(mi->ring) >= RXFLOW_MAX) in __mirror_update_worst_tail()
430 n = (int)lws_ring_get_count_free_elements(pss->mi->ring); in callback_lws_mirror()
455 lws_ring_get_count_free_elements(pss->mi->ring) < in callback_lws_mirror()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-echo/
Dprotocol_lws_minimal_server_echo.c145 (int)lws_ring_get_count_free_elements(pss->ring) > RING_DEPTH - 5) { in callback_minimal_server_echo()
174 n = (int)lws_ring_get_count_free_elements(pss->ring); in callback_minimal_server_echo()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-ring/
Dprotocol_lws_minimal.c230 n = (int)lws_ring_get_count_free_elements(vhd->ring); in callback_minimal()
234 n = (int)lws_ring_get_count_free_elements(vhd->ring); in callback_minimal()
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-echo/
Dprotocol_lws_minimal_client_echo.c203 (int)lws_ring_get_count_free_elements(pss->ring) > RING_DEPTH - 5) { in callback_minimal_client_echo()
223 n = (int)lws_ring_get_count_free_elements(pss->ring); in callback_minimal_client_echo()
/third_party/libwebsockets/include/libwebsockets/
Dlws-ring.h122 lws_ring_get_count_free_elements(struct lws_ring *ring);
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-broker/
Dprotocol_lws_minimal.c171 n = (int)lws_ring_get_count_free_elements(vhd->ring); in callback_minimal()
/third_party/libwebsockets/minimal-examples/client-server/minimal-ws-proxy/
Dprotocol_lws_minimal.c190 if (!lws_ring_get_count_free_elements(vhd->ring)) { in callback_minimal()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads-smp/
Dprotocol_lws_minimal.c100 n = (int)lws_ring_get_count_free_elements(vhd->ring); in thread_spam()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads/
Dprotocol_lws_minimal.c100 n = (int)lws_ring_get_count_free_elements(vhd->ring); in thread_spam()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads-foreign-libuv-smp/
Dprotocol_lws_minimal.c104 n = (int)lws_ring_get_count_free_elements(vhd->ring); in thread_spam()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-sse-ring/
Dminimal-http-server-sse-ring.c109 n = (int)lws_ring_get_count_free_elements(vhd->ring); in thread_spam()
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-tx/
Dminimal-ws-client.c95 n = (int)lws_ring_get_count_free_elements(vhd->ring); in thread_spam()