Searched refs:nmbclusters (Results 1 – 9 of 9) sorted by relevance
| /xnu-11417.140.69/bsd/dev/ |
| H A D | unix_startup.c | 183 if ((scale = nmbclusters / NMBCLUSTERS) > 1) { in bsd_startupearly() 223 nmbclusters = bsd_mbuf_cluster_reserve(NULL) / MCLBYTES; 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() [all …]
|
| /xnu-11417.140.69/bsd/conf/ |
| H A D | param.c | 114 unsigned int nmbclusters = NMBCLUSTERS; variable
|
| /xnu-11417.140.69/bsd/netinet6/ |
| H A D | frag6.c | 176 ip6_maxfragpackets = nmbclusters / 32; in frag6_init() 1306 if (i < -1 || i > (nmbclusters / 4)) { 1330 if (i < -1 || i > (nmbclusters / 4)) {
|
| /xnu-11417.140.69/bsd/kern/ |
| H A D | uipc_mbuf.c | 1973 njcl = nmbclusters / 3; in mbuf_table_init() 1981 nclusters = P2ROUNDDOWN(nmbclusters - njcl, NCLPG); in mbuf_table_init() 1988 njcl = P2ROUNDDOWN(nmbclusters - nclusters, NCLPJCL); in mbuf_table_init() 1991 nclusters = P2ROUNDDOWN(nmbclusters - njcl, NCLPG); in mbuf_table_init() 2312 if (nmbclusters == 0) { in mbinit() 2313 nmbclusters = NMBCLUSTERS; in mbinit() 2317 VERIFY(nmbclusters != 0 && !(nmbclusters & 0x1)); in mbinit() 2334 (P2ROUNDUP(nmbclusters, (MBSIZE >> MCLSHIFT)) << MCLSHIFT) >> MBSHIFT; in mbinit() 2380 mcl_pages = (nmbclusters << MCLSHIFT) / PAGE_SIZE; in mbinit() 2387 embutl = (mbutl + (nmbclusters * MCLBYTES)); in mbinit() [all …]
|
| H A D | uipc_socket2.c | 2997 SYSCTL_INT(_kern_ipc, KIPC_NMBCLUSTERS, nmbclusters, 2998 CTLFLAG_RD | CTLFLAG_LOCKED, &nmbclusters, 0, "");
|
| /xnu-11417.140.69/bsd/sys/ |
| H A D | mbuf.h | 1615 extern unsigned int nmbclusters; /* number of mapped clusters */
|
| /xnu-11417.140.69/bsd/netinet/ |
| H A D | ip_input.c | 532 maxnipq = nmbclusters / 32; in ip_init() 2163 if (i < -1 || i > (nmbclusters / 4)) {
|
| H A D | udp_usrreq.c | 252 uint32_t pool_size = (nmbclusters << MCLSHIFT) >> MBSHIFT; in udp_init()
|
| /xnu-11417.140.69/bsd/net/ |
| H A D | content_filter.c | 2619 mbuf_limit = MAX(UDP_FLOW_GC_MBUF_CNT_MAX, (nmbclusters << MCLSHIFT) >> UDP_FLOW_GC_MBUF_SHIFT); in cfil_init()
|