Home
last modified time | relevance | path

Searched refs:m_last (Results 1 – 16 of 16) sorted by relevance

/f-stack/dpdk/lib/librte_mbuf/
H A Drte_mbuf.h1608 struct rte_mbuf *m_last; in rte_pktmbuf_append() local
1612 m_last = rte_pktmbuf_lastseg(m); in rte_pktmbuf_append()
1613 if (unlikely(len > rte_pktmbuf_tailroom(m_last))) in rte_pktmbuf_append()
1616 tail = (char *)m_last->buf_addr + m_last->data_off + m_last->data_len; in rte_pktmbuf_append()
1617 m_last->data_len = (uint16_t)(m_last->data_len + len); in rte_pktmbuf_append()
1668 struct rte_mbuf *m_last; in rte_pktmbuf_trim() local
1672 m_last = rte_pktmbuf_lastseg(m); in rte_pktmbuf_trim()
1673 if (unlikely(len > m_last->data_len)) in rte_pktmbuf_trim()
1676 m_last->data_len = (uint16_t)(m_last->data_len - len); in rte_pktmbuf_trim()
H A Drte_mbuf.c598 struct rte_mbuf *mc, *m_last, **prev; in rte_pktmbuf_copy() local
621 m_last = mc; in rte_pktmbuf_copy()
632 if (rte_pktmbuf_tailroom(m_last) == 0) { in rte_pktmbuf_copy()
633 m_last = rte_pktmbuf_alloc(mp); in rte_pktmbuf_copy()
634 if (unlikely(m_last == NULL)) { in rte_pktmbuf_copy()
639 *prev = m_last; in rte_pktmbuf_copy()
640 prev = &m_last->next; in rte_pktmbuf_copy()
648 if (copy_len > rte_pktmbuf_tailroom(m_last)) in rte_pktmbuf_copy()
649 copy_len = rte_pktmbuf_tailroom(m_last); in rte_pktmbuf_copy()
653 m_last->data_len), in rte_pktmbuf_copy()
[all …]
/f-stack/freebsd/netgraph/bluetooth/l2cap/
H A Dng_l2cap_llpi.c549 struct mbuf *m_last = NULL, *m = NULL; in ng_l2cap_lp_send() local
615 con->tx_pkt = m_last = m0; in ng_l2cap_lp_send()
617 m_last->m_nextpkt = m0; in ng_l2cap_lp_send()
618 m_last = m0; in ng_l2cap_lp_send()
/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_rxtx.c3112 struct rte_mbuf *m_last = tx_pkts; in hns3_pkt_need_linearized() local
3127 for (i = 0; m_last && i < max_non_tso_bd_num - 1; in hns3_pkt_need_linearized()
3128 i++, m_last = m_last->next) in hns3_pkt_need_linearized()
3129 tot_len += m_last->data_len; in hns3_pkt_need_linearized()
3131 if (!m_last) in hns3_pkt_need_linearized()
3138 if (tot_len + m_last->data_len < tx_pkts->tso_segsz + hdr_len) in hns3_pkt_need_linearized()
3145 for (i = 0; m_last && i < bd_num - max_non_tso_bd_num; i++) { in hns3_pkt_need_linearized()
3147 tot_len += m_last->data_len; in hns3_pkt_need_linearized()
3153 m_last = m_last->next; in hns3_pkt_need_linearized()
/f-stack/freebsd/kern/
H A Duipc_mbuf.c1575 struct mbuf *m_first, *m_last; in m_fragment() local
1601 m_last = m_first; in m_fragment()
1614 m_last->m_next = m_new; in m_fragment()
1615 m_last = m_new; in m_fragment()
1618 m_copydata(m0, progress, fraglen, mtod(m_last, caddr_t)); in m_fragment()
1620 m_last->m_len = fraglen; in m_fragment()
H A Duipc_sockbuf.c1229 ctrl_last = (control == NULL) ? NULL : m_last(control); in sbappendaddr_nospacecheck_locked()
1258 m_last(control)->m_next = m0; in sbappendcontrol_locked()
H A Dkern_mbuf.c1112 prev = m_last(m); in mb_unmapped_to_ext()
/f-stack/freebsd/netinet/
H A Dsctp_output.c4619 struct mbuf *m, *m_last; in sctp_send_initiate() local
6017 m_last = m; in sctp_send_initiate_ack()
6031 m_last = sctp_add_addresses_to_i_ia(inp, stcb, &scp, m_last, in sctp_send_initiate_ack()
6051 m_last = SCTP_BUF_NEXT(m_last); in sctp_send_initiate_ack()
6056 m_last = sctp_add_pad_tombuf(m_last, padding_len); in sctp_send_initiate_ack()
6057 if (m_last == NULL) { in sctp_send_initiate_ack()
6078 m_last = m_tmp; in sctp_send_initiate_ack()
10881 m_last = NULL; in sctp_send_abort_tcb()
10885 m_last = m; in sctp_send_abort_tcb()
11022 m_last = m_at; in sctp_send_resp_msg()
[all …]
H A Dtcp_lro.c646 le->m_tail = m_last(m); in tcp_set_le_to_m()
844 le->m_tail = m_last(m); in tcp_lro_condense()
1391 le->m_tail = m_last(m); in tcp_lro_rx2()
H A Dsctputil.c3101 struct mbuf *m_last; in sctp_add_pad_tombuf() local
3112 m_last = m; in sctp_add_pad_tombuf()
3115 m_last = sctp_get_mbuf_for_msg(padlen, 0, M_NOWAIT, 1, MT_DATA); in sctp_add_pad_tombuf()
3116 if (m_last == NULL) { in sctp_add_pad_tombuf()
3119 SCTP_BUF_LEN(m_last) = 0; in sctp_add_pad_tombuf()
3120 SCTP_BUF_NEXT(m_last) = NULL; in sctp_add_pad_tombuf()
3121 SCTP_BUF_NEXT(m) = m_last; in sctp_add_pad_tombuf()
3123 dp = mtod(m_last, caddr_t)+SCTP_BUF_LEN(m_last); in sctp_add_pad_tombuf()
3124 SCTP_BUF_LEN(m_last) += padlen; in sctp_add_pad_tombuf()
3126 return (m_last); in sctp_add_pad_tombuf()
H A Digmp.c2873 md = m_last(m); in igmp_v3_enqueue_group_record()
3153 md = m_last(m); in igmp_v3_enqueue_filter_change()
3342 mtl = m_last(mt); in igmp_v3_merge_state_changes()
/f-stack/dpdk/drivers/crypto/ccp/
H A Dccp_crypto.c2791 struct rte_mbuf *m_last; in ccp_auth_dq_prepare() local
2808 m_last = rte_pktmbuf_lastseg(op->sym->m_src); in ccp_auth_dq_prepare()
2809 addr = (uint8_t *)((char *)m_last->buf_addr + m_last->data_off + in ccp_auth_dq_prepare()
2810 m_last->data_len - session->auth.ctx_len); in ccp_auth_dq_prepare()
/f-stack/freebsd/netinet6/
H A Dmld6.c2525 md = m_last(m); in mld_v2_enqueue_group_record()
2801 md = m_last(m); in mld_v2_enqueue_filter_change()
2991 mtl = m_last(mt); in mld_v2_merge_state_changes()
H A Dfrag6.c798 t = m_last(t); in frag6_input()
/f-stack/tools/compat/include/sys/
H A Dmbuf.h821 m_last(struct mbuf *m) in m_last() function
/f-stack/freebsd/sys/
H A Dmbuf.h1047 m_last(struct mbuf *m) in m_last() function