Searched refs:dma_range (Results 1 – 3 of 3) sorted by relevance
998 if (!packet->dma_range) in netvsc_dma_unmap()1002 dma_unmap_single(&hv_dev->device, packet->dma_range[i].dma, in netvsc_dma_unmap()1003 packet->dma_range[i].mapping_size, in netvsc_dma_unmap()1006 kfree(packet->dma_range); in netvsc_dma_unmap()1040 packet->dma_range = kcalloc(page_count, in netvsc_dma_map()1041 sizeof(*packet->dma_range), in netvsc_dma_map()1043 if (!packet->dma_range) in netvsc_dma_map()1054 kfree(packet->dma_range); in netvsc_dma_map()1061 packet->dma_range[i].dma = dma; in netvsc_dma_map()1062 packet->dma_range[i].mapping_size = len; in netvsc_dma_map()[all …]
168 struct hv_dma_range *dma_range; member
55 s32 dma_range; /* DMA address range in megabytes. */ member