Searched refs:sb_cc (Results 1 - 15 of 15) sorted by relevance
/darwin-on-arm/xnu/bsd/kern/ |
H A D | sys_socket.c | 228 bcopy(&so->so_rcv.sb_cc, data, sizeof (u_int32_t)); 445 so->so_rcv.sb_cc != 0) 449 sb64->st_size = so->so_rcv.sb_cc - so->so_rcv.sb_ctl; 455 so->so_rcv.sb_cc != 0) 459 sb->st_size = so->so_rcv.sb_cc - so->so_rcv.sb_ctl;
|
H A D | uipc_socket2.c | 482 error = msleep((caddr_t)&sb->sb_cc, mutex_held, 558 wakeup((caddr_t)&sb->sb_cc); 836 if (len != sb->sb_cc || mbcnt != sb->sb_mbcnt) { 837 panic("cc %ld != %ld || mbcnt %ld != %ld\n", len, sb->sb_cc, 1269 sb->sb_cc += m->m_len; 1302 if (!(sb->sb_cc == 0 && sb->sb_mb == NULL && sb->sb_mbcnt == 0 && 1305 "lastrecord %p\n", where, sb, sb->sb_so, sb->sb_cc, 1326 if (!sb->sb_cc && (sb->sb_mb == NULL || sb->sb_mb->m_len)) 1328 sbdrop(sb, (int)sb->sb_cc); 1376 sb->sb_cc [all...] |
H A D | uipc_socket.c | 1530 so->so_snd.sb_cc, so->so_snd.sb_lowat, so->so_snd.sb_hiwat); 1847 KERNEL_DEBUG(DBG_FNC_SOSEND | DBG_FUNC_END, so, resid, so->so_snd.sb_cc, 1908 so->so_rcv.sb_cc, so->so_rcv.sb_lowat, so->so_rcv.sb_hiwat); 2053 so->so_rcv.sb_cc < uio_resid(uio)) && 2054 (so->so_rcv.sb_cc < so->so_rcv.sb_lowat || 2059 * receive list; both sb_mb and sb_cc should correctly 2160 * one is available). We have adjusted sb_cc 2216 if (m->m_next == 0 && so->so_rcv.sb_cc != 0) 2528 so->so_rcv.sb_cc -= len; 2648 if ((so->so_options & SO_WANTMORE) && so->so_rcv.sb_cc > [all...] |
H A D | socket_info.c | 57 sbi->sbi_cc = sb->sb_cc;
|
H A D | uipc_usrreq.c | 375 snd->sb_hiwat += unp->unp_cc - rcv->sb_cc; 376 unp->unp_cc = rcv->sb_cc; 555 snd->sb_hiwat -= rcv->sb_cc - unp->unp_conn->unp_cc; 556 unp->unp_conn->unp_cc = rcv->sb_cc; 612 blksize += so2->so_rcv.sb_cc;
|
H A D | sys_generic.c | 2174 evq->ee_req.er_rcnt = sp->so_rcv.sb_cc;
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | socketvar.h | 167 u_int32_t sb_cc; /* actual chars in buffer */ member in struct:socket::sockbuf 345 u_int32_t sb_cc; member in struct:xsockbuf 438 u_int32_t sb_cc; member in struct:xsockbuf_n 587 (sb)->sb_cc == 0) || \ 589 (sb)->sb_cc > 0)) \ 590 panic("corrupt so_rcv: sb_mb %p sb_cc %d\n", \ 591 (sb)->sb_mb, (sb)->sb_cc); \
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | tcp_output.c | 569 if (off < so->so_snd.sb_cc) 582 * offset will be > 0 even if so_snd.sb_cc is 0, resulting in 597 len = min(so->so_snd.sb_cc, sendwin) - off; 606 len = min(so->so_snd.sb_cc, tp->snd_wnd) 725 so->so_snd.sb_cc >= (so->so_snd.sb_hiwat / 8 * 7) && 726 sendwin >= (so->so_snd.sb_cc - 801 if (SEQ_LT(p->rxmit + len, tp->snd_una + so->so_snd.sb_cc)) 804 if (SEQ_LT(tp->snd_nxt + len, tp->snd_una + so->so_snd.sb_cc)) 850 len + off >= so->so_snd.sb_cc) { 961 if (so->so_snd.sb_cc [all...] |
H A D | in_pcblist.c | 140 xsb->sb_cc = sb->sb_cc;
|
H A D | tcp_input.c | 920 (sbrcv->sb_hiwat - sbrcv->sb_cc) < 983 trim = sbrcv->sb_hiwat - (sbrcv->sb_cc + leave); 1005 if (sbsnd->sb_cc <= sbsnd->sb_idealsize) { 1008 trim = sbsnd->sb_hiwat - sbsnd->sb_cc; 2353 if ((so->so_snd.sb_cc) || (tp->t_flags & TF_ACKNOW)) { 3483 if (acked > so->so_snd.sb_cc) { 3484 tp->snd_wnd -= so->so_snd.sb_cc; 3485 sbdrop(&so->so_snd, (int)so->so_snd.sb_cc); 3629 if (th->th_urp + so->so_rcv.sb_cc > sb_max) { 3650 so->so_oobmark = so->so_rcv.sb_cc [all...] |
H A D | in_pcb.c | 1053 if (so->so_rcv.sb_cc || so->so_snd.sb_cc) { 1056 so, so->so_rcv.sb_cc, so->so_snd.sb_cc);
|
H A D | tcp_usrreq.c | 781 tp->snd_up = tp->snd_una + so->so_snd.sb_cc; 1155 ti->tcpi_snd_sbbytes = tp->t_inpcb->inp_socket->so_snd.sb_cc;
|
H A D | tcp_subr.c | 2479 (sb->sb_hiwat - sb->sb_cc) < rcvbufinc && 2493 space = ((int32_t) imin((sb->sb_hiwat - sb->sb_cc), 2624 notsent = so->so_snd.sb_cc -
|
/darwin-on-arm/xnu/bsd/miscfs/fifofs/ |
H A D | fifo_vnops.c | 325 error = (rso->so_rcv.sb_cc == 0) ? EWOULDBLOCK : 0;
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | ntstat.c | 1043 desc->sndbufused = so->so_snd.sb_cc; 1045 desc->rcvbufused = so->so_rcv.sb_cc; 1231 desc->rcvbufused = so->so_rcv.sb_cc;
|
Completed in 223 milliseconds