Searched refs:sb_max (Results 1 - 8 of 8) sorted by relevance

/freebsd-11-stable/sys/kern/
H A Duipc_sockbuf.c63 u_long sb_max = SB_MAX; variable
65 (quad_t)SB_MAX * MCLBYTES / (MSIZE + MCLBYTES); /* adjusted sb_max */
407 u_long tmp_sb_max = sb_max;
414 sb_max = tmp_sb_max;
415 sb_max_adj = (u_quad_t)sb_max * MCLBYTES / (MSIZE + MCLBYTES);
447 sb->sb_mbmax = min(cc * sb_efficiency, sb_max);
1330 &sb_max, 0, sysctl_handle_sb_max, "LU", "Maximum socket buffer size");
/freebsd-11-stable/sys/sys/
H A Dsocketvar.h322 extern u_long sb_max;
/freebsd-11-stable/sys/netinet/
H A Dtcp_input.c2998 if (th->th_urp + sbavail(&so->so_rcv) > sb_max) {
3809 if (bufsize > sb_max)
3810 bufsize = sb_max;
3832 if (bufsize > sb_max)
3833 bufsize = sb_max;
H A Dtcp_usrreq.c1305 (TCP_MAXWIN << tp->request_r_scale) < sb_max)
1346 (TCP_MAXWIN << tp->request_r_scale) < sb_max)
H A Dtcp_syncache.c1534 * will still allow us to scale up to sb_max, aka
1554 (TCP_MAXWIN << wscale) < sb_max)
2130 while (wscale < TCP_MAX_WINSHIFT && (TCP_MAXWIN << wscale) < sb_max)
/freebsd-11-stable/sys/dev/cxgbe/tom/
H A Dt4_tom.c579 unsigned long space = sb_max;
/freebsd-11-stable/sys/dev/cxgb/ulp/tom/
H A Dcxgb_cpl_io.c751 unsigned long space = sb_max;
998 * The kernel sets request_r_scale based on sb_max whereas we need to
1000 * no-op as MAX_RCV_WND is much larger than the default sb_max.
/freebsd-11-stable/sys/netinet/tcp_stacks/
H A Dfastpath.c1389 if (th->th_urp + sbavail(&so->so_rcv) > sb_max) {

Completed in 82 milliseconds