Searched refs:dma_range (Results 1 – 3 of 3) sorted by relevance
983 if (!packet->dma_range) in netvsc_dma_unmap()987 dma_unmap_single(&hv_dev->device, packet->dma_range[i].dma, in netvsc_dma_unmap()988 packet->dma_range[i].mapping_size, in netvsc_dma_unmap()991 kfree(packet->dma_range); in netvsc_dma_unmap()1023 packet->dma_range = kcalloc(page_count, in netvsc_dma_map()1024 sizeof(*packet->dma_range), in netvsc_dma_map()1026 if (!packet->dma_range) in netvsc_dma_map()1037 kfree(packet->dma_range); in netvsc_dma_map()1044 packet->dma_range[i].dma = dma; in netvsc_dma_map()1045 packet->dma_range[i].mapping_size = len; in netvsc_dma_map()[all …]
170 struct hv_dma_range *dma_range; member
55 s32 dma_range; /* DMA address range in megabytes. */ member