Home
last modified time | relevance | path

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

/unit/src/
H A Dnxt_queue.h193 #define nxt_queue_link_data(lnk, type, link) \ argument
194 nxt_container_of(lnk, type, link)
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_router.c586 nxt_queue_chk_remove(nxt_queue_link_t *lnk) in nxt_queue_chk_remove() argument
588 if (lnk->next != NULL) { in nxt_queue_chk_remove()
589 nxt_queue_remove(lnk); in nxt_queue_chk_remove()
591 lnk->next = NULL; in nxt_queue_chk_remove()
4979 nxt_queue_link_t *lnk; in nxt_router_adjust_idle_timer() local
5009 lnk = nxt_queue_first(&app->idle_ports); in nxt_router_adjust_idle_timer()
5010 port = nxt_queue_link_data(lnk, nxt_port_t, idle_link); in nxt_router_adjust_idle_timer()
5022 nxt_queue_remove(lnk); in nxt_router_adjust_idle_timer()
5023 lnk->next = NULL; in nxt_router_adjust_idle_timer()
H A Dnxt_unit.c1733 nxt_queue_link_t *lnk; in nxt_unit_request_info_get() local
1758 lnk = nxt_queue_first(&ctx_impl->free_req); in nxt_unit_request_info_get()
1759 nxt_queue_remove(lnk); in nxt_unit_request_info_get()
1761 req_impl = nxt_container_of(lnk, nxt_unit_request_info_impl_t, link); in nxt_unit_request_info_get()
1846 nxt_queue_link_t *lnk; in nxt_unit_websocket_frame_get() local
1863 lnk = nxt_queue_first(&ctx_impl->free_ws); in nxt_unit_websocket_frame_get()
1864 nxt_queue_remove(lnk); in nxt_unit_websocket_frame_get()
1868 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.h59 int nxt_py_asgi_http_drain(nxt_queue_link_t *lnk);
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()
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.c1028 nxt_queue_link_t *lnk; in nxt_py_asgi_shm_ack_handler() local
1034 lnk = nxt_queue_first(&ctx_data->drain_queue); in nxt_py_asgi_shm_ack_handler()
1036 rc = nxt_py_asgi_http_drain(lnk); in nxt_py_asgi_shm_ack_handler()
1041 nxt_queue_remove(lnk); in nxt_py_asgi_shm_ack_handler()