Searched refs:so_comp (Results 1 - 5 of 5) sorted by relevance

/darwin-on-arm/xnu/bsd/kern/
H A Dkpi_socket.c90 sock->so_comp.tqh_first == NULL) {
104 while (TAILQ_EMPTY(&sock->so_comp) && sock->so_error == 0) {
122 new_so = TAILQ_FIRST(&sock->so_comp);
123 TAILQ_REMOVE(&sock->so_comp, new_so, so_list);
H A Duipc_socket2.c150 * and so_comp for connections already made and awaiting user acceptance.
154 * socket structure to so_comp, making it available to accept().
157 * so_incomp or so_comp, these sockets are dropped.
193 TAILQ_INSERT_TAIL(&head->so_comp, so, so_list);
390 TAILQ_INSERT_TAIL(&head->so_comp, so, so_list);
1721 so->so_comp.tqh_first || so->so_error);
H A Duipc_syscalls.c394 if ((head->so_state & SS_NBIO) && head->so_comp.tqh_first == NULL) {
399 while (TAILQ_EMPTY(&head->so_comp) && head->so_error == 0) {
436 so = TAILQ_FIRST(&head->so_comp);
437 TAILQ_REMOVE(&head->so_comp, so, so_list);
H A Duipc_socket.c573 TAILQ_INIT(&so->so_comp);
800 if (TAILQ_EMPTY(&so->so_comp))
974 while ((sp = TAILQ_FIRST(&so->so_comp)) != NULL) {
975 /* Dequeue from so_comp since sofree() won't do it */
976 TAILQ_REMOVE(&so->so_comp, sp, so_list);
3951 isempty = ! TAILQ_EMPTY(&so->so_comp);
/darwin-on-arm/xnu/bsd/sys/
H A Dsocketvar.h141 * while so_comp is a queue of connections ready to be accepted.
143 * it has to be pulled out of either so_incomp or so_comp.
149 TAILQ_HEAD(, socket) so_comp; /* q of complete unaccepted conns */ member in struct:socket

Completed in 87 milliseconds