Home
last modified time | relevance | path

Searched refs:lnk (Results 1 – 8 of 8) sorted by path

/unit/src/
H A Dnxt_port_socket.c571 nxt_queue_link_t *lnk; in nxt_port_msg_first() local
576 lnk = nxt_queue_first(&port->messages); in nxt_port_msg_first()
578 if (lnk == nxt_queue_tail(&port->messages)) { in nxt_port_msg_first()
582 msg = nxt_queue_link_data(lnk, nxt_port_send_msg_t, link); in nxt_port_msg_first()
H A Dnxt_queue.h193 #define nxt_queue_link_data(lnk, type, link) \ argument
194 nxt_container_of(lnk, type, link)
H A Dnxt_router.c565 nxt_queue_chk_remove(nxt_queue_link_t *lnk) in nxt_queue_chk_remove() argument
567 if (lnk->next != NULL) { in nxt_queue_chk_remove()
568 nxt_queue_remove(lnk); in nxt_queue_chk_remove()
570 lnk->next = NULL; in nxt_queue_chk_remove()
4684 nxt_queue_link_t *lnk; in nxt_router_adjust_idle_timer() local
4714 lnk = nxt_queue_first(&app->idle_ports); in nxt_router_adjust_idle_timer()
4715 port = nxt_queue_link_data(lnk, nxt_port_t, idle_link); in nxt_router_adjust_idle_timer()
4727 nxt_queue_remove(lnk); in nxt_router_adjust_idle_timer()
4728 lnk->next = NULL; in nxt_router_adjust_idle_timer()
H A Dnxt_unit.c1747 nxt_queue_link_t *lnk; in nxt_unit_request_info_get() local
1772 lnk = nxt_queue_first(&ctx_impl->free_req); in nxt_unit_request_info_get()
1773 nxt_queue_remove(lnk); in nxt_unit_request_info_get()
1775 req_impl = nxt_container_of(lnk, nxt_unit_request_info_impl_t, link); in nxt_unit_request_info_get()
1860 nxt_queue_link_t *lnk; in nxt_unit_websocket_frame_get() local
1877 lnk = nxt_queue_first(&ctx_impl->free_ws); in nxt_unit_websocket_frame_get()
1878 nxt_queue_remove(lnk); in nxt_unit_websocket_frame_get()
1882 ws_impl = nxt_container_of(lnk, nxt_unit_websocket_frame_impl_t, link); in nxt_unit_websocket_frame_get()
/unit/src/python/
H A Dnxt_python_asgi.c1070 nxt_queue_link_t *lnk; in nxt_py_asgi_shm_ack_handler() local
1076 lnk = nxt_queue_first(&ctx_data->drain_queue); in nxt_py_asgi_shm_ack_handler()
1078 rc = nxt_py_asgi_http_drain(lnk); in nxt_py_asgi_shm_ack_handler()
1083 nxt_queue_remove(lnk); in nxt_py_asgi_shm_ack_handler()
H A Dnxt_python_asgi.h59 int nxt_py_asgi_http_drain(nxt_queue_link_t *lnk);
H A Dnxt_python_asgi_http.c558 nxt_py_asgi_http_drain(nxt_queue_link_t *lnk) in nxt_py_asgi_http_drain() argument
566 http = nxt_container_of(lnk, nxt_py_asgi_http_t, link); in nxt_py_asgi_http_drain()
H A Dnxt_python_asgi_websocket.c949 nxt_queue_link_t *lnk; in nxt_py_asgi_websocket_pop_frame() local
953 lnk = nxt_queue_first(&ws->pending_frames); in nxt_py_asgi_websocket_pop_frame()
954 nxt_queue_remove(lnk); in nxt_py_asgi_websocket_pop_frame()
956 p = nxt_queue_link_data(lnk, nxt_py_asgi_penging_frame_t, link); in nxt_py_asgi_websocket_pop_frame()