Home
last modified time | relevance | path

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

/xnu-12377.41.6/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()
2188 M_TRAILINGSPACE(curr_m) >= plen - thlen) { in flow_rx_agg_host()
2270 m_chain_max_len += (uint32_t)M_TRAILINGSPACE(m_tmp); in flow_rx_agg_host()
2312 m_chain_max_len += (uint32_t)M_TRAILINGSPACE(m_tmp); in flow_rx_agg_host()
/xnu-12377.41.6/bsd/skywalk/packet/
H A Dpacket_copy.c1515 ASSERT(M_TRAILINGSPACE(m) >= start); in pkt_copy_to_mbuf()
1527 (uint32_t)M_TRAILINGSPACE(curr_m)); in pkt_copy_to_mbuf()
1740 ASSERT(M_TRAILINGSPACE(m) >= start); in pkt_copy_multi_buflet_to_mbuf()
1752 (uint32_t)M_TRAILINGSPACE(curr_m)); in pkt_copy_multi_buflet_to_mbuf()
/xnu-12377.41.6/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.c1600 lenlim = (int)M_TRAILINGSPACE(n); in ni6_input()
1675 ep = mtod(m, char *) + M_TRAILINGSPACE(m); in ni6_nametodns()
2836 maxlen = M_TRAILINGSPACE(m); in icmp6_redirect_output()
3012 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-12377.41.6/bsd/netinet/
H A Dip_icmp.c357 icmplen = min(icmplen, (u_int)M_TRAILINGSPACE(m) - in icmp_error()
H A Dmptcp_usrreq.c1219 len = MIN((int)M_TRAILINGSPACE(mb), (int)(tot - progress)); in mptcp_uiotombuf()
/xnu-12377.41.6/bsd/kern/
H A Duipc_mbuf2.c305 if ((off == 0 || offp) && M_TRAILINGSPACE(n) >= tlen in m_pulldown()
H A Duipc_socket2.c1680 m->m_len <= M_TRAILINGSPACE(n) && in sbcompress()
1703 int tocopy = min((int)M_TRAILINGSPACE(n), m->m_len); in sbcompress()
H A Duipc_mbuf.c3873 tspace = M_TRAILINGSPACE(m); in m_copyback0()
3898 n->m_len = MIN(M_TRAILINGSPACE(n), off + len); in m_copyback0()
4260 space = M_TRAILINGSPACE(m); in m_append()
H A Dkpi_mbuf.c450 return M_TRAILINGSPACE(mbuf); in mbuf_trailingspace()
/xnu-12377.41.6/bsd/sys/
H A Dmbuf.h995 #define M_TRAILINGSPACE(m) \ macro
/xnu-12377.41.6/bsd/netkey/
H A Dkey.c3344 if (sizeof(struct sadb_msg) > m->m_len + M_TRAILINGSPACE(m)) { in key_spdflush()
8959 sizeof(struct sadb_msg) > m->m_len + M_TRAILINGSPACE(m)) { in key_flush()
9988 n->m_len = (int)M_TRAILINGSPACE(n); in key_alloc_mbuf()