Lines Matching refs:ms
50 struct rte_mbuf *ms; in mbuf_get_seg_ofs() local
56 ms = rte_pktmbuf_lastseg(mb); in mbuf_get_seg_ofs()
57 n = n + rte_pktmbuf_data_len(ms) - plen; in mbuf_get_seg_ofs()
59 ms = mb; in mbuf_get_seg_ofs()
60 for (k = rte_pktmbuf_data_len(ms); n >= k; in mbuf_get_seg_ofs()
61 k = rte_pktmbuf_data_len(ms)) { in mbuf_get_seg_ofs()
62 ms = ms->next; in mbuf_get_seg_ofs()
68 return ms; in mbuf_get_seg_ofs()
84 mbuf_cut_seg_ofs(struct rte_mbuf *mb, struct rte_mbuf *ms, uint32_t ofs, in mbuf_cut_seg_ofs() argument
90 slen = ms->data_len; in mbuf_cut_seg_ofs()
91 ms->data_len = ofs; in mbuf_cut_seg_ofs()
95 mn = ms->next; in mbuf_cut_seg_ofs()
96 ms->next = NULL; in mbuf_cut_seg_ofs()
98 ms = mn->next; in mbuf_cut_seg_ofs()
100 mn = ms; in mbuf_cut_seg_ofs()