Home
last modified time | relevance | path

Searched refs:maxsockets (Results 1 – 13 of 13) sorted by relevance

/freebsd-12.1/sys/kern/
H A Duipc_socket.c272 int maxsockets; variable
278 maxsockets = uma_zone_set_max(socket_zone, maxsockets); in socket_zone_change()
305 maxsockets = uma_zone_set_max(socket_zone, maxsockets); in socket_init()
343 TUNABLE_INT_FETCH("kern.ipc.maxsockets", &maxsockets); in init_maxsockets()
344 maxsockets = imax(maxsockets, maxfiles); in init_maxsockets()
357 newmaxsockets = maxsockets; in sysctl_maxsockets()
360 if (newmaxsockets > maxsockets && in sysctl_maxsockets()
362 maxsockets = newmaxsockets; in sysctl_maxsockets()
369 SYSCTL_PROC(_kern_ipc, OID_AUTO, maxsockets, CTLTYPE_INT|CTLFLAG_RW,
370 &maxsockets, 0, sysctl_maxsockets, "IU",
H A Duipc_usrreq.c2094 uma_zone_set_max(unp_zone, maxsockets); in unp_zone_change()
2109 uma_zone_set_max(unp_zone, maxsockets); in unp_init()
/freebsd-12.1/tools/tools/netrate/tcpp/
H A DREADME85 kern.ipc.maxsockets=1000000
/freebsd-12.1/sys/sys/
H A Dsocketvar.h359 extern int maxsockets;
/freebsd-12.1/sys/netinet/
H A Dudp_usrreq.c172 uma_zone_set_max(V_udbinfo.ipi_zone, maxsockets); in udp_zone_change()
173 uma_zone_set_max(V_udpcb_zone, maxsockets); in udp_zone_change()
211 uma_zone_set_max(V_udpcb_zone, maxsockets); in udp_init()
H A Dtcp_timewait.c151 return (imin(imax(halfrange, 32), maxsockets / 5)); in tcptw_auto_size()
H A Dtcp_subr.c727 uma_zone_set_max(V_tcbinfo.ipi_zone, maxsockets); in tcp_zone_change()
728 uma_zone_set_max(V_tcpcb_zone, maxsockets); in tcp_zone_change()
1030 hashsize = maketcp_hashsize(maxsockets / 4); in tcp_init()
1068 uma_zone_set_max(V_tcpcb_zone, maxsockets); in tcp_init()
H A Dip_divert.c132 uma_zone_set_max(V_divcbinfo.ipi_zone, maxsockets); in div_zone_change()
H A Draw_ip.c198 uma_zone_set_max(V_ripcbinfo.ipi_zone, maxsockets); in rip_zone_change()
H A Din_pcb.c461 uma_zone_set_max(pcbinfo->ipi_zone, maxsockets); in in_pcbinfo_init()
H A Dsctp_pcb.c5843 sizeof(struct sctp_inpcb), maxsockets); in sctp_pcb_init()
/freebsd-12.1/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_main.c1893 uma_zone_set_max(sdp_zone, maxsockets); in sdp_zone_change()
1903 uma_zone_set_max(sdp_zone, maxsockets); in sdp_init()
/freebsd-12.1/tools/tools/sysdoc/
H A Dtunables.mdoc760 kern.ipc.maxsockets