Searched refs:M_TRAILINGSPACE (Results 1 – 15 of 15) sorted by relevance
459 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()
1515 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()
674 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()
1600 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()
275 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()
935 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()
2220 if (M_TRAILINGSPACE(mopt) < JUMBOOPTLEN) { in ip6_insert_jumboopt()2313 M_TRAILINGSPACE(mlast) >= sizeof(struct ip6_frag)) { in ip6_insertfraghdr()
357 icmplen = min(icmplen, (u_int)M_TRAILINGSPACE(m) - in icmp_error()
1219 len = MIN((int)M_TRAILINGSPACE(mb), (int)(tot - progress)); in mptcp_uiotombuf()
305 if ((off == 0 || offp) && M_TRAILINGSPACE(n) >= tlen in m_pulldown()
1680 m->m_len <= M_TRAILINGSPACE(n) && in sbcompress()1703 int tocopy = min((int)M_TRAILINGSPACE(n), m->m_len); in sbcompress()
3873 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()
450 return M_TRAILINGSPACE(mbuf); in mbuf_trailingspace()
995 #define M_TRAILINGSPACE(m) \ macro
3344 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()