Searched refs:sb_hiwat (Results 1 - 14 of 14) sorted by relevance
/darwin-on-arm/xnu/bsd/kern/ |
H A D | sys_socket.c | 278 if (cloned_so->so_snd.sb_hiwat > 0) { 280 cloned_so->so_snd.sb_hiwat) == 0) { 285 if (cloned_so->so_rcv.sb_hiwat > 0) { 287 cloned_so->so_rcv.sb_hiwat) == 0) { 295 (cloned_so->so_snd.sb_lowat > so->so_snd.sb_hiwat) ? 296 so->so_snd.sb_hiwat : cloned_so->so_snd.sb_lowat; 298 (cloned_so->so_rcv.sb_lowat > so->so_rcv.sb_hiwat) ? 299 so->so_rcv.sb_hiwat : cloned_so->so_rcv.sb_lowat;
|
H A D | uipc_socket2.c | 343 if (soreserve(so, head->so_snd.sb_hiwat, head->so_rcv.sb_hiwat)) { 664 if (so->so_snd.sb_lowat > so->so_snd.sb_hiwat) 665 so->so_snd.sb_lowat = so->so_snd.sb_hiwat; 686 sb->sb_hiwat = cc; 688 if (sb->sb_lowat > sb->sb_hiwat) 689 sb->sb_lowat = sb->sb_hiwat; 701 sb->sb_hiwat = 0; 1624 sb64->st_blksize = so->so_snd.sb_hiwat; 1629 sb->st_blksize = so->so_snd.sb_hiwat; [all...] |
H A D | uipc_socket.c | 1427 if ((atomic && resid > so->so_snd.sb_hiwat) || 1428 clen > so->so_snd.sb_hiwat) 1530 so->so_snd.sb_cc, so->so_snd.sb_lowat, so->so_snd.sb_hiwat); 1908 so->so_rcv.sb_cc, so->so_rcv.sb_lowat, so->so_rcv.sb_hiwat); 2055 ((flags & MSG_WAITALL) && uio_resid(uio) <= so->so_rcv.sb_hiwat)) && 2606 (delayed_copy_len > (so->so_rcv.sb_hiwat / 2))) { 3100 (optval > so->so_snd.sb_hiwat) ? 3101 so->so_snd.sb_hiwat : optval; 3105 (optval > so->so_rcv.sb_hiwat) ? 3106 so->so_rcv.sb_hiwat [all...] |
H A D | socket_info.c | 58 sbi->sbi_hiwat = sb->sb_hiwat;
|
H A D | uipc_usrreq.c | 375 snd->sb_hiwat += unp->unp_cc - rcv->sb_cc; 555 snd->sb_hiwat -= rcv->sb_cc - unp->unp_conn->unp_cc; 609 blksize = so->so_snd.sb_hiwat; 774 if (so->so_snd.sb_hiwat == 0 || so->so_rcv.sb_hiwat == 0) {
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | tcp_newreno.c | 129 if (sb->sb_hiwat > tp->snd_ssthresh && 147 if (sb->sb_hiwat <= sb->sb_idealsize) {
|
H A D | tcp_input.c | 824 (sb->sb_hiwat < sbspacelim)) { 846 if (newsize > sbrcv->sb_hiwat && 872 sbrcv->sb_hiwat >= tcp_autorcvbuf_max) { 911 * than half of sb_hiwat, this will help to scale the 918 if ((tp->rfbuf_cnt > (sbrcv->sb_hiwat - 919 (sbrcv->sb_hiwat >> tcp_rbuf_hiwat_shift)) || 920 (sbrcv->sb_hiwat - sbrcv->sb_cc) < 936 sbrcv->sb_hiwat + rcvbuf_inc, 960 sbrcv->sb_hiwat > sbrcv->sb_idealsize) { 963 u_int32_t diff = sbrcv->sb_hiwat [all...] |
H A D | tcp_output.c | 724 if ((tp->snd_wnd / 4 * 5) >= so->so_snd.sb_hiwat && 725 so->so_snd.sb_cc >= (so->so_snd.sb_hiwat / 8 * 7) && 738 min(so->so_snd.sb_hiwat + tcp_autosndbuf_inc, 740 so->so_snd.sb_idealsize = so->so_snd.sb_hiwat; 744 max(tcp_sendspace, so->so_snd.sb_hiwat - 905 if (4 * adv >= (int32_t) so->so_rcv.sb_hiwat) 1526 if (recwin < (int32_t)(so->so_rcv.sb_hiwat / 4) && recwin < (int)tp->t_maxseg)
|
H A D | in_pcblist.c | 141 xsb->sb_hiwat = sb->sb_hiwat;
|
H A D | tcp_subr.c | 1093 dosavessthresh = (i < so->so_snd.sb_hiwat / 2); 2093 if (so->so_snd.sb_hiwat < mss) 2094 mss = so->so_snd.sb_hiwat; 2479 (sb->sb_hiwat - sb->sb_cc) < rcvbufinc && 2480 (sb->sb_hiwat < tcp_autorcvbuf_max)) { 2481 sbreserve(sb, (sb->sb_hiwat + rcvbufinc)); 2493 space = ((int32_t) imin((sb->sb_hiwat - sb->sb_cc), 2596 * for this connection based on sb_hiwat. Try to leave some 2606 so->so_rcv.sb_hiwat : tcp_autorcvbuf_max;
|
H A D | tcp_usrreq.c | 1686 if (so->so_snd.sb_hiwat == 0 || so->so_rcv.sb_hiwat == 0) {
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | socketvar.h | 168 u_int32_t sb_hiwat; /* max actual char count */ member in struct:socket::sockbuf 346 u_int32_t sb_hiwat; member in struct:xsockbuf 439 u_int32_t sb_hiwat; member in struct:xsockbuf_n
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | udp6_usrreq.c | 711 if (so->so_snd.sb_hiwat == 0 || so->so_rcv.sb_hiwat == 0) {
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | ntstat.c | 1042 desc->sndbufsize = so->so_snd.sb_hiwat; 1044 desc->rcvbufsize = so->so_rcv.sb_hiwat; 1230 desc->rcvbufsize = so->so_rcv.sb_hiwat;
|
Completed in 119 milliseconds