Searched refs:mapaddr (Results 1 - 4 of 4) sorted by relevance

/deb_dpdk/lib/librte_eal/common/
H A Deal_common_pci_uio.c78 void *mapaddr = pci_map_resource(uio_res->maps[i].addr, local
83 if (mapaddr != uio_res->maps[i].addr) {
88 if (mapaddr != MAP_FAILED) {
95 pci_unmap_resource(mapaddr,
H A Deal_common_pci.c122 void *mapaddr; local
125 mapaddr = mmap(requested_addr, size, PROT_READ | PROT_WRITE,
127 if (mapaddr == MAP_FAILED) {
131 strerror(errno), mapaddr);
133 RTE_LOG(DEBUG, EAL, " PCI memory mapped at %p\n", mapaddr);
135 return mapaddr;
/deb_dpdk/lib/librte_eal/linuxapp/eal/
H A Deal_pci_uio.c315 void *mapaddr; local
351 mapaddr = pci_map_resource(pci_map_addr, fd, 0,
354 if (mapaddr == MAP_FAILED)
357 pci_map_addr = RTE_PTR_ADD(mapaddr,
362 maps[map_idx].addr = mapaddr;
365 dev->mem_resource[res_idx].addr = mapaddr;
/deb_dpdk/lib/librte_eal/bsdapp/eal/
H A Deal_pci.c202 void *mapaddr; local
231 mapaddr = pci_map_resource(NULL, fd, (off_t)offset,
234 if (mapaddr == MAP_FAILED)
239 maps[map_idx].addr = mapaddr;
242 dev->mem_resource[res_idx].addr = mapaddr;

Completed in 5 milliseconds