Searched refs:so_error (Results 1 - 25 of 30) sorted by relevance

12

/freebsd-11-stable/sys/dev/iscsi/
H A Dicl_soft_proxy.c136 while ((so->so_state & SS_ISCONNECTING) && so->so_error == 0) {
146 error = so->so_error;
147 so->so_error = 0;
222 while (TAILQ_EMPTY(&head->so_comp) && head->so_error == 0 && ils->ils_disconnecting == false) {
224 head->so_error = ECONNABORTED;
242 if (head->so_error) {
243 error = head->so_error;
244 head->so_error = 0;
H A Dicl_soft.c142 ic->ic_socket->so_error = EDOOFUS;
723 if (so->so_error != 0) {
725 "dropping connection", so->so_error);
/freebsd-11-stable/sys/sys/
H A Dsocketvar.h102 u_short so_error; /* (f) error affecting connection */ member in struct:socket
182 u_short so_error; member in struct:xsocket
215 !TAILQ_EMPTY(&(so)->so_comp) || (so)->so_error)
225 (so)->so_error)
/freebsd-11-stable/sys/cam/ctl/
H A Dctl_ha.c287 so->so_error ||
468 softc->ha_lso->so_error = ECONNABORTED;
469 if (softc->ha_lso->so_error) {
470 error = softc->ha_lso->so_error;
471 softc->ha_lso->so_error = 0;
598 (softc->ha_so->so_error ||
611 softc->ha_so->so_error == 0 &&
631 (softc->ha_so->so_error ||
/freebsd-11-stable/sys/netsmb/
H A Dsmb_trantcp.c175 while ((so->so_state & SS_ISCONNECTING) && so->so_error == 0) {
177 if ((so->so_state & SS_ISCONNECTING) && so->so_error == 0 &&
184 if (so->so_error) {
185 error = so->so_error;
186 so->so_error = 0;
/freebsd-11-stable/sys/kern/
H A Duipc_socket.c1011 so->so_error = 0;
1093 if (so->so_error) {
1094 error = so->so_error;
1095 so->so_error = 0;
1265 if (so->so_error) {
1266 error = so->so_error;
1267 so->so_error = 0;
1546 if (so->so_error) {
1549 error = so->so_error;
1551 so->so_error
[all...]
H A Duipc_syscalls.c388 while (TAILQ_EMPTY(&head->so_comp) && head->so_error == 0) {
390 head->so_error = ECONNABORTED;
400 if (head->so_error) {
401 error = head->so_error;
402 head->so_error = 0;
596 while ((so->so_state & SS_ISCONNECTING) && so->so_error == 0) {
606 error = so->so_error;
607 so->so_error = 0;
H A Dkern_sendfile.c286 so->so_error = EIO;
615 } else if (so->so_error) {
616 error = so->so_error;
617 so->so_error = 0;
H A Duipc_debug.c471 db_printf("so_error: %d\n", so->so_error);
/freebsd-11-stable/sys/rpc/
H A Dclnt_vc.c164 && so->so_error == 0) {
174 error = so->so_error;
175 so->so_error = 0;
877 || so->so_error)
930 || so->so_error)
/freebsd-11-stable/sys/netgraph/bluetooth/socket/
H A Dng_btsocket_l2cap.c507 pcb->so->so_error = ng_btsocket_l2cap_result2errno(op->result);
566 pcb->so->so_error = ng_btsocket_l2cap_result2errno(op->result);
679 pcb1->so->so_error = error;
732 pcb->so->so_error = EPERM;
838 pcb->so->so_error = EINVAL;
842 pcb->so->so_error = ECONNRESET;
1022 pcb->so->so_error = error;
1218 pcb->so->so_error = ng_btsocket_l2cap_result2errno(op->result);
1860 pcb->so->so_error = ENETDOWN;
1972 so->so_error
[all...]
H A Dng_btsocket_sco.c431 pcb->so->so_error = ECONNREFUSED; /* XXX convert status ??? */
524 pcb1->so->so_error = error;
1065 pcb->so->so_error = ENETDOWN;
1175 so->so_error = ECONNABORTED;
1957 pcb->so->so_error = ETIMEDOUT;
H A Dng_btsocket_rfcomm.c362 so->so_error = ECONNABORTED;
1418 if ((error = s0->l2so->so_error) != 0) {
1421 s0->l2so->so_error = 0;
1524 if ((error = s->l2so->so_error) != 0) {
1525 s->l2so->so_error = 0;
1582 if ((error = s->l2so->so_error) != 0) {
1583 s->l2so->so_error = 0;
1645 if ((error = s->l2so->so_error) != 0) {
1646 s->l2so->so_error = 0;
3348 pcb->so->so_error
[all...]
/freebsd-11-stable/sys/netgraph/
H A Dng_ksocket.c1047 if ((error = so->so_error) != 0) {
1048 so->so_error = 0;
1184 if ((error = head->so_error) != 0) {
1185 head->so_error = 0;
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_main.c655 so->so_error = errno;
1106 if (so->so_error) {
1107 error = so->so_error;
1108 so->so_error = 0;
1288 if (so->so_error) {
1293 error = so->so_error;
1295 so->so_error = 0;
/freebsd-11-stable/sys/dev/cxgbe/tom/
H A Dt4_ddp.c1486 if (so->so_error && sbavail(sb) == 0) {
1505 error = so->so_error;
1506 so->so_error = 0;
1572 if (so->so_error && sbavail(sb) == 0) {
1582 error = so->so_error;
1583 so->so_error = 0;
H A Dt4_cpl_io.c2072 if (so->so_error) {
2073 error = so->so_error;
2074 so->so_error = 0;
/freebsd-11-stable/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_cm.c982 CTR2(KTR_IW_CXGB, "%s so_error %d IN DEAD STATE!!!!", __FUNCTION__,
983 ep->com.so->so_error);
1505 if ((ep->com.so->so_state & SS_ISCONNECTED) && !ep->com.so->so_error) {
1508 connect_reply_upcall(ep, -ep->com.so->so_error);
1605 if (so->so_error) {
/freebsd-11-stable/sys/dev/iscsi_initiator/
H A Disc_soc.c342 "error=%d so_error=%d uio->uio_resid=%zd iov.iov_len=%zd",
344 "error=%d so_error=%d uio->uio_resid=%d iov.iov_len=%zd",
347 sp->soc->so_error, uio->uio_resid, iov->iov_len);
352 "error=%d so_error=%d uio->uio_resid=%zd iov.iov_len=%zd so_state=%x",
354 "error=%d so_error=%d uio->uio_resid=%d iov.iov_len=%zd so_state=%x",
357 sp->soc->so_error, uio->uio_resid, iov->iov_len, sp->soc->so_state);
/freebsd-11-stable/sys/dev/cxgbe/iw_cxgbe/
H A Dcm.c697 CTR5(KTR_IW_CXGBE, "%s:pceB ep %p so %p so->so_error %u state %s",
698 __func__, ep, ep->com.so, ep->com.so->so_error,
745 CTR2(KTR_IW_CXGBE, "%s so_error %d IN DEAD STATE!!!!",
746 __func__, ep->com.so->so_error);
912 if ((so->so_state & SS_ISCONNECTED) && !so->so_error) {
916 connect_reply_upcall(ep, -so->so_error);
1075 if (so->so_error)
1154 so->so_error, so->so_rcv.sb_state, ep, states[state]);
1172 if (so->so_error) {
1210 __func__, so, so->so_state, so->so_error, s
[all...]
H A Diw_cxgbe.h220 if (so && so->so_error) {
224 so->so_error, so, hwtid, qpid);
/freebsd-11-stable/usr.bin/netstat/
H A Dinet.c179 xso->so_error = so->so_error;
/freebsd-11-stable/sys/netinet/
H A Dsctputil.c2869 stcb->sctp_socket->so_error = ECONNREFUSED;
2872 stcb->sctp_socket->so_error = ECONNRESET;
2878 stcb->sctp_socket->so_error = ETIMEDOUT;
2881 stcb->sctp_socket->so_error = ECONNABORTED;
5367 if (so->so_error) {
5368 error = so->so_error;
5370 so->so_error = 0;
5381 if (so->so_error) {
5382 error = so->so_error;
5384 so->so_error
[all...]
H A Dsctp_output.c13145 if (error || so->so_error || be.error) {
13147 if (so->so_error)
13148 error = so->so_error;
13485 if (error || so->so_error || be.error) {
13487 if (so->so_error)
13488 error = so->so_error;
/freebsd-11-stable/sys/netinet/tcp_stacks/
H A Dfastpath.c661 so->so_error = ECONNREFUSED;
669 so->so_error = ECONNRESET;

Completed in 382 milliseconds

12