Searched refs:m_last (Results 1 – 4 of 4) sorted by relevance
1585 struct rte_mbuf *m_last; in rte_pktmbuf_append() local1589 m_last = rte_pktmbuf_lastseg(m); in rte_pktmbuf_append()1590 if (unlikely(len > rte_pktmbuf_tailroom(m_last))) in rte_pktmbuf_append()1593 tail = (char *)m_last->buf_addr + m_last->data_off + m_last->data_len; in rte_pktmbuf_append()1594 m_last->data_len = (uint16_t)(m_last->data_len + len); in rte_pktmbuf_append()1645 struct rte_mbuf *m_last; in rte_pktmbuf_trim() local1649 m_last = rte_pktmbuf_lastseg(m); in rte_pktmbuf_trim()1650 if (unlikely(len > m_last->data_len)) in rte_pktmbuf_trim()1653 m_last->data_len = (uint16_t)(m_last->data_len - len); in rte_pktmbuf_trim()
592 struct rte_mbuf *mc, *m_last, **prev; in rte_pktmbuf_copy() local615 m_last = mc; in rte_pktmbuf_copy()626 if (rte_pktmbuf_tailroom(m_last) == 0) { in rte_pktmbuf_copy()627 m_last = rte_pktmbuf_alloc(mp); in rte_pktmbuf_copy()628 if (unlikely(m_last == NULL)) { in rte_pktmbuf_copy()633 *prev = m_last; in rte_pktmbuf_copy()634 prev = &m_last->next; in rte_pktmbuf_copy()642 if (copy_len > rte_pktmbuf_tailroom(m_last)) in rte_pktmbuf_copy()643 copy_len = rte_pktmbuf_tailroom(m_last); in rte_pktmbuf_copy()647 m_last->data_len), in rte_pktmbuf_copy()[all …]
3572 struct rte_mbuf *m_last = tx_pkts; in hns3_pkt_need_linearized() local3587 for (i = 0; m_last && i < max_non_tso_bd_num - 1; in hns3_pkt_need_linearized()3588 i++, m_last = m_last->next) in hns3_pkt_need_linearized()3589 tot_len += m_last->data_len; in hns3_pkt_need_linearized()3591 if (!m_last) in hns3_pkt_need_linearized()3598 if (tot_len + m_last->data_len < tx_pkts->tso_segsz + hdr_len) in hns3_pkt_need_linearized()3605 for (i = 0; m_last && i < bd_num - max_non_tso_bd_num; i++) { in hns3_pkt_need_linearized()3607 tot_len += m_last->data_len; in hns3_pkt_need_linearized()3613 m_last = m_last->next; in hns3_pkt_need_linearized()
2855 struct rte_mbuf *m_last; in ccp_auth_dq_prepare() local2872 m_last = rte_pktmbuf_lastseg(op->sym->m_src); in ccp_auth_dq_prepare()2873 addr = (uint8_t *)((char *)m_last->buf_addr + m_last->data_off + in ccp_auth_dq_prepare()2874 m_last->data_len - session->auth.ctx_len); in ccp_auth_dq_prepare()