/src/sys/kern/ |
uipc_accf.c | 237 struct socket *so2, *next; local in function:accept_filt_clear 247 for (so2 = TAILQ_FIRST(&so->so_q0); so2 != NULL; so2 = next) { 248 next = TAILQ_NEXT(so2, so_qe); 249 if (so2->so_upcall == NULL) { 252 so2->so_upcall = NULL; 253 so2->so_upcallarg = NULL; 254 so2->so_options &= ~SO_ACCEPTFILTER; 255 so2->so_rcv.sb_flags &= ~SB_UPCALL [all...] |
uipc_syscalls.c | 182 struct socket *so, *so2; local in function:do_sys_accept 236 so2 = TAILQ_FIRST(&so->so_q); 237 if (soqremque(so2, 1) == 0) 244 fp2->f_socket = so2; 246 so2->so_state |= SS_NBIO; 248 so2->so_state &= ~SS_NBIO; 249 error = soaccept(so2, name); 250 so2->so_cred = kauth_cred_hold(so->so_cred); 422 struct socket *so1, *so2; local in function:sys_socketpair 435 error = fsocreate(domain, &so2, type|flags, proto, &fd, &fp2, so1) [all...] |
uipc_usrreq.c | 256 unp_setpeerlocks(struct socket *so, struct socket *so2) 261 KASSERT(solocked2(so, so2)); 270 if (so2->so_head != NULL) 286 * become globally visible before the lock change. so2 is 293 KASSERT(sotounpcb(so2)->unp_streamlock == NULL); 309 solockreset(so2, lock); 349 struct socket *so2; local in function:unp_output 355 so2 = unp->unp_conn->unp_socket; 357 KASSERT(solocked(so2)); 368 if (sbappendaddr(&so2->so_rcv, (const struct sockaddr *)sun, m 409 struct socket *so2; local in function:unp_rcvd 466 struct socket *so2; local in function:unp_send 817 struct socket *so2; local in function:unp_accept 886 struct socket *so2; local in function:unp_stat 1153 struct socket *so2, *so3; local in function:unp_connect [all...] |
uipc_socket2.c | 282 struct socket *so2, *next; local in function:sonewconn 286 for (so2 = TAILQ_FIRST(&head->so_q0); 287 so2 != NULL; so2 = next) { 288 next = TAILQ_NEXT(so2, so_qe); 289 if (so2->so_upcall == NULL) { 292 so2->so_upcall = NULL; 293 so2->so_upcallarg = NULL; 294 so2->so_options &= ~SO_ACCEPTFILTER; 295 so2->so_rcv.sb_flags &= ~SB_UPCALL [all...] |
uipc_socket.c | 732 struct socket *so2; local in function:soclose 738 if ((so2 = TAILQ_FIRST(&so->so_q0)) != 0) { 739 KASSERT(solocked2(so, so2)); 740 (void) soqremque(so2, 0); 742 (void) soabort(so2); 746 if ((so2 = TAILQ_FIRST(&so->so_q)) != 0) { 747 KASSERT(solocked2(so, so2)); 748 (void) soqremque(so2, 1); 750 (void) soabort(so2); 861 soconnect2(struct socket *so1, struct socket *so2) [all...] |