Home
last modified time | relevance | path

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

/xnu-11417.140.69/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_agg.c459 dbuf_lim = (uint32_t) M_TRAILINGSPACE(dbuf->dba_mbuf[i]); in _copy_data_sum_dbuf()
538 curr_trailing = (uint32_t)M_TRAILINGSPACE(currm); in copy_pkt_csum_packed()
728 ASSERT(M_TRAILINGSPACE(dbuf->dba_mbuf[0]) >= in copy_pkt_csum()
2187 M_TRAILINGSPACE(curr_m) >= plen - thlen) { in flow_rx_agg_host()
2269 m_chain_max_len += (uint32_t)M_TRAILINGSPACE(m_tmp); in flow_rx_agg_host()
2311 m_chain_max_len += (uint32_t)M_TRAILINGSPACE(m_tmp); in flow_rx_agg_host()
/xnu-11417.140.69/bsd/skywalk/packet/
H A Dpacket_copy.c1478 ASSERT(M_TRAILINGSPACE(m) >= start); in pkt_copy_to_mbuf()
1490 (uint32_t)M_TRAILINGSPACE(curr_m)); in pkt_copy_to_mbuf()
1691 ASSERT(M_TRAILINGSPACE(m) >= start); in pkt_copy_multi_buflet_to_mbuf()
1703 (uint32_t)M_TRAILINGSPACE(curr_m)); in pkt_copy_multi_buflet_to_mbuf()
/xnu-11417.140.69/bsd/netinet6/
H A Desp_output.c674 if (!(n->m_flags & M_EXT) && extendsiz < M_TRAILINGSPACE(n)) { in esp_output()
846 if (!(n->m_flags & M_EXT) && siz < M_TRAILINGSPACE(n)) { /* XXX */ in esp_output()
H A Dicmp6.c1598 lenlim = (int)M_TRAILINGSPACE(n); in ni6_input()
1673 ep = mtod(m, char *) + M_TRAILINGSPACE(m); in ni6_nametodns()
2834 maxlen = M_TRAILINGSPACE(m); in icmp6_redirect_output()
3010 if (8 - extra <= M_TRAILINGSPACE(m0)) { in icmp6_redirect_output()
H A Desp_rijndael.c275 d->m_len = (int)M_TRAILINGSPACE(d); in esp_cbc_decrypt_aes()
492 d->m_len = (int)M_TRAILINGSPACE(d); in esp_cbc_encrypt_aes()
H A Desp_core.c935 d->m_len = (int)((M_TRAILINGSPACE(d) / blocklen) * blocklen); in esp_cbc_decrypt()
1180 d->m_len = (int)((M_TRAILINGSPACE(d) / blocklen) * blocklen); in esp_cbc_encrypt()
H A Dip6_output.c2220 if (M_TRAILINGSPACE(mopt) < JUMBOOPTLEN) { in ip6_insert_jumboopt()
2313 M_TRAILINGSPACE(mlast) >= sizeof(struct ip6_frag)) { in ip6_insertfraghdr()
/xnu-11417.140.69/bsd/netinet/
H A Dip_icmp.c357 icmplen = min(icmplen, (u_int)M_TRAILINGSPACE(m) - in icmp_error()
H A Dmptcp_usrreq.c1217 len = MIN((int)M_TRAILINGSPACE(mb), (int)(tot - progress)); in mptcp_uiotombuf()
/xnu-11417.140.69/bsd/kern/
H A Duipc_mbuf2.c305 if ((off == 0 || offp) && M_TRAILINGSPACE(n) >= tlen in m_pulldown()
H A Dkpi_mbuf.c439 return M_TRAILINGSPACE(mbuf); in mbuf_trailingspace()
H A Duipc_socket2.c1720 m->m_len <= M_TRAILINGSPACE(n) && in sbcompress()
H A Duipc_mbuf.c7206 tspace = M_TRAILINGSPACE(m);
7231 n->m_len = MIN(M_TRAILINGSPACE(n), off + len);
7614 space = M_TRAILINGSPACE(m);
/xnu-11417.140.69/bsd/sys/
H A Dmbuf.h997 #define M_TRAILINGSPACE(m) \ macro
/xnu-11417.140.69/bsd/netkey/
H A Dkey.c3345 if (sizeof(struct sadb_msg) > m->m_len + M_TRAILINGSPACE(m)) { in key_spdflush()
8960 sizeof(struct sadb_msg) > m->m_len + M_TRAILINGSPACE(m)) { in key_flush()
9989 n->m_len = (int)M_TRAILINGSPACE(n); in key_alloc_mbuf()