Lines Matching refs:buf_offset

809 	uint32_t buf_offset, buf_avail;  in copy_mbuf_to_desc()  local
843 buf_offset = dev->vhost_hlen - buf_len; in copy_mbuf_to_desc()
848 buf_avail = buf_len - buf_offset; in copy_mbuf_to_desc()
850 buf_offset = dev->vhost_hlen; in copy_mbuf_to_desc()
869 buf_offset = 0; in copy_mbuf_to_desc()
904 rte_memcpy((void *)((uintptr_t)(buf_addr + buf_offset)), in copy_mbuf_to_desc()
908 buf_iova + buf_offset, in copy_mbuf_to_desc()
910 PRINT_PACKET(dev, (uintptr_t)(buf_addr + buf_offset), in copy_mbuf_to_desc()
914 (void *)((uintptr_t)(buf_addr + buf_offset)); in copy_mbuf_to_desc()
918 buf_iova + buf_offset; in copy_mbuf_to_desc()
926 buf_offset += cpy_len; in copy_mbuf_to_desc()
975 uint32_t buf_offset, buf_avail; in async_mbuf_to_desc() local
1016 buf_offset = dev->vhost_hlen - buf_len; in async_mbuf_to_desc()
1021 buf_avail = buf_len - buf_offset; in async_mbuf_to_desc()
1023 buf_offset = dev->vhost_hlen; in async_mbuf_to_desc()
1043 buf_offset = 0; in async_mbuf_to_desc()
1078 buf_iova + buf_offset, in async_mbuf_to_desc()
1096 buf_offset += (uint32_t)mapped_len; in async_mbuf_to_desc()
1103 (void *)((uintptr_t)(buf_addr + buf_offset)), in async_mbuf_to_desc()
1108 (uintptr_t)(buf_addr + buf_offset), in async_mbuf_to_desc()
1112 (void *)((uintptr_t)(buf_addr + buf_offset)); in async_mbuf_to_desc()
1116 buf_iova + buf_offset; in async_mbuf_to_desc()
1125 buf_offset += cpy_len; in async_mbuf_to_desc()
1265 uint32_t buf_offset = sizeof(struct virtio_net_hdr_mrg_rxbuf); in virtio_dev_rx_batch_packed() local
1290 if (unlikely(pkts[i]->pkt_len > (lens[i] - buf_offset))) in virtio_dev_rx_batch_packed()
1321 rte_memcpy((void *)(uintptr_t)(desc_addrs[i] + buf_offset), in virtio_dev_rx_batch_packed()
1920 uint32_t buf_avail, buf_offset; in copy_desc_to_mbuf() local
1959 buf_offset = dev->vhost_hlen - buf_len; in copy_desc_to_mbuf()
1963 buf_avail = buf_len - buf_offset; in copy_desc_to_mbuf()
1970 buf_offset = 0; in copy_desc_to_mbuf()
1973 buf_offset = dev->vhost_hlen; in copy_desc_to_mbuf()
1978 (uintptr_t)(buf_addr + buf_offset), in copy_desc_to_mbuf()
1992 buf_offset)), cpy_len); in copy_desc_to_mbuf()
1998 (void *)((uintptr_t)(buf_addr + buf_offset)); in copy_desc_to_mbuf()
2006 buf_offset += cpy_len; in copy_desc_to_mbuf()
2016 buf_offset = 0; in copy_desc_to_mbuf()
2238 uint32_t buf_offset = sizeof(struct virtio_net_hdr_mrg_rxbuf); in vhost_reserve_avail_batch_packed() local
2282 if (unlikely(buf_lens[i] < (lens[i] - buf_offset))) in vhost_reserve_avail_batch_packed()
2287 pkts[i]->pkt_len = descs[avail_idx + i].len - buf_offset; in vhost_reserve_avail_batch_packed()
2315 uint32_t buf_offset = sizeof(struct virtio_net_hdr_mrg_rxbuf); in virtio_dev_tx_batch_packed() local
2329 (void *)(uintptr_t)(desc_addrs[i] + buf_offset), in virtio_dev_tx_batch_packed()