Searched refs:map_idx (Results 1 - 5 of 5) sorted by relevance

/deb_dpdk/lib/librte_eal/common/
H A Deal_common_pci_uio.c112 int i, map_idx = 0, ret; local
138 uio_res, map_idx);
142 map_idx++;
145 uio_res->nb_maps = map_idx;
151 for (i = 0; i < map_idx; i++) {
H A Deal_private.h204 * @param map_idx
210 struct mapped_pci_resource *uio_res, int map_idx);
/deb_dpdk/lib/librte_eal/linuxapp/eal/
H A Deal_pci_uio.c311 struct mapped_pci_resource *uio_res, int map_idx)
330 maps[map_idx].path = rte_malloc(NULL, sizeof(devname), 0);
331 if (maps[map_idx].path == NULL) {
360 maps[map_idx].phaddr = dev->mem_resource[res_idx].phys_addr;
361 maps[map_idx].size = dev->mem_resource[res_idx].len;
362 maps[map_idx].addr = mapaddr;
363 maps[map_idx].offset = 0;
364 strcpy(maps[map_idx].path, devname);
370 rte_free(maps[map_idx].path);
310 pci_uio_map_resource_by_index(struct rte_pci_device *dev, int res_idx, struct mapped_pci_resource *uio_res, int map_idx) argument
H A Deal_pci_init.h60 struct mapped_pci_resource *uio_res, int map_idx);
/deb_dpdk/lib/librte_eal/bsdapp/eal/
H A Deal_pci.c198 struct mapped_pci_resource *uio_res, int map_idx)
212 maps[map_idx].path = rte_malloc(NULL, strlen(devname) + 1, 0);
213 if (maps[map_idx].path == NULL) {
237 maps[map_idx].phaddr = dev->mem_resource[res_idx].phys_addr;
238 maps[map_idx].size = dev->mem_resource[res_idx].len;
239 maps[map_idx].addr = mapaddr;
240 maps[map_idx].offset = offset;
241 strcpy(maps[map_idx].path, devname);
247 rte_free(maps[map_idx].path);
197 pci_uio_map_resource_by_index(struct rte_pci_device *dev, int res_idx, struct mapped_pci_resource *uio_res, int map_idx) argument

Completed in 5 milliseconds