Home
last modified time | relevance | path

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

/freebsd/sys/kern/
H A Dkern_mbuf.c140 static quad_t maxmbufmem; /* overall real memory limit for all mbufs */ variable
142 SYSCTL_QUAD(_kern_ipc, OID_AUTO, maxmbufmem, CTLFLAG_RDTUN | CTLFLAG_NOFETCH, &maxmbufmem, 0,
164 maxmbufmem = realmem / 2; in tunable_mbinit()
165 TUNABLE_QUAD_FETCH("kern.ipc.maxmbufmem", &maxmbufmem); in tunable_mbinit()
166 if (maxmbufmem > realmem / 4 * 3) in tunable_mbinit()
167 maxmbufmem = realmem / 4 * 3; in tunable_mbinit()
171 nmbclusters = maxmbufmem / MCLBYTES / 4; in tunable_mbinit()
175 nmbjumbop = maxmbufmem / MJUMPAGESIZE / 4; in tunable_mbinit()
179 nmbjumbo9 = maxmbufmem / MJUM9BYTES / 6; in tunable_mbinit()
183 nmbjumbo16 = maxmbufmem / MJUM16BYTES / 6; in tunable_mbinit()
[all …]