Searched refs:nmbclusters (Results 1 - 10 of 10) sorted by relevance

/xnu-2422.115.4/bsd/dev/
H A Dunix_startup.c166 nmbclusters = bsd_mbuf_cluster_reserve(NULL) / MCLBYTES;
169 if ((scale = nmbclusters / NMBCLUSTERS) > 1) {
219 (vm_size_t) (nmbclusters * MCLBYTES),
281 if ((nmbclusters = ncl) == 0) {
283 nmbclusters = mbuf_default_ncl(serverperfmode, sane_size);
286 if (nmbclusters & 0x1)
287 --nmbclusters;
290 if (nmbclusters > MAX_NCL)
291 nmbclusters = MAX_NCL;
295 nmbclusters
[all...]
/xnu-2422.115.4/bsd/conf/
H A Dparam.c101 unsigned int nmbclusters = NMBCLUSTERS; variable
/xnu-2422.115.4/bsd/netinet6/
H A Dfrag6.c175 ip6_maxfragpackets = nmbclusters / 32;
1141 if (i < -1 || i > (nmbclusters / 4)) {
1164 if (i < -1 || i > (nmbclusters / 4)) {
/xnu-2422.115.4/bsd/kern/
H A Duipc_mbuf.c466 * Each of the following two arrays hold up to nmbclusters elements.
1179 njcl = nmbclusters / 3;
1187 nclusters = P2ROUNDDOWN(nmbclusters - njcl, NCLPBG);
1194 njcl = P2ROUNDDOWN(nmbclusters - nclusters, 8);
1197 nclusters = P2ROUNDDOWN(nmbclusters - njcl, NCLPBG);
1426 if (nmbclusters == 0)
1427 nmbclusters = NMBCLUSTERS;
1430 VERIFY(nmbclusters != 0 && !(nmbclusters & 0x1));
1446 * Where N is nmbclusters rounde
[all...]
H A Duipc_socket2.c2668 SYSCTL_INT(_kern_ipc, KIPC_NMBCLUSTERS, nmbclusters,
2669 CTLFLAG_RD | CTLFLAG_LOCKED, &nmbclusters, 0, "");
H A Duipc_usrreq.c1926 (nmbclusters * sizeof (struct unpcb)), 4096, "unpzone");
/xnu-2422.115.4/bsd/sys/
H A Dmbuf.h1218 extern unsigned int nmbclusters; /* number of mapped clusters */
/xnu-2422.115.4/bsd/netinet/
H A Dip_input.c480 maxnipq = nmbclusters / 32;
1396 if (i < -1 || i > (nmbclusters / 4)) {
H A Dtcp_input.c959 u_int32_t mblim = ((nmbclusters >> 1) << (MCLSHIFT - MSIZESHIFT));
965 u_int32_t sbspacelim = ((nmbclusters >> 4) << MCLSHIFT);
H A Dtcp_subr.c407 tcp_reass_maxseg = nmbclusters / 16;

Completed in 122 milliseconds