/drivers/xen/xenbus/ |
D | xenbus_client.c | 79 int (*unmap)(struct xenbus_device *dev, void *vaddr); member 488 struct gnttab_unmap_grant_ref unmap[XENBUS_MAX_RING_GRANTS]; in __xenbus_map_ring() local 520 memset(&unmap[j], 0, sizeof(unmap[j])); in __xenbus_map_ring() 521 gnttab_set_unmap_op(&unmap[j], (phys_addr_t)addrs[i], in __xenbus_map_ring() 527 if (HYPERVISOR_grant_table_op(GNTTABOP_unmap_grant_ref, unmap, j)) in __xenbus_map_ring() 532 if (unmap[i].status != GNTST_okay) { in __xenbus_map_ring() 743 return ring_ops->unmap(dev, vaddr); in xenbus_unmap_ring_vfree() 750 struct gnttab_unmap_grant_ref unmap[XENBUS_MAX_RING_GRANTS]; in xenbus_unmap_ring_vfree_pv() local 776 memset(&unmap[i], 0, sizeof(unmap[i])); in xenbus_unmap_ring_vfree_pv() 778 unmap[i].host_addr = arbitrary_virt_to_machine( in xenbus_unmap_ring_vfree_pv() [all …]
|
/drivers/dma/ |
D | dmaengine.c | 1126 struct dmaengine_unmap_data *unmap = container_of(kref, typeof(*unmap), kref); in dmaengine_unmap() local 1127 struct device *dev = unmap->dev; in dmaengine_unmap() 1130 cnt = unmap->to_cnt; in dmaengine_unmap() 1132 dma_unmap_page(dev, unmap->addr[i], unmap->len, in dmaengine_unmap() 1134 cnt += unmap->from_cnt; in dmaengine_unmap() 1136 dma_unmap_page(dev, unmap->addr[i], unmap->len, in dmaengine_unmap() 1138 cnt += unmap->bidi_cnt; in dmaengine_unmap() 1140 if (unmap->addr[i] == 0) in dmaengine_unmap() 1142 dma_unmap_page(dev, unmap->addr[i], unmap->len, in dmaengine_unmap() 1145 cnt = unmap->map_cnt; in dmaengine_unmap() [all …]
|
D | mv_xor.c | 762 struct dmaengine_unmap_data *unmap; in mv_chan_memcpy_self_test() local 785 unmap = dmaengine_get_unmap_data(dma_chan->device->dev, 2, GFP_KERNEL); in mv_chan_memcpy_self_test() 786 if (!unmap) { in mv_chan_memcpy_self_test() 794 unmap->addr[0] = src_dma; in mv_chan_memcpy_self_test() 801 unmap->to_cnt = 1; in mv_chan_memcpy_self_test() 806 unmap->addr[1] = dest_dma; in mv_chan_memcpy_self_test() 813 unmap->from_cnt = 1; in mv_chan_memcpy_self_test() 814 unmap->len = PAGE_SIZE; in mv_chan_memcpy_self_test() 855 dmaengine_unmap_put(unmap); in mv_chan_memcpy_self_test() 873 struct dmaengine_unmap_data *unmap; in mv_chan_xor_self_test() local [all …]
|
/drivers/net/ethernet/brocade/bna/ |
D | bnad.c | 101 struct bnad_tx_unmap *unmap; in bnad_tx_buff_unmap() local 105 unmap = &unmap_q[index]; in bnad_tx_buff_unmap() 106 nvecs = unmap->nvecs; in bnad_tx_buff_unmap() 108 skb = unmap->skb; in bnad_tx_buff_unmap() 109 unmap->skb = NULL; in bnad_tx_buff_unmap() 110 unmap->nvecs = 0; in bnad_tx_buff_unmap() 112 dma_unmap_addr(&unmap->vectors[0], dma_addr), in bnad_tx_buff_unmap() 114 dma_unmap_addr_set(&unmap->vectors[0], dma_addr, 0); in bnad_tx_buff_unmap() 123 unmap = &unmap_q[index]; in bnad_tx_buff_unmap() 127 dma_unmap_addr(&unmap->vectors[vector], dma_addr), in bnad_tx_buff_unmap() [all …]
|
/drivers/vfio/ |
D | vfio_iommu_type1.c | 416 struct vfio_iommu_type1_dma_unmap *unmap) in vfio_dma_do_unmap() argument 425 if (unmap->iova & mask) in vfio_dma_do_unmap() 427 if (!unmap->size || unmap->size & mask) in vfio_dma_do_unmap() 466 dma = vfio_find_dma(iommu, unmap->iova, 0); in vfio_dma_do_unmap() 467 if (dma && dma->iova != unmap->iova) { in vfio_dma_do_unmap() 471 dma = vfio_find_dma(iommu, unmap->iova + unmap->size - 1, 0); in vfio_dma_do_unmap() 472 if (dma && dma->iova + dma->size != unmap->iova + unmap->size) { in vfio_dma_do_unmap() 478 while ((dma = vfio_find_dma(iommu, unmap->iova, unmap->size))) { in vfio_dma_do_unmap() 479 if (!iommu->v2 && unmap->iova > dma->iova) in vfio_dma_do_unmap() 489 unmap->size = unmapped; in vfio_dma_do_unmap() [all …]
|
/drivers/ntb/ |
D | ntb_transport.c | 1300 struct dmaengine_unmap_data *unmap; in ntb_async_rx_submit() local 1312 unmap = dmaengine_get_unmap_data(device->dev, 2, GFP_NOWAIT); in ntb_async_rx_submit() 1313 if (!unmap) in ntb_async_rx_submit() 1316 unmap->len = len; in ntb_async_rx_submit() 1317 unmap->addr[0] = dma_map_page(device->dev, virt_to_page(offset), in ntb_async_rx_submit() 1319 if (dma_mapping_error(device->dev, unmap->addr[0])) in ntb_async_rx_submit() 1322 unmap->to_cnt = 1; in ntb_async_rx_submit() 1324 unmap->addr[1] = dma_map_page(device->dev, virt_to_page(buf), in ntb_async_rx_submit() 1326 if (dma_mapping_error(device->dev, unmap->addr[1])) in ntb_async_rx_submit() 1329 unmap->from_cnt = 1; in ntb_async_rx_submit() [all …]
|
/drivers/acpi/ |
D | nvs.c | 79 bool unmap; member 138 if (entry->unmap) { in suspend_nvs_free() 140 entry->unmap = false; in suspend_nvs_free() 184 entry->unmap = !!entry->kaddr; in suspend_nvs_save()
|
D | osl.c | 683 bool unmap = false; in acpi_os_read_memory() local 693 unmap = true; in acpi_os_read_memory() 716 if (unmap) in acpi_os_read_memory() 729 bool unmap = false; in acpi_os_write_memory() local 738 unmap = true; in acpi_os_write_memory() 758 if (unmap) in acpi_os_write_memory()
|
/drivers/ntb/test/ |
D | ntb_perf.c | 203 struct dmaengine_unmap_data *unmap; in perf_copy() local 233 unmap = dmaengine_get_unmap_data(device->dev, 1, GFP_NOWAIT); in perf_copy() 234 if (!unmap) in perf_copy() 237 unmap->len = size; in perf_copy() 238 unmap->addr[0] = dma_map_page(device->dev, virt_to_page(src), in perf_copy() 240 if (dma_mapping_error(device->dev, unmap->addr[0])) in perf_copy() 243 unmap->to_cnt = 1; in perf_copy() 247 unmap->addr[0], in perf_copy() 262 dma_set_unmap(txd, unmap); in perf_copy() 268 dmaengine_unmap_put(unmap); in perf_copy() [all …]
|
/drivers/gpio/ |
D | gpio-sodaville.c | 233 goto unmap; in sdv_gpio_probe() 239 goto unmap; in sdv_gpio_probe() 244 goto unmap; in sdv_gpio_probe() 250 unmap: in sdv_gpio_probe()
|
/drivers/xen/ |
D | arm-device.c | 81 goto unmap; in xen_map_device_mmio() 105 goto unmap; in xen_map_device_mmio() 110 unmap: in xen_map_device_mmio()
|
/drivers/block/xen-blkback/ |
D | blkback.c | 289 struct gnttab_unmap_grant_ref unmap[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in free_persistent_gnts() local 297 unmap_data.unmap_ops = unmap; in free_persistent_gnts() 303 gnttab_set_unmap_op(&unmap[segs_to_unmap], in free_persistent_gnts() 330 struct gnttab_unmap_grant_ref unmap[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in xen_blkbk_unmap_purged_grants() local 338 unmap_data.unmap_ops = unmap; in xen_blkbk_unmap_purged_grants() 347 gnttab_set_unmap_op(&unmap[segs_to_unmap], in xen_blkbk_unmap_purged_grants() 753 req->unmap, req->unmap_pages); in xen_blkbk_unmap_and_respond() 757 work->unmap_ops = req->unmap; in xen_blkbk_unmap_and_respond() 777 struct gnttab_unmap_grant_ref unmap[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in xen_blkbk_unmap() local 786 unmap, unmap_pages); in xen_blkbk_unmap() [all …]
|
/drivers/clk/sunxi/ |
D | clk-sun4i-display.c | 134 goto unmap; in sun4i_a10_display_init() 139 goto unmap; in sun4i_a10_display_init() 224 unmap: in sun4i_a10_display_init()
|
/drivers/firmware/efi/ |
D | memattr.c | 41 goto unmap; in efi_memattr_init() 47 unmap: in efi_memattr_init()
|
/drivers/gpu/drm/mgag200/ |
D | mgag200_fb.c | 29 bool unmap = false; in mga_dirty_update() local 84 unmap = true; in mga_dirty_update() 92 if (unmap) in mga_dirty_update()
|
/drivers/input/serio/ |
D | ambakmi.c | 148 goto unmap; in amba_kmi_probe() 157 unmap: in amba_kmi_probe()
|
/drivers/gpu/drm/cirrus/ |
D | cirrus_fbdev.c | 27 bool unmap = false; in cirrus_dirty_update() local 81 unmap = true; in cirrus_dirty_update() 89 if (unmap) in cirrus_dirty_update()
|
/drivers/i2c/busses/ |
D | i2c-iop3xx.c | 460 goto unmap; in iop3xx_i2c_probe() 467 goto unmap; in iop3xx_i2c_probe() 495 unmap: in iop3xx_i2c_probe()
|
/drivers/gpu/drm/ast/ |
D | ast_fb.c | 54 bool unmap = false; in ast_dirty_update() local 109 unmap = true; in ast_dirty_update() 117 if (unmap) in ast_dirty_update()
|
/drivers/lguest/ |
D | core.c | 358 goto unmap; in init() 373 unmap: in init()
|
/drivers/bcma/ |
D | driver_pci_host.c | 124 goto unmap; in bcma_extpci_read_config() 141 unmap: in bcma_extpci_read_config() 189 goto unmap; in bcma_extpci_write_config() 223 unmap: in bcma_extpci_write_config()
|
/drivers/iommu/ |
D | iommu-traces.c | 24 EXPORT_TRACEPOINT_SYMBOL_GPL(unmap);
|
/drivers/ssb/ |
D | driver_pcicore.c | 131 goto unmap; in ssb_extpci_read_config() 149 unmap: in ssb_extpci_read_config() 177 goto unmap; in ssb_extpci_write_config() 198 unmap: in ssb_extpci_write_config()
|
/drivers/gpu/drm/nouveau/include/nvif/ |
D | driver.h | 13 void (*unmap)(void *priv, void __iomem *ptr, u32 size); member
|
/drivers/gpu/drm/msm/ |
D | msm_mmu.h | 28 int (*unmap)(struct msm_mmu *mmu, uint32_t iova, struct sg_table *sgt, member
|