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()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()
1478 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()
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()
1598 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()
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()
1217 len = MIN((int)M_TRAILINGSPACE(mb), (int)(tot - progress)); in mptcp_uiotombuf()
305 if ((off == 0 || offp) && M_TRAILINGSPACE(n) >= tlen in m_pulldown()
439 return M_TRAILINGSPACE(mbuf); in mbuf_trailingspace()
1720 m->m_len <= M_TRAILINGSPACE(n) && in sbcompress()
7206 tspace = M_TRAILINGSPACE(m);7231 n->m_len = MIN(M_TRAILINGSPACE(n), off + len);7614 space = M_TRAILINGSPACE(m);
997 #define M_TRAILINGSPACE(m) \ macro
3345 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()