Home
last modified time | relevance | path

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

/xnu-11215/bsd/dev/
H A Dunix_startup.c183 if ((scale = nmbclusters / NMBCLUSTERS) > 1) { in bsd_startupearly()
224 return (vm_map_size_t)(nmbclusters * MCLBYTES);
241 (vm_size_t) (nmbclusters * MCLBYTES), in bsd_bufferinit()
304 if ((nmbclusters = ncl) == 0) { in bsd_mbuf_cluster_reserve()
306 nmbclusters = mbuf_default_ncl(mem_actual); in bsd_mbuf_cluster_reserve()
309 if (nmbclusters & 0x1) { in bsd_mbuf_cluster_reserve()
310 --nmbclusters; in bsd_mbuf_cluster_reserve()
314 if (nmbclusters > MAX_NCL) { in bsd_mbuf_cluster_reserve()
315 nmbclusters = MAX_NCL; in bsd_mbuf_cluster_reserve()
320 nmbclusters = (unsigned int)P2ROUNDDOWN(nmbclusters, NCLPG); in bsd_mbuf_cluster_reserve()
[all …]
/xnu-11215/bsd/conf/
H A Dparam.c114 unsigned int nmbclusters = NMBCLUSTERS; variable
/xnu-11215/bsd/netinet6/
H A Dfrag6.c175 ip6_maxfragpackets = nmbclusters / 32; in frag6_init()
1297 if (i < -1 || i > (nmbclusters / 4)) {
1321 if (i < -1 || i > (nmbclusters / 4)) {
/xnu-11215/bsd/kern/
H A Duipc_mbuf.c1958 njcl = nmbclusters / 3; in mbuf_table_init()
1966 nclusters = P2ROUNDDOWN(nmbclusters - njcl, NCLPG); in mbuf_table_init()
1973 njcl = P2ROUNDDOWN(nmbclusters - nclusters, NCLPJCL); in mbuf_table_init()
1976 nclusters = P2ROUNDDOWN(nmbclusters - njcl, NCLPG); in mbuf_table_init()
2310 if (nmbclusters == 0) { in mbinit()
2311 nmbclusters = NMBCLUSTERS; in mbinit()
2315 VERIFY(nmbclusters != 0 && !(nmbclusters & 0x1)); in mbinit()
2378 mcl_pages = (nmbclusters << MCLSHIFT) / PAGE_SIZE; in mbinit()
2385 embutl = (mbutl + (nmbclusters * MCLBYTES)); in mbinit()
2499 high_sb_max = (nmbclusters << (MCLSHIFT - 4)); in mbinit()
[all …]
H A Duipc_socket2.c2997 SYSCTL_INT(_kern_ipc, KIPC_NMBCLUSTERS, nmbclusters,
2998 CTLFLAG_RD | CTLFLAG_LOCKED, &nmbclusters, 0, "");
/xnu-11215/bsd/sys/
H A Dmbuf.h1594 extern unsigned int nmbclusters; /* number of mapped clusters */
/xnu-11215/bsd/netinet/
H A Dip_input.c532 maxnipq = nmbclusters / 32; in ip_init()
2163 if (i < -1 || i > (nmbclusters / 4)) {
H A Dudp_usrreq.c251 uint32_t pool_size = (nmbclusters << MCLSHIFT) >> MBSHIFT; in udp_init()
/xnu-11215/bsd/net/
H A Dcontent_filter.c2617 mbuf_limit = MAX(UDP_FLOW_GC_MBUF_CNT_MAX, (nmbclusters << MCLSHIFT) >> UDP_FLOW_GC_MBUF_SHIFT); in cfil_init()