Lines Matching refs:task

24 nxt_socketpair_create(nxt_task_t *task, nxt_socket_t *pair)  in nxt_socketpair_create()  argument
27 nxt_alert(task, "socketpair() failed %E", nxt_errno); in nxt_socketpair_create()
31 nxt_debug(task, "socketpair(): %d:%d", pair[0], pair[1]); in nxt_socketpair_create()
33 if (nxt_slow_path(nxt_socket_nonblocking(task, pair[0]) != NXT_OK)) { in nxt_socketpair_create()
41 if (nxt_slow_path(nxt_socket_nonblocking(task, pair[1]) != NXT_OK)) { in nxt_socketpair_create()
55 nxt_alert(task, "failed to set SO_PASSCRED %E", nxt_errno); in nxt_socketpair_create()
62 nxt_alert(task, "failed to set SO_PASSCRED %E", nxt_errno); in nxt_socketpair_create()
71 nxt_socketpair_close(task, pair); in nxt_socketpair_create()
78 nxt_socketpair_close(nxt_task_t *task, nxt_socket_t *pair) in nxt_socketpair_close() argument
80 nxt_socket_close(task, pair[0]); in nxt_socketpair_close()
81 nxt_socket_close(task, pair[1]); in nxt_socketpair_close()
100 nxt_debug(ev->task, "sendmsg(%d, %FD, %FD, %ui): %z", ev->fd, fd[0], in nxt_socketpair_send()
112 nxt_debug(ev->task, "sendmsg(%d) not ready", ev->fd); in nxt_socketpair_send()
119 nxt_debug(ev->task, "sendmsg(%d) no buffers", ev->fd); in nxt_socketpair_send()
123 nxt_debug(ev->task, "sendmsg(%d) interrupted", ev->fd); in nxt_socketpair_send()
127 nxt_alert(ev->task, "sendmsg(%d, %FD, %FD, %ui) failed %E", in nxt_socketpair_send()
152 nxt_debug(ev->task, "recvmsg(%d, %ui, %uz): %z", in nxt_socketpair_recv()
171 nxt_debug(ev->task, "recvmsg(%d) not ready", ev->fd); in nxt_socketpair_recv()
177 nxt_debug(ev->task, "recvmsg(%d) interrupted", ev->fd); in nxt_socketpair_recv()
181 nxt_alert(ev->task, "recvmsg(%d, %ui) failed %E", in nxt_socketpair_recv()