Lines Matching refs:lso
176 sosdp_accept(struct sonode *lso, int fflag, struct cred *cr, in sosdp_accept() argument
182 dprint(3, ("sosdp_accept: so:%p so_proto_handle:%p", (void *)lso, in sosdp_accept()
183 (void *)lso->so_proto_handle)); in sosdp_accept()
185 if (!(lso->so_state & SS_ACCEPTCONN)) { in sosdp_accept()
189 eprintsoline(lso, EINVAL); in sosdp_accept()
195 error = so_acceptq_dequeue(lso, (fflag & (FNONBLOCK|FNDELAY)), &nso); in sosdp_accept()
197 eprintsoline(lso, error); in sosdp_accept()
199 error, (void *)lso, (void *)lso->so_proto_handle)); in sosdp_accept()
1197 struct sonode *lso = parenthandle; in sdp_sock_newconn() local
1201 ASSERT(lso->so_state & SS_ACCEPTCONN); in sdp_sock_newconn()
1202 ASSERT(lso->so_proto_handle != NULL); /* closed conn */ in sdp_sock_newconn()
1203 ASSERT(lso->so_type == SOCK_STREAM); in sdp_sock_newconn()
1205 dprint(3, ("sosdp_newconn A: so:%p so_proto_handle:%p", (void *)lso, in sdp_sock_newconn()
1206 (void *)lso->so_proto_handle)); in sdp_sock_newconn()
1211 if (lso->so_rcv_queued >= lso->so_backlog) { in sdp_sock_newconn()
1215 nso = socket_newconn(lso, connind, NULL, SOCKET_NOSLEEP, &error); in sdp_sock_newconn()
1217 eprintsoline(lso, error); in sdp_sock_newconn()
1223 (void) so_acceptq_enqueue(lso, nso); in sdp_sock_newconn()
1225 mutex_enter(&lso->so_lock); in sdp_sock_newconn()
1226 so_notify_newconn(lso); in sdp_sock_newconn()