Searched full:sb_max (Results 1 – 10 of 10) sorted by relevance
| /freebsd/sys/kern/ |
| H A D | uipc_sockbuf.c | 68 u_long sb_max = SB_MAX; variable 69 u_long sb_max_adj = BUF_MAX_ADJ(SB_MAX); 627 u_long tmp_sb_max = sb_max; in sysctl_handle_sb_max() 634 sb_max = tmp_sb_max; in sysctl_handle_sb_max() 635 sb_max_adj = BUF_MAX_ADJ(sb_max); in sysctl_handle_sb_max() 678 return (sbreserve_locked_limit(so, which, cc, sb_max, td)); in sbreserve_locked() 1887 CTLTYPE_ULONG | CTLFLAG_RW | CTLFLAG_MPSAFE, &sb_max, 0,
|
| /freebsd/sys/sys/ |
| H A D | sockbuf.h | 65 #define SB_MAX (8*1024*1024) /* default for max chars in sockbuf */ macro
|
| H A D | socketvar.h | 470 extern u_long sb_max;
|
| /freebsd/sys/fs/nfs/ |
| H A D | nfs_commonkrpc.c | 317 * soreserve() can fail if sb_max is too small, so shrink in newnfs_connect() 319 * Print a log message suggesting increasing sb_max. in newnfs_connect() 337 * adjusted for the sb_max->sb_max_adj conversion of in newnfs_connect()
|
| /freebsd/sys/netinet/ |
| H A D | tcp_input.c | 3090 if (th->th_urp + sbavail(&so->so_rcv) > sb_max) { in tcp_do_segment() 3907 if (bufsize > sb_max) in tcp_mss() 3908 bufsize = sb_max; in tcp_mss() 3940 if (bufsize > sb_max) in tcp_mss() 3941 bufsize = sb_max; in tcp_mss()
|
| H A D | tcp_syncache.c | 1698 * will still allow us to scale up to sb_max, aka in syncache_add() 1718 (TCP_MAXWIN << wscale) < sb_max) in syncache_add() 2367 (TCP_MAXWIN << wscale) < sb_max) in syncookie_expand()
|
| H A D | tcp_usrreq.c | 1441 (TCP_MAXWIN << tp->request_r_scale) < sb_max) in tcp_connect() 1484 (TCP_MAXWIN << tp->request_r_scale) < sb_max) in tcp6_connect()
|
| H A D | sctp_usrreq.c | 69 * the SB_MAX, whichever is smaller, for the send window. in sctp_init() 71 sb_max_adj = (u_long)((u_quad_t)(SB_MAX) * MCLBYTES / (MSIZE + MCLBYTES)); in sctp_init() 76 * should I do 1/2 the SB_MAX instead in the SB_MAX min above. For in sctp_init()
|
| /freebsd/sys/dev/cxgbe/tom/ |
| H A D | t4_tom.c | 1117 unsigned long space = sb_max; in select_rcv_wscale()
|
| /freebsd/sys/fs/nfsserver/ |
| H A D | nfs_nfsdport.c | 324 * sb_max value, which is what is set via kern.ipc.maxsockbuf. in sysctl_srvmaxio() 326 * sb_max_adj = (u_quad_t)sb_max * MCLBYTES / in sysctl_srvmaxio() 328 * XXX If the calculation of sb_max_adj from sb_max changes, in sysctl_srvmaxio()
|