Home
last modified time | relevance | path

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

12

/openbmc/qemu/tests/qemu-iotests/tests/
H A Dmirror-sparse115 do_test external unmap off sparse
116 do_test external unmap unmap sparse
118 do_test off unmap off sparse
119 do_test off unmap unmap sparse
121 do_test full unmap off sparse
122 do_test full unmap unmap sparse
H A Dmirror-sparse.out41 === Testing creation=external discard=unmap zeroes=off ===
46 "auto-read-only":true, "discard":"unmap",
71 === Testing creation=external discard=unmap zeroes=unmap ===
76 "auto-read-only":true, "discard":"unmap",
77 "detect-zeroes":"unmap"}}
145 === Testing creation=off discard=unmap zeroes=off ===
164 "auto-read-only":true, "discard":"unmap",
189 === Testing creation=off discard=unmap zeroes=unmap ===
208 "auto-read-only":true, "discard":"unmap",
209 "detect-zeroes":"unmap"}}
[all …]
H A Dwrite-zeroes-unmap.out1 QA output created by write-zeroes-unmap
13 === defaults - write zeros unmap ===
33 === discard=off - write zeroes unmap ===
73 === discard=on - write zeroes unmap ===
/openbmc/qemu/hw/vfio/
H A Dcontainer.c75 struct vfio_iommu_type1_dma_unmap *unmap; in vfio_dma_unmap_bitmap() local
85 unmap = g_malloc0(sizeof(*unmap) + sizeof(*bitmap)); in vfio_dma_unmap_bitmap()
87 unmap->argsz = sizeof(*unmap) + sizeof(*bitmap); in vfio_dma_unmap_bitmap()
88 unmap->iova = iova; in vfio_dma_unmap_bitmap()
89 unmap->size = size; in vfio_dma_unmap_bitmap()
90 unmap->flags |= VFIO_DMA_UNMAP_FLAG_GET_DIRTY_BITMAP; in vfio_dma_unmap_bitmap()
91 bitmap = (struct vfio_bitmap *)&unmap->data; in vfio_dma_unmap_bitmap()
108 ret = ioctl(container->fd, VFIO_IOMMU_UNMAP_DMA, unmap); in vfio_dma_unmap_bitmap()
117 g_free(unmap); in vfio_dma_unmap_bitmap()
129 struct vfio_iommu_type1_dma_unmap unmap = { in vfio_legacy_dma_unmap_one() local
[all …]
H A Dcpr-legacy.c22 struct vfio_iommu_type1_dma_unmap unmap = { in vfio_dma_unmap_vaddr_all() local
23 .argsz = sizeof(unmap), in vfio_dma_unmap_vaddr_all()
28 if (ioctl(container->fd, VFIO_IOMMU_UNMAP_DMA, &unmap)) { in vfio_dma_unmap_vaddr_all()
/openbmc/qemu/tests/qemu-iotests/
H A D271102 unmap)
203 _run_test sc=0 len=32k cmd=unmap
207 _run_test sc=0 len=64k cmd=unmap
444 _run_test c=9 sc=0 len=192k cmd=unmap
450 _run_test c=12 sc=16 len=128k cmd=unmap
458 _run_test c=15 sc=15 off=1 len=128k cmd=unmap
474 _run_test c=18 sc=0 len=192k cmd=unmap
484 _run_test c=21 sc=16 len=128k cmd=unmap
495 _run_test c=24 sc=15 off=1 len=129k cmd=unmap
506 _run_test c=27 sc=15 off=1 len=128k cmd=unmap
H A D271.out289 ### Zero + unmap 1: allocated clusters (backing file: yes) ###
317 ### Zero + unmap 2: compressed clusters (backing file: yes) ###
358 ### Zero + unmap 1: allocated clusters (backing file: no) ###
385 ### Zero + unmap 2: compressed clusters (backing file: no) ###
/openbmc/qemu/include/hw/xen/
H A Dxen_backend_ops.h161 int (*unmap)(xengnttab_handle *xgt, void *start_address, uint32_t *refs, member
228 return xen_gnttab_ops->unmap(xgt, start_address, refs, count); in qemu_xen_gnttab_unmap()
234 int (*unmap)(void *addr, size_t pages); member
254 return xen_foreignmem_ops->unmap(addr, pages); in qemu_xen_foreignmem_unmap()
/openbmc/qemu/docs/tools/
H A Dqemu-nbd.rst120 Control whether ``discard`` (also known as ``trim`` or ``unmap``)
122 ``ignore`` (or ``off``), ``unmap`` (or ``on``). The default is
129 ``off``, ``on``, or ``unmap``. ``unmap``
130 converts a zero write to an unmap operation and can only be used if
131 *DISCARD* is set to ``unmap``. The default is ``off``.
/openbmc/qemu/util/
H A Dvfio-helpers.c640 struct vfio_iommu_type1_dma_unmap unmap = { in qemu_vfio_undo_mapping() local
641 .argsz = sizeof(unmap), in qemu_vfio_undo_mapping()
651 if (ioctl(s->container, VFIO_IOMMU_UNMAP_DMA, &unmap)) { in qemu_vfio_undo_mapping()
803 struct vfio_iommu_type1_dma_unmap unmap = { in qemu_vfio_dma_reset_temporary() local
804 .argsz = sizeof(unmap), in qemu_vfio_dma_reset_temporary()
811 if (ioctl(s->container, VFIO_IOMMU_UNMAP_DMA, &unmap)) { in qemu_vfio_dma_reset_temporary()
/openbmc/qemu/docs/devel/
H A Dvfio-iommufd.rst53 (map/unmap | +---------+--------------------+-------+
54 ioas_copy) | | | map/unmap
75 2. VFIO populates DMA map/unmap via the container BEs
/openbmc/qemu/hw/i386/kvm/
H A Dxen_evtchn.h82 int xen_physdev_unmap_pirq(struct physdev_unmap_pirq *unmap);
H A Dxen_evtchn.c1904 int xen_physdev_unmap_pirq(struct physdev_unmap_pirq *unmap) in xen_physdev_unmap_pirq() argument
1907 int pirq = unmap->pirq; in xen_physdev_unmap_pirq()
1914 if (unmap->domid != DOMID_SELF && unmap->domid != xen_domid) { in xen_physdev_unmap_pirq()
H A Dxen_gnttab.c525 .unmap = xen_be_gnttab_unmap,
/openbmc/qemu/backends/
H A Diommufd.c274 struct iommu_ioas_unmap unmap = { in iommufd_backend_unmap_dma() local
275 .size = sizeof(unmap), in iommufd_backend_unmap_dma()
285 ret = ioctl(fd, IOMMU_IOAS_UNMAP, &unmap); in iommufd_backend_unmap_dma()
/openbmc/u-boot/fs/ubifs/
H A Dgc.c537 idx_gc->unmap = 0; in ubifs_garbage_collect_leb()
865 idx_gc->unmap = 1; in ubifs_gc_start_commit()
894 idx_gc->unmap = 1; in ubifs_gc_start_commit()
917 if (idx_gc->unmap) { in ubifs_gc_end_commit()
/openbmc/qemu/tests/qtest/
H A Dvirtio-scsi-test.c209 const uint8_t unmap[VIRTIO_SCSI_CDB_SIZE] = { in test_unmap_large_lba() local
231 virtio_scsi_do_command(vs, unmap, NULL, 0, unmap_params, in test_unmap_large_lba()
/openbmc/qemu/target/i386/kvm/
H A Dxen-emu.c1638 struct physdev_unmap_pirq unmap; in kvm_xen_hcall_physdev_op() local
1640 qemu_build_assert(sizeof(unmap) == 8); in kvm_xen_hcall_physdev_op()
1641 if (kvm_copy_from_gva(cs, arg, &unmap, sizeof(unmap))) { in kvm_xen_hcall_physdev_op()
1646 err = xen_physdev_unmap_pirq(&unmap); in kvm_xen_hcall_physdev_op()
1647 if (!err && kvm_copy_to_gva(cs, arg, &unmap, sizeof(unmap))) { in kvm_xen_hcall_physdev_op()
/openbmc/qemu/hw/xen/
H A Dxen-operations.c190 .unmap = libxengnttab_backend_unmap,
208 .unmap = libxenforeignmem_backend_unmap,
/openbmc/qemu/include/block/
H A Dblock_int-global-state.h165 bool unmap, const char *filter_node_name,
/openbmc/qemu/block/
H A Dmirror.c89 bool unmap; member
437 op->s->unmap ? BDRV_REQ_MAY_UNMAP : 0); in mirror_co_zero()
1834 bool unmap, in mirror_start_job() argument
2005 s->unmap = unmap; in mirror_start_job()
2131 bool unmap, const char *filter_node_name, in mirror_start() argument
2151 target_is_zero, on_source_error, on_target_error, unmap, in mirror_start()
/openbmc/qemu/hw/hyperv/
H A Dhyperv.c623 goto unmap; in hyperv_hcall_post_message()
627 goto unmap; in hyperv_hcall_post_message()
640 unmap: in hyperv_hcall_post_message()
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/
H A Djsrender.min.js3unmap(),_=h.map=b.map(y[0],k,void 0,!a._.bnd)),y=[_.tgt]),a.ctx=h.ctx,f||(x&&(j=a.template,a.init(… property in T.AnonymousClassdc4085021401
/openbmc/qemu/hw/ide/
H A Dtrace-events85 ahci_unmap_fis_address_null(void *s, int port) "ahci(%p)[%d]: Attempt to unmap NULL FIS address"
86 ahci_unmap_clb_address_null(void *s, int port) "ahci(%p)[%d]: Attempt to unmap NULL CLB address"
/openbmc/qemu/hw/nvme/
H A Dctrl.c901 goto unmap; in nvme_map_prp()
922 goto unmap; in nvme_map_prp()
931 goto unmap; in nvme_map_prp()
943 goto unmap; in nvme_map_prp()
951 goto unmap; in nvme_map_prp()
957 goto unmap; in nvme_map_prp()
967 goto unmap; in nvme_map_prp()
971 goto unmap; in nvme_map_prp()
978 unmap: in nvme_map_prp()
1082 goto unmap; in nvme_map_sgl()
[all …]

12