Home
last modified time | relevance | path

Searched refs:unmap (Results 1 – 166 of 166) sorted by relevance

/linux-4.4.14/crypto/async_tx/
Dasync_xor.c36 do_async_xor(struct dma_chan *chan, struct dmaengine_unmap_data *unmap, in do_async_xor() argument
45 int src_cnt = unmap->to_cnt; in do_async_xor()
47 dma_addr_t dma_dest = unmap->addr[unmap->to_cnt]; in do_async_xor()
48 dma_addr_t *src_list = unmap->addr; in do_async_xor()
76 if (src_list > unmap->addr) in do_async_xor()
79 xor_src_cnt, unmap->len, in do_async_xor()
90 xor_src_cnt, unmap->len, in do_async_xor()
95 dma_set_unmap(tx, unmap); in do_async_xor()
180 struct dmaengine_unmap_data *unmap = NULL; in async_xor() local
185 unmap = dmaengine_get_unmap_data(device->dev, src_cnt+1, GFP_NOWAIT); in async_xor()
[all …]
Dasync_memcpy.c53 struct dmaengine_unmap_data *unmap = NULL; in async_memcpy() local
56 unmap = dmaengine_get_unmap_data(device->dev, 2, GFP_NOWAIT); in async_memcpy()
58 if (unmap && is_dma_copy_aligned(device, src_offset, dest_offset, len)) { in async_memcpy()
66 unmap->to_cnt = 1; in async_memcpy()
67 unmap->addr[0] = dma_map_page(device->dev, src, src_offset, len, in async_memcpy()
69 unmap->from_cnt = 1; in async_memcpy()
70 unmap->addr[1] = dma_map_page(device->dev, dest, dest_offset, len, in async_memcpy()
72 unmap->len = len; in async_memcpy()
74 tx = device->device_prep_dma_memcpy(chan, unmap->addr[1], in async_memcpy()
75 unmap->addr[0], len, in async_memcpy()
[all …]
Dasync_pq.c51 struct dmaengine_unmap_data *unmap, in do_async_gen_syndrome() argument
91 dma_dest[0] = unmap->addr[disks - 2]; in do_async_gen_syndrome()
92 dma_dest[1] = unmap->addr[disks - 1]; in do_async_gen_syndrome()
94 &unmap->addr[src_off], in do_async_gen_syndrome()
96 &scfs[src_off], unmap->len, in do_async_gen_syndrome()
104 dma_set_unmap(tx, unmap); in do_async_gen_syndrome()
186 struct dmaengine_unmap_data *unmap = NULL; in async_gen_syndrome() local
191 unmap = dmaengine_get_unmap_data(device->dev, disks, GFP_NOWAIT); in async_gen_syndrome()
194 if (unmap && !(submit->flags & ASYNC_TX_PQ_XOR_DST) && in async_gen_syndrome()
210 unmap->len = len; in async_gen_syndrome()
[all …]
Dasync_raid6_recov.c38 struct dmaengine_unmap_data *unmap = NULL; in async_sum_product() local
44 unmap = dmaengine_get_unmap_data(dma->dev, 3, GFP_NOWAIT); in async_sum_product()
46 if (unmap) { in async_sum_product()
54 unmap->addr[0] = dma_map_page(dev, srcs[0], 0, len, DMA_TO_DEVICE); in async_sum_product()
55 unmap->addr[1] = dma_map_page(dev, srcs[1], 0, len, DMA_TO_DEVICE); in async_sum_product()
56 unmap->to_cnt = 2; in async_sum_product()
58 unmap->addr[2] = dma_map_page(dev, dest, 0, len, DMA_BIDIRECTIONAL); in async_sum_product()
59 unmap->bidi_cnt = 1; in async_sum_product()
61 pq[1] = unmap->addr[2]; in async_sum_product()
63 unmap->len = len; in async_sum_product()
[all …]
/linux-4.4.14/drivers/xen/xenbus/
Dxenbus_client.c79 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 …]
/linux-4.4.14/tools/testing/selftests/vm/
Dmlock2-tests.c369 goto unmap; in test_mlock_lock()
373 goto unmap; in test_mlock_lock()
378 goto unmap; in test_mlock_lock()
383 unmap: in test_mlock_lock()
478 goto unmap; in test_mlock_onfault()
482 goto unmap; in test_mlock_onfault()
491 goto unmap; in test_mlock_onfault()
495 unmap: in test_mlock_onfault()
523 goto unmap; in test_lock_onfault_of_present()
534 goto unmap; in test_lock_onfault_of_present()
[all …]
/linux-4.4.14/drivers/dma/
Ddmaengine.c1040 struct dmaengine_unmap_data *unmap = container_of(kref, typeof(*unmap), kref); in dmaengine_unmap() local
1041 struct device *dev = unmap->dev; in dmaengine_unmap()
1044 cnt = unmap->to_cnt; in dmaengine_unmap()
1046 dma_unmap_page(dev, unmap->addr[i], unmap->len, in dmaengine_unmap()
1048 cnt += unmap->from_cnt; in dmaengine_unmap()
1050 dma_unmap_page(dev, unmap->addr[i], unmap->len, in dmaengine_unmap()
1052 cnt += unmap->bidi_cnt; in dmaengine_unmap()
1054 if (unmap->addr[i] == 0) in dmaengine_unmap()
1056 dma_unmap_page(dev, unmap->addr[i], unmap->len, in dmaengine_unmap()
1059 cnt = unmap->map_cnt; in dmaengine_unmap()
[all …]
Dmv_xor.c707 struct dmaengine_unmap_data *unmap; in mv_chan_memcpy_self_test() local
730 unmap = dmaengine_get_unmap_data(dma_chan->device->dev, 2, GFP_KERNEL); in mv_chan_memcpy_self_test()
731 if (!unmap) { in mv_chan_memcpy_self_test()
738 unmap->addr[0] = src_dma; in mv_chan_memcpy_self_test()
745 unmap->to_cnt = 1; in mv_chan_memcpy_self_test()
749 unmap->addr[1] = dest_dma; in mv_chan_memcpy_self_test()
756 unmap->from_cnt = 1; in mv_chan_memcpy_self_test()
757 unmap->len = PAGE_SIZE; in mv_chan_memcpy_self_test()
798 dmaengine_unmap_put(unmap); in mv_chan_memcpy_self_test()
816 struct dmaengine_unmap_data *unmap; in mv_chan_xor_self_test() local
[all …]
/linux-4.4.14/drivers/vfio/
Dvfio_iommu_type1.c430 struct vfio_iommu_type1_dma_unmap *unmap) in vfio_dma_do_unmap() argument
439 if (unmap->iova & mask) in vfio_dma_do_unmap()
441 if (!unmap->size || unmap->size & mask) in vfio_dma_do_unmap()
480 dma = vfio_find_dma(iommu, unmap->iova, 0); in vfio_dma_do_unmap()
481 if (dma && dma->iova != unmap->iova) { in vfio_dma_do_unmap()
485 dma = vfio_find_dma(iommu, unmap->iova + unmap->size - 1, 0); in vfio_dma_do_unmap()
486 if (dma && dma->iova + dma->size != unmap->iova + unmap->size) { in vfio_dma_do_unmap()
492 while ((dma = vfio_find_dma(iommu, unmap->iova, unmap->size))) { in vfio_dma_do_unmap()
493 if (!iommu->v2 && unmap->iova > dma->iova) in vfio_dma_do_unmap()
503 unmap->size = unmapped; in vfio_dma_do_unmap()
[all …]
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
Dbnad.c120 struct bnad_tx_unmap *unmap; in bnad_tx_buff_unmap() local
124 unmap = &unmap_q[index]; in bnad_tx_buff_unmap()
125 nvecs = unmap->nvecs; in bnad_tx_buff_unmap()
127 skb = unmap->skb; in bnad_tx_buff_unmap()
128 unmap->skb = NULL; in bnad_tx_buff_unmap()
129 unmap->nvecs = 0; in bnad_tx_buff_unmap()
131 dma_unmap_addr(&unmap->vectors[0], dma_addr), in bnad_tx_buff_unmap()
133 dma_unmap_addr_set(&unmap->vectors[0], dma_addr, 0); in bnad_tx_buff_unmap()
142 unmap = &unmap_q[index]; in bnad_tx_buff_unmap()
146 dma_unmap_addr(&unmap->vectors[vector], dma_addr), in bnad_tx_buff_unmap()
[all …]
Dbnad.h264 struct bnad_rx_unmap unmap[0] ____cacheline_aligned; member
/linux-4.4.14/include/xen/
Dgrant_table.h163 gnttab_set_unmap_op(struct gnttab_unmap_grant_ref *unmap, phys_addr_t addr, in gnttab_set_unmap_op() argument
167 unmap->host_addr = addr; in gnttab_set_unmap_op()
169 unmap->host_addr = __pa(addr); in gnttab_set_unmap_op()
171 unmap->host_addr = addr; in gnttab_set_unmap_op()
173 unmap->handle = handle; in gnttab_set_unmap_op()
174 unmap->dev_bus_addr = 0; in gnttab_set_unmap_op()
/linux-4.4.14/drivers/acpi/
Dnvs.c79 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()
Dosl.c954 bool unmap = false; in acpi_os_read_memory() local
964 unmap = true; in acpi_os_read_memory()
987 if (unmap) in acpi_os_read_memory()
1000 bool unmap = false; in acpi_os_write_memory() local
1009 unmap = true; in acpi_os_write_memory()
1029 if (unmap) in acpi_os_write_memory()
/linux-4.4.14/drivers/ntb/
Dntb_transport.c1228 struct dmaengine_unmap_data *unmap; in ntb_async_rx() local
1247 unmap = dmaengine_get_unmap_data(device->dev, 2, GFP_NOWAIT); in ntb_async_rx()
1248 if (!unmap) in ntb_async_rx()
1251 unmap->len = len; in ntb_async_rx()
1252 unmap->addr[0] = dma_map_page(device->dev, virt_to_page(offset), in ntb_async_rx()
1254 if (dma_mapping_error(device->dev, unmap->addr[0])) in ntb_async_rx()
1257 unmap->to_cnt = 1; in ntb_async_rx()
1259 unmap->addr[1] = dma_map_page(device->dev, virt_to_page(buf), in ntb_async_rx()
1261 if (dma_mapping_error(device->dev, unmap->addr[1])) in ntb_async_rx()
1264 unmap->from_cnt = 1; in ntb_async_rx()
[all …]
/linux-4.4.14/arch/um/kernel/
Dexec.c27 ret = unmap(&current->mm->context.id, 0, STUB_START, 0, &data); in flush_thread()
28 ret = ret || unmap(&current->mm->context.id, STUB_END, in flush_thread()
Dtlb.c75 ret = unmap(hvc->id, op->u.munmap.addr, in do_ops()
441 else err = unmap(mm_id, address, PAGE_SIZE, 1, &flush); in flush_tlb_page()
/linux-4.4.14/include/linux/
Ddmaengine.h480 struct dmaengine_unmap_data *unmap; member
490 struct dmaengine_unmap_data *unmap) in dma_set_unmap() argument
492 kref_get(&unmap->kref); in dma_set_unmap()
493 tx->unmap = unmap; in dma_set_unmap()
498 void dmaengine_unmap_put(struct dmaengine_unmap_data *unmap);
501 struct dmaengine_unmap_data *unmap) in dma_set_unmap() argument
509 static inline void dmaengine_unmap_put(struct dmaengine_unmap_data *unmap) in dmaengine_unmap_put() argument
516 if (tx->unmap) { in dma_descriptor_unmap()
517 dmaengine_unmap_put(tx->unmap); in dma_descriptor_unmap()
518 tx->unmap = NULL; in dma_descriptor_unmap()
Dzpool.h101 void (*unmap)(void *pool, unsigned long handle); member
Defi.h359 u32 unmap; member
379 u64 unmap; member
399 void *unmap; member
Dirqdomain.h97 void (*unmap)(struct irq_domain *d, unsigned int virq); member
Diommu.h164 size_t (*unmap)(struct iommu_domain *domain, unsigned long iova, member
/linux-4.4.14/arch/powerpc/include/asm/
Dscom.h55 void (*unmap)(scom_map_t map); member
129 scom_controller->unmap(map); in scom_unmap()
Dps3.h117 int (*unmap)(struct ps3_dma_region *, member
/linux-4.4.14/drivers/gpio/
Dgpio-sodaville.c233 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()
Dgpio-grgpio.c334 .unmap = grgpio_irq_unmap,
Dgpio-bcm-kona.c541 .unmap = bcm_kona_gpio_irq_unmap,
Dgpiolib.c580 .unmap = gpiochip_irq_unmap,
/linux-4.4.14/arch/x86/platform/geode/
Dnet5501.c118 goto unmap; in net5501_present()
132 unmap: in net5501_present()
/linux-4.4.14/drivers/block/xen-blkback/
Dblkback.c278 struct gnttab_unmap_grant_ref unmap[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in free_persistent_gnts() local
286 unmap_data.unmap_ops = unmap; in free_persistent_gnts()
292 gnttab_set_unmap_op(&unmap[segs_to_unmap], in free_persistent_gnts()
319 struct gnttab_unmap_grant_ref unmap[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in xen_blkbk_unmap_purged_grants() local
327 unmap_data.unmap_ops = unmap; in xen_blkbk_unmap_purged_grants()
336 gnttab_set_unmap_op(&unmap[segs_to_unmap], in xen_blkbk_unmap_purged_grants()
740 req->unmap, req->unmap_pages); in xen_blkbk_unmap_and_respond()
744 work->unmap_ops = req->unmap; in xen_blkbk_unmap_and_respond()
764 struct gnttab_unmap_grant_ref unmap[BLKIF_MAX_SEGMENTS_PER_REQUEST]; in xen_blkbk_unmap() local
773 unmap, unmap_pages); in xen_blkbk_unmap()
[all …]
Dcommon.h367 struct gnttab_unmap_grant_ref unmap[MAX_INDIRECT_SEGMENTS]; member
/linux-4.4.14/drivers/iommu/
Diommu-traces.c24 EXPORT_TRACEPOINT_SYMBOL_GPL(unmap);
Dio-pgtable.h84 int (*unmap)(struct io_pgtable_ops *ops, unsigned long iova, member
Dio-pgtable-arm.c651 .unmap = arm_lpae_unmap, in arm_lpae_alloc_pgtable()
994 if (ops->unmap(ops, SZ_1G + size, size) != size) in arm_lpae_run_tests()
1010 if (ops->unmap(ops, iova, size) != size) in arm_lpae_run_tests()
Dipmmu-vmsa.c558 return domain->iop->unmap(domain->iop, iova, size); in ipmmu_unmap()
741 .unmap = ipmmu_unmap,
Ds390-iommu.c345 .unmap = s390_iommu_unmap,
Dshmobile-iommu.c370 .unmap = shmobile_iommu_unmap,
Dtegra-gart.c345 .unmap = gart_iommu_unmap,
Diommu.c1374 if (unlikely(domain->ops->unmap == NULL || in iommu_unmap()
1404 unmapped_page = domain->ops->unmap(domain, iova, pgsize); in iommu_unmap()
Dmsm_iommu.c681 .unmap = msm_iommu_unmap,
Drockchip-iommu.c979 .unmap = rk_iommu_unmap,
Ddmar.c943 goto unmap; in map_iommu()
970 unmap: in map_iommu()
Darm-smmu.c1198 ret = ops->unmap(ops, iova, size); in arm_smmu_unmap()
1445 .unmap = arm_smmu_unmap,
Dtegra-smmu.c744 .unmap = tegra_smmu_unmap,
Damd_iommu.c2653 goto unmap; in map_sg()
2662 unmap: in map_sg()
3165 .unmap = amd_iommu_unmap,
Dexynos-iommu.c1182 .unmap = exynos_iommu_unmap,
Domap-iommu.c1284 .unmap = omap_iommu_unmap,
Darm-smmu-v3.c1715 ret = ops->unmap(ops, iova, size); in arm_smmu_unmap()
1921 .unmap = arm_smmu_unmap,
Dintel-iommu.c5106 .unmap = intel_iommu_unmap,
/linux-4.4.14/arch/arm/mach-omap2/
Dboard-flash.c165 goto unmap; in get_gpmc0_type()
178 unmap: in get_gpmc0_type()
/linux-4.4.14/drivers/input/serio/
Dambakmi.c148 goto unmap; in amba_kmi_probe()
157 unmap: in amba_kmi_probe()
/linux-4.4.14/drivers/lguest/
Dcore.c330 goto unmap; in init()
345 unmap: in init()
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvif/
Ddriver.h13 void (*unmap)(void *priv, void __iomem *ptr, u32 size); member
/linux-4.4.14/drivers/gpu/drm/mgag200/
Dmgag200_fb.c31 bool unmap = false; in mga_dirty_update() local
86 unmap = true; in mga_dirty_update()
94 if (unmap) in mga_dirty_update()
/linux-4.4.14/sound/pci/ctxfi/
Dctvmem.h56 void (*unmap)(struct ct_vm *, struct ct_vm_block *block); member
Dctsrc.h118 int (*unmap)(struct srcimp *srcimp); member
Dctvmem.c205 vm->unmap = ct_vm_unmap; in ct_vm_create()
Dctatc.c164 vm->unmap(vm, apcm->vm_block); in ct_unmap_audio_buffer()
333 srcimp->ops->unmap(srcimp); in atc_pcm_release_resources()
1205 srcimp->ops->unmap(srcimp); in atc_release_resources()
Dctsrc.c667 .unmap = srcimp_unmap
/linux-4.4.14/drivers/gpu/drm/msm/
Dmsm_mmu.h28 int (*unmap)(struct msm_mmu *mmu, uint32_t iova, struct sg_table *sgt, member
Dmsm_iommu.c123 .unmap = msm_iommu_unmap,
Dmsm_gem.c528 mmu->funcs->unmap(mmu, offset, msm_obj->sgt, obj->size); in msm_gem_free_object()
/linux-4.4.14/drivers/i2c/busses/
Di2c-iop3xx.c463 goto unmap; in iop3xx_i2c_probe()
470 goto unmap; in iop3xx_i2c_probe()
498 unmap: in iop3xx_i2c_probe()
/linux-4.4.14/drivers/gpu/drm/cirrus/
Dcirrus_fbdev.c29 bool unmap = false; in cirrus_dirty_update() local
83 unmap = true; in cirrus_dirty_update()
91 if (unmap) in cirrus_dirty_update()
/linux-4.4.14/Documentation/features/vm/TLB/
Darch-support.txt2 # Feature name: batch-unmap-tlb-flush
/linux-4.4.14/drivers/bcma/
Ddriver_pci_host.c124 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()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dpriv.h32 void (*unmap)(struct nvkm_vma *, struct nvkm_memory *pgt, member
Dnv41.c129 .unmap = nv41_vm_unmap,
Dnv04.c141 .unmap = nv04_vm_unmap,
Dgf100.c213 .unmap = gf100_vm_unmap,
Dnv50.c223 .unmap = nv50_vm_unmap,
Dnv44.c224 .unmap = nv44_vm_unmap,
Dbase.c203 mmu->func->unmap(vma, pgt, pte, len); in nvkm_vm_unmap_at()
/linux-4.4.14/drivers/gpu/drm/ast/
Dast_fb.c55 bool unmap = false; in ast_dirty_update() local
110 unmap = true; in ast_dirty_update()
118 if (unmap) in ast_dirty_update()
/linux-4.4.14/Documentation/DocBook/
Dsh.xml.db3 API-sq-unmap
Dusb.xml.db101 API-usb-buffer-unmap
104 API-usb-buffer-unmap-sg
Dkernel-api.xml.db214 API-unmap-mapping-range
216 API-vm-unmap-aliases
217 API-vm-unmap-ram
219 API-unmap-kernel-range-noflush
220 API-unmap-kernel-range
518 API-pci-unmap-rom
648 API-blk-rq-unmap-user
Drapidio.xml.db40 API-rio-unmap-inb-region
Dscsi.xml.db51 API-scsi-dma-unmap
Dfilesystems.xml.db126 API-bio-unmap-user
Dgpu.xml.db43 API-drm-vma-node-unmap
Ddevice-drivers.xml.db403 API-dma-buf-unmap-attachment
/linux-4.4.14/drivers/ssb/
Ddriver_pcicore.c131 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()
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_nvif.c132 .unmap = nvkm_client_unmap,
/linux-4.4.14/arch/powerpc/platforms/powernv/
Dopal-xscom.c122 .unmap = opal_scom_unmap,
/linux-4.4.14/fs/ubifs/
Dgc.c547 idx_gc->unmap = 0; in ubifs_garbage_collect_leb()
875 idx_gc->unmap = 1; in ubifs_gc_start_commit()
904 idx_gc->unmap = 1; in ubifs_gc_start_commit()
927 if (idx_gc->unmap) { in ubifs_gc_end_commit()
Dubifs.h345 int unmap; member
Ddebug.c630 idx_gc->lnum, idx_gc->unmap); in ubifs_dump_budg()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvif/
Dobject.c175 struct nvif_ioctl_unmap unmap; in nvif_object_unmap() member
181 client->driver->unmap(client, object->map.ptr, in nvif_object_unmap()
/linux-4.4.14/Documentation/usb/
Ddma.txt111 usbcore do the map/unmap.) Large periodic transfers make good examples
112 here, since it's cheaper to just synchronize the buffer than to unmap it
127 so that usbcore won't map or unmap the buffer. They cannot be used for
/linux-4.4.14/Documentation/
DDMA-API-HOWTO.txt418 To unmap and free such a DMA region, you call:
520 packets, map/unmap them with the DMA_TO_DEVICE direction
521 specifier. For receive packets, just the opposite, map/unmap them
527 context. There are two versions of each map/unmap, one which will
528 map/unmap a single memory region, and one which will map/unmap a
548 and to unmap it:
585 map/unmap interface pair akin to dma_{map,unmap}_single(). These
641 To unmap a scatterlist, just call:
689 After the last DMA transfer call one of the DMA unmap routines
793 - unmap pages that are already mapped, when mapping error occurs in the middle
[all …]
DIntel-IOMMU.txt40 required, device performs a pci_unmap_*() calls to unmap the region.
Dvfio.txt304 to map/unmap pages for DMA, and it normally maps 1..32 pages per call and
306 faster, the map/unmap handling has been implemented in real mode which provides
449 PPC64 paravirtualized guests generate a lot of map/unmap requests,
Ddma-buf-sharing.txt196 - Importance of attach-detach and {map,unmap}_dma_buf operation pairs
202 Bracketing of DMA access with {map,unmap}_dma_buf operations is essential
220 and then allow further {map,unmap}_dma_buf operations from any buffer-user
Dbus-virt-phys-mapping.txt165 /* unmap when we unload the driver */
DIRQ-domain.txt219 4) No need to implement irq_domain_ops.map and irq_domain_ops.unmap,
DDMA-API.txt694 the driver. When driver does unmap, debug_dma_unmap() checks the flag and if
696 leads up to the unmap. This interface can be called from dma_mapping_error()
Dkernel-parameters.txt3438 With strict flushing every unmap operation will result in
/linux-4.4.14/drivers/s390/virtio/
Dkvm_virtio.c218 goto unmap; in kvm_find_vq()
229 unmap: in kvm_find_vq()
/linux-4.4.14/drivers/misc/mic/card/
Dmic_virtio.c268 goto unmap; in mic_find_vq()
275 goto unmap; in mic_find_vq()
306 unmap: in mic_find_vq()
/linux-4.4.14/include/trace/events/
Diommu.h109 TRACE_EVENT(unmap,
/linux-4.4.14/arch/um/os-Linux/skas/
Dmem.c184 int unmap(struct mm_id * mm_idp, unsigned long addr, unsigned long len, in unmap() function
/linux-4.4.14/drivers/tty/serial/
Dmsm_serial.c333 goto unmap; in msm_handle_tx_dma()
342 goto unmap; in msm_handle_tx_dma()
366 unmap: in msm_handle_tx_dma()
458 goto unmap; in msm_start_rx_dma()
466 goto unmap; in msm_start_rx_dma()
501 unmap: in msm_start_rx_dma()
/linux-4.4.14/drivers/atm/
Dfirestream.c1715 goto unmap; in fs_init()
1728 goto unmap; in fs_init()
1808 goto unmap; in fs_init()
1818 goto unmap; in fs_init()
1845 goto unmap; in fs_init()
1895 unmap: in fs_init()
Deni.c1744 goto unmap; in eni_do_init()
1772 goto unmap; in eni_do_init()
1776 goto unmap; in eni_do_init()
1786 goto unmap; in eni_do_init()
1789 unmap: in eni_do_init()
Dfore200e.h817 void (*unmap)(struct fore200e*); member
Dfore200e.c391 fore200e->bus->unmap(fore200e); in fore200e_shutdown()
/linux-4.4.14/mm/
Dzpool.c342 zpool->driver->unmap(zpool->pool, handle); in zpool_unmap_handle()
Dgup.c272 goto unmap; in get_gate_page()
279 goto unmap; in get_gate_page()
285 unmap: in get_gate_page()
Dzbud.c212 .unmap = zbud_zpool_unmap,
Dzsmalloc.c392 .unmap = zs_zpool_unmap,
/linux-4.4.14/arch/mips/include/asm/
Dmsa.h239 __BUILD_MSA_CTL_REG(unmap, 7)
/linux-4.4.14/Documentation/vm/
Dsoft-dirty.txt34 the same place. When unmap is called, the kernel internally clears PTE values
Dhighmem.txt69 synchronization to unmap.
133 case, the unmap operation may be a null operation.
Dunevictable-lru.txt500 munmap() or via an internal unmap from exit() or exec() processing, we must
508 specifies the entire VMA range when munlock()ing during unmap of a region.
558 the page is mapped by any VM_LOCKED VMA without actually attempting to unmap
563 mapped file and KSM pages with a flag argument specifying unlock versus unmap
/linux-4.4.14/arch/s390/pci/
Dpci_dma.c410 goto unmap; in s390_dma_map_sg()
415 unmap: in s390_dma_map_sg()
/linux-4.4.14/drivers/misc/mic/scif/
Dscif_nodeqp.c143 goto unmap; in scif_setup_qp_connect()
146 unmap: in scif_setup_qp_connect()
213 goto unmap; in scif_setup_qp_accept()
216 unmap: in scif_setup_qp_accept()
/linux-4.4.14/arch/powerpc/platforms/ps3/
Dmm.c1111 .unmap = dma_sb_unmap_area
1118 .unmap = dma_sb_unmap_area_linear
1125 .unmap = dma_ioc0_unmap_area
1189 return r->region_ops->unmap(r, bus_addr, len); in ps3_dma_unmap()
/linux-4.4.14/drivers/clk/ti/
Dfapll.c592 goto unmap; in ti_fapll_setup()
652 unmap: in ti_fapll_setup()
/linux-4.4.14/drivers/pcmcia/
Dvrc4173_cardu.c511 goto unmap; in vrc4173_cardu_probe()
526 unmap: in vrc4173_cardu_probe()
Dyenta_socket.c1228 goto unmap; in yenta_probe()
1275 unmap: in yenta_probe()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c327 unmap: in unmap_sgl()
335 goto unmap; in unmap_sgl()
378 unsigned int n, bool unmap) in free_tx_desc() argument
384 const int need_unmap = need_skb_unmap() && unmap; in free_tx_desc()
432 bool unmap) in reclaim_completed_tx() argument
444 free_tx_desc(adapter, tq, avail, unmap); in reclaim_completed_tx()
/linux-4.4.14/drivers/mmc/host/
Dtoshsd.c655 goto unmap; in toshsd_probe()
666 unmap: in toshsd_probe()
Dvia-sdmmc.c1150 goto unmap; in via_sd_probe()
1166 unmap: in via_sd_probe()
Dsdhci-pci-core.c1686 goto unmap; in sdhci_pci_probe_slot()
1735 unmap: in sdhci_pci_probe_slot()
/linux-4.4.14/Documentation/video4linux/bttv/
DPROBLEMS46 That's because XFree and some AcceleratedX versions do not send unmap
/linux-4.4.14/arch/um/include/shared/
Dos.h266 extern int unmap(struct mm_id * mm_idp, unsigned long addr, unsigned long len,
/linux-4.4.14/drivers/infiniband/hw/mthca/
Dmthca_cmd.h290 int mthca_MAP_EQ(struct mthca_dev *dev, u64 event_mask, int unmap,
Dmthca_cmd.c1627 int mthca_MAP_EQ(struct mthca_dev *dev, u64 event_mask, int unmap, in mthca_MAP_EQ() argument
1631 unmap ? "Clearing" : "Setting", in mthca_MAP_EQ()
1633 return mthca_cmd(dev, event_mask, (unmap << 31) | eq_num, in mthca_MAP_EQ()
/linux-4.4.14/drivers/mfd/
Dtwl6030-irq.c368 .unmap = twl6030_irq_unmap,
Dtc3589x.c231 .unmap = tc3589x_irq_unmap,
Drtsx_pcr.c1221 goto unmap; in rtsx_pci_probe()
1271 unmap: in rtsx_pci_probe()
Dstmpe.c988 .unmap = stmpe_irq_unmap,
/linux-4.4.14/drivers/scsi/mpt3sas/
Dmpt3sas_transport.c1990 goto unmap; in _transport_smp_handler()
1999 goto unmap; in _transport_smp_handler()
2011 goto unmap; in _transport_smp_handler()
2028 goto unmap; in _transport_smp_handler()
2121 unmap: in _transport_smp_handler()
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_sdma.c601 goto unmap; in qib_sdma_verbs_send()
655 unmap: in qib_sdma_verbs_send()
/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_sdma.c744 goto unmap; in ipath_sdma_verbs_send()
804 unmap: in ipath_sdma_verbs_send()
/linux-4.4.14/drivers/xen/
Dxen-scsiback.c273 struct gnttab_unmap_grant_ref unmap[VSCSI_GRANT_BATCH]; in scsiback_fast_flush_area() local
290 gnttab_set_unmap_op(&unmap[invcount], vaddr(req, i), in scsiback_fast_flush_area()
298 err = gnttab_unmap_refs(unmap, NULL, pages, invcount); in scsiback_fast_flush_area()
304 err = gnttab_unmap_refs(unmap, NULL, pages, invcount); in scsiback_fast_flush_area()
/linux-4.4.14/drivers/nvme/host/
Dpci.c1846 goto unmap; in nvme_submit_io()
1851 goto unmap; in nvme_submit_io()
1871 unmap: in nvme_submit_io()
2703 goto unmap; in nvme_dev_map()
2713 goto unmap; in nvme_dev_map()
2737 unmap: in nvme_dev_map()
3145 goto unmap; in nvme_probe_work()
3199 unmap: in nvme_probe_work()
/linux-4.4.14/drivers/misc/
Dhpilo.c812 goto unmap; in ilo_probe()
838 unmap: in ilo_probe()
/linux-4.4.14/arch/mips/cavium-octeon/
Docteon-irq.c1239 .unmap = octeon_irq_free_cd,
1245 .unmap = octeon_irq_free_cd,
1929 .unmap = octeon_irq_free_cd,
2182 .unmap = octeon_irq_free_cd,
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c332 unmap: dma_unmap_page(dev, be64_to_cpu(p->addr[0]), in unmap_sgl()
339 goto unmap; in unmap_sgl()
381 unsigned int n, bool unmap) in free_tx_desc() argument
390 if (unmap) in free_tx_desc()
425 bool unmap) in reclaim_completed_tx() argument
437 free_tx_desc(adap, q, avail, unmap); in reclaim_completed_tx()
/linux-4.4.14/drivers/video/fbdev/
Damba-clcd.c524 goto unmap; in clcdfb_register()
543 unmap: in clcdfb_register()
Dcirrusfb.c366 void (*unmap)(struct fb_info *info); member
2073 cinfo->unmap(info); in cirrusfb_cleanup()
2146 cinfo->unmap = cirrusfb_pci_unmap; in cirrusfb_pci_register()
2276 cinfo->unmap = cirrusfb_zorro_unmap; in cirrusfb_zorro_register()
/linux-4.4.14/drivers/scsi/
Dwd719x.c925 goto unmap; in wd719x_pci_probe()
938 unmap: in wd719x_pci_probe()
Dscsi_debug.c2984 bool unmap, bool ndob) in resp_write_same() argument
2996 if (unmap && scsi_debug_lbp()) { in resp_write_same()
3042 bool unmap = false; in resp_write_same_10() local
3049 unmap = true; in resp_write_same_10()
3057 return resp_write_same(scp, lba, num, ei_lba, unmap, false); in resp_write_same_10()
3067 bool unmap = false; in resp_write_same_16() local
3075 unmap = true; in resp_write_same_16()
3085 return resp_write_same(scp, lba, num, ei_lba, unmap, ndob); in resp_write_same_16()
Dsd.c1770 unsigned char unmap = SCpnt->cmnd[1] & 8; in sd_done() local
1824 if (unmap) in sd_done()
/linux-4.4.14/kernel/irq/
Dirqdomain.c320 if (domain->ops->unmap) in irq_domain_disassociate()
321 domain->ops->unmap(domain, irq); in irq_domain_disassociate()
/linux-4.4.14/drivers/media/pci/sta2x11/
Dsta2x11_vip.c1077 goto unmap; in sta2x11_vip_init_one()
1133 unmap: in sta2x11_vip_init_one()
/linux-4.4.14/drivers/net/ethernet/renesas/
Dravb_main.c1346 goto unmap; in ravb_start_xmit()
1359 goto unmap; in ravb_start_xmit()
1391 unmap: in ravb_start_xmit()
/linux-4.4.14/drivers/net/ethernet/cirrus/
Dcs89x0.c1621 goto unmap; in cs89x0_ioport_probe()
1629 unmap: in cs89x0_ioport_probe()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Deq.c885 static int mlx4_MAP_EQ(struct mlx4_dev *dev, u64 event_mask, int unmap, in mlx4_MAP_EQ() argument
888 return mlx4_cmd(dev, event_mask, (unmap << 31) | eq_num, in mlx4_MAP_EQ()
/linux-4.4.14/drivers/pci/host/
Dpci-tegra.c416 goto unmap; in tegra_pcie_bus_alloc()
422 unmap: in tegra_pcie_bus_alloc()
/linux-4.4.14/Documentation/powerpc/
Dcxl.txt172 required to map/unmap memory. The AFU memory context will be
/linux-4.4.14/drivers/irqchip/
Dirq-gic.c1040 .unmap = gic_irq_domain_unmap,
/linux-4.4.14/drivers/message/fusion/
Dmptsas.c2300 goto unmap; in mptsas_smp_handler()
2312 goto unmap; in mptsas_smp_handler()
2315 goto unmap; in mptsas_smp_handler()
2333 unmap: in mptsas_smp_handler()
/linux-4.4.14/drivers/net/ethernet/rocker/
Drocker.c580 goto unmap; in rocker_dma_test_offset()
587 goto unmap; in rocker_dma_test_offset()
596 goto unmap; in rocker_dma_test_offset()
598 unmap: in rocker_dma_test_offset()
/linux-4.4.14/drivers/scsi/cxgbi/
Dlibcxgbi.c1356 goto unmap; in ddp_gl_map()
1360 unmap: in ddp_gl_map()
/linux-4.4.14/Documentation/virtual/kvm/
Dmmu.txt239 is triggered too frequently on this page, KVM will unmap the page
/linux-4.4.14/Documentation/PCI/
Dpci.txt474 I.e. unmap data buffers and return buffers to "upstream"
/linux-4.4.14/Documentation/scsi/
DChangeLog.lpfc16 other than unmap list in lpfc_find_target(). Otherwise INQUIRY
523 unmap calls.
1246 * Move ndlp node from unmap list to map list if ADISC completed
DChangeLog.sym53c8xx149 - Revert the change in 'ncr_flush_done_cmds()' but unmap the
/linux-4.4.14/arch/arm/mm/
DKconfig856 cache maintenance operations and the dma_{map,unmap}_area()
/linux-4.4.14/Documentation/sysctl/
Dvm.txt401 0: Only unmap the corrupted page from all processes and only kill a process
/linux-4.4.14/drivers/net/wireless/
Dmwl8k.c6301 goto unmap; in mwl8k_remove()
6326 unmap: in mwl8k_remove()
/linux-4.4.14/drivers/scsi/be2iscsi/
Dbe_main.c1344 goto unmap; in be_complete_io()
1372 unmap: in be_complete_io()
/linux-4.4.14/init/
DKconfig889 # written after the unmap. Details are in mm/rmap.c near the check for