Searched refs:MCLBYTES (Results 1 - 25 of 31) sorted by relevance
12
/xnu-2782.1.97/tools/lldbmacros/ |
H A D | mbufdefines.py | 7 MCLBYTES = 2048 variable
|
H A D | mbufs.py | 385 if (csize == MCLBYTES): 404 if (csize == (MSIZE + MCLBYTES)):
|
/xnu-2782.1.97/bsd/i386/ |
H A D | param.h | 99 * MCLBYTES must be no larger than CLBYTES (the software page size), and, 101 * clusters (MAPPED_MBUFS), MCLBYTES must also be an integral multiple 107 #define MCLBYTES (1 << MCLSHIFT) /* size of an mbuf cluster */ macro 113 #define MCLOFSET (MCLBYTES - 1) 115 #define NMBCLUSTERS ((1024 * 1024) / MCLBYTES) /* cl map size: 1MB */
|
/xnu-2782.1.97/bsd/dev/ |
H A D | unix_startup.c | 166 nmbclusters = bsd_mbuf_cluster_reserve(NULL) / MCLBYTES; 219 (vm_size_t) (nmbclusters * MCLBYTES),
|
/xnu-2782.1.97/bsd/kern/ |
H A D | uipc_mbuf2.c | 144 if (len > MCLBYTES) { 184 if (off + len > MCLBYTES) 199 prevmlen = (off + len > MHLEN) ? MCLBYTES : MHLEN; 206 prevmlen = (off + len > MHLEN) ? MCLBYTES 459 } else if (len + sizeof (struct m_tag) <= MCLBYTES) {
|
H A D | kpi_mbuf.c | 142 if (*size <= MCLBYTES && (*addr = m_mclalloc(how)) != NULL) 143 *size = MCLBYTES; 144 else if (*size > MCLBYTES && *size <= MBIGCLBYTES && 162 if (size != MCLBYTES && size != MBIGCLBYTES && size != M16KCLBYTES) 166 if (size == MCLBYTES) 195 if (size == MCLBYTES) {
|
H A D | kern_malloc.c | 439 { MCLBYTES, KMZ_CREATEZONE, FALSE }, /* 74 M_MCLUST */
|
H A D | uipc_socket2.c | 662 so->so_snd.sb_lowat = MCLBYTES; 682 if ((u_quad_t)cc > (u_quad_t)sb_max * MCLBYTES / (MSIZE + MCLBYTES)) 1653 m->m_len <= MCLBYTES / 4 && /* XXX: Don't copy too much */
|
H A D | uipc_socket.c | 201 #define MAX_SOOPTGETM_SIZE (128 * MCLBYTES) 1942 bytes_to_copy > MCLBYTES && 1966 bytes_to_copy / MCLBYTES; 1969 (num_needed * MCLBYTES)) >= 1977 MCLBYTES); 5187 * We limit the size of options to MCLBYTES. This will have to change 5188 * if we need to define options that need more space than MCLBYTES. 5197 if (sopt_size <= 0 || sopt_size > MCLBYTES) 5210 m->m_len = min(MCLBYTES, sopt_size); 5231 m->m_len = min(MCLBYTES, sopt_siz [all...] |
H A D | uipc_mbuf.c | 118 * This is a cache of rudimentary objects of MCLBYTES in size; each 1245 m_maxsize(MC_CL) = m_size(MC_CL) = MCLBYTES; 1270 m_maxsize(MC_MBUF_CL) = MCLBYTES; 1341 if ((n = ((mem / 16) / MCLBYTES)) > 32768) 1510 mcl_pages = (nmbclusters * MCLBYTES) / CLBYTES; 1520 ((void *)((unsigned char *)mbutl + (nmbclusters * MCLBYTES))); 1811 VERIFY(IS_P2ALIGNED(buf, MCLBYTES)); 1822 VERIFY(IS_P2ALIGNED(buf, MCLBYTES)); 5529 (n->m_flags & M_EXT) ? MCLBYTES : MLEN; 5954 if (length > MCLBYTES) [all...] |
H A D | kern_control.c | 1217 sbmaxsize = (u_quad_t)sb_max * MCLBYTES / (MSIZE + MCLBYTES);
|
/xnu-2782.1.97/bsd/netinet6/ |
H A D | icmp6.c | 638 if (maxlen >= MCLBYTES) { 1430 sizeof(u_int32_t))) > MCLBYTES) 1431 replylen = MCLBYTES; /* XXX: will truncate pkt later */ 1463 if (replylen > MCLBYTES) { 1465 * XXX: should we try to allocate more? But MCLBYTES 1570 len = MCLBYTES; 2633 #if IPV6_MMTU >= MCLBYTES 2634 # error assumption failed about IPV6_MMTU and MCLBYTES
|
H A D | ah_core.c | 1308 if (hlen > MCLBYTES) { 1424 totlen > MCLBYTES) { 1575 if (newoff - off > MCLBYTES) { 1610 if (newoff - off > MCLBYTES) {
|
H A D | nd6_nbr.c | 577 if (max_linkhdr + maxlen >= MCLBYTES) { 579 printf("nd6_ns_output: max_linkhdr + maxlen >= MCLBYTES " 580 "(%d + %d > %d)\n", max_linkhdr, maxlen, MCLBYTES); 1244 if (max_linkhdr + maxlen >= MCLBYTES) { 1246 printf("nd6_na_output: max_linkhdr + maxlen >= MCLBYTES " 1247 "(%d + %d > %d)\n", max_linkhdr, maxlen, MCLBYTES);
|
H A D | esp_input.c | 1152 maxlen = MCLBYTES;
|
H A D | ip6_input.c | 566 * XXX: fails to join if interface MTU > MCLBYTES. jumbogram? 568 if (m->m_next != NULL && m->m_pkthdr.len < MCLBYTES) {
|
/xnu-2782.1.97/bsd/netinet/ |
H A D | mptcp_usrreq.c | 1171 else if (len > MCLBYTES) 1176 how, 1, MCLBYTES);
|
H A D | tcp_output.c | 1144 * max_linkhdr + sizeof (struct tcpiphdr) + optlen <= MCLBYTES 1478 if (max_linkhdr + hdrlen > MCLBYTES) 1565 allocated_len = MCLBYTES;
|
H A D | tcp_usrreq.c | 2245 u_quad_t sb_effective_max = (sb_max / (MSIZE+MCLBYTES)) * MCLBYTES;
|
H A D | udp_usrreq.c | 1714 u_quad_t sb_effective_max = (sb_max/(MSIZE+MCLBYTES)) * MCLBYTES;
|
H A D | tcp_input.c | 4876 * an mbuf cluster (MCLBYTES), round down to nearest multiple of MCLBYTES 5049 sb_max_corrected = (sb_max * (u_int64_t)MCLBYTES) / (MSIZE + MCLBYTES);
|
/xnu-2782.1.97/bsd/sys/ |
H A D | mbuf.h | 93 * MCLBYTES/MBIGCLBYTES/M16KCLBYTES (also in machine/param.h), which has 640 char mcl_buf[MCLBYTES];
|
/xnu-2782.1.97/bsd/net/ |
H A D | bpf.c | 333 if ((unsigned)len > MCLBYTES)
|
H A D | rtsock.c | 1007 if (len > MCLBYTES)
|
H A D | if_bond.c | 481 if (size > (int)MCLBYTES) { 483 size, MCLBYTES);
|
Completed in 295 milliseconds
12