Home
last modified time | relevance | path

Searched refs:copy_len (Results 1 – 5 of 5) sorted by relevance

/f-stack/dpdk/lib/librte_mbuf/
H A Drte_mbuf.c559 size_t seg_len, copy_len; in __rte_pktmbuf_linearize() local
623 uint32_t copy_len; in rte_pktmbuf_copy() local
655 copy_len); in rte_pktmbuf_copy()
658 m_last->data_len += copy_len; in rte_pktmbuf_copy()
659 mc->pkt_len += copy_len; in rte_pktmbuf_copy()
660 off += copy_len; in rte_pktmbuf_copy()
661 len -= copy_len; in rte_pktmbuf_copy()
729 if (copy_len > len) in __rte_pktmbuf_read()
730 copy_len = len; in __rte_pktmbuf_read()
734 buf_off += copy_len; in __rte_pktmbuf_read()
[all …]
/f-stack/app/micro_thread/
H A Dmt_cache.cpp614 uint32_t copy_len = 0; in read_cache_data() local
617 copy_len = left_len; in read_cache_data()
621 copy_len = item->data_len; in read_cache_data()
626 memcpy((char*)data + offset, item->data, copy_len); in read_cache_data()
628 offset += copy_len; in read_cache_data()
629 left_len -= copy_len; in read_cache_data()
672 uint32_t copy_len = copy_left > real_left ? real_left : copy_left; in read_cache_begin() local
675 memcpy((char*)data + offset, start_ptr, copy_len); in read_cache_begin()
677 offset += copy_len; in read_cache_begin()
678 copy_left -= copy_len; in read_cache_begin()
/f-stack/dpdk/app/test-pmd/
H A Dtxonly.c72 unsigned copy_len; in copy_buf_to_pkt_segs() local
79 copy_len = seg->data_len - offset; in copy_buf_to_pkt_segs()
81 while (len > copy_len) { in copy_buf_to_pkt_segs()
82 rte_memcpy(seg_buf, buf, (size_t) copy_len); in copy_buf_to_pkt_segs()
83 len -= copy_len; in copy_buf_to_pkt_segs()
84 buf = ((char*) buf + copy_len); in copy_buf_to_pkt_segs()
87 copy_len = seg->data_len; in copy_buf_to_pkt_segs()
/f-stack/dpdk/app/test/
H A Dpacket_burst_generator.c23 unsigned copy_len; in copy_buf_to_pkt_segs() local
30 copy_len = seg->data_len - offset; in copy_buf_to_pkt_segs()
32 while (len > copy_len) { in copy_buf_to_pkt_segs()
33 rte_memcpy(seg_buf, buf, (size_t) copy_len); in copy_buf_to_pkt_segs()
34 len -= copy_len; in copy_buf_to_pkt_segs()
35 buf = ((char *) buf + copy_len); in copy_buf_to_pkt_segs()
/f-stack/freebsd/kern/
H A Dimgact_elf.c606 size_t copy_len; in __elfN() local
663 copy_len = filsz == 0 ? 0 : (offset + filsz) - trunc_page(offset + in __elfN()
676 if (copy_len != 0) { in __elfN()
683 copy_len); in __elfN()