| /linux/tools/testing/selftests/vfio/lib/ |
| H A D | iommu.c | 152 static int __vfio_iommu_unmap(int fd, u64 iova, u64 size, u32 flags, u64 *unmapped) in __vfio_iommu_unmap() argument 164 if (unmapped) in __vfio_iommu_unmap() 165 *unmapped = args.size; in __vfio_iommu_unmap() 171 u64 *unmapped) in vfio_iommu_unmap() argument 174 region->size, 0, unmapped); in vfio_iommu_unmap() 177 static int __iommufd_unmap(int fd, u64 iova, u64 length, u32 ioas_id, u64 *unmapped) in __iommufd_unmap() argument 189 if (unmapped) in __iommufd_unmap() 190 *unmapped = args.length; in __iommufd_unmap() 196 u64 *unmapped) in iommufd_unmap() argument 199 iommu->ioas_id, unmapped); in iommufd_unmap() [all …]
|
| /linux/tools/testing/selftests/vfio/ |
| H A D | vfio_dma_mapping_test.c | 141 u64 unmapped; in TEST_F() local 193 rc = __iommu_unmap(self->iommu, ®ion, &unmapped); in TEST_F() 195 ASSERT_EQ(unmapped, region.size); in TEST_F() 263 u64 unmapped; in TEST_F() local 269 rc = __iommu_unmap(self->iommu, region, &unmapped); in TEST_F() 271 ASSERT_EQ(unmapped, region->size); in TEST_F() 277 u64 unmapped; in TEST_F() local 283 rc = __iommu_unmap_all(self->iommu, &unmapped); in TEST_F() 285 ASSERT_EQ(unmapped, region->size); in TEST_F()
|
| /linux/drivers/gpu/drm/msm/ |
| H A D | msm_gem_shrinker.c | 246 unsigned idx, unmapped = 0; in msm_gem_shrinker_vmap() local 249 for (idx = 0; lrus[idx] && unmapped < vmap_shrink_limit; idx++) { in msm_gem_shrinker_vmap() 250 unmapped += drm_gem_lru_scan(priv->dev, lrus[idx], in msm_gem_shrinker_vmap() 251 vmap_shrink_limit - unmapped, in msm_gem_shrinker_vmap() 257 *(unsigned long *)ptr += unmapped; in msm_gem_shrinker_vmap() 259 if (unmapped > 0) in msm_gem_shrinker_vmap() 260 trace_msm_gem_purge_vmaps(unmapped); in msm_gem_shrinker_vmap()
|
| /linux/tools/testing/selftests/vfio/lib/include/libvfio/ |
| H A D | iommu.h | 45 int __iommu_unmap(struct iommu *iommu, struct dma_region *region, u64 *unmapped); 52 int __iommu_unmap_all(struct iommu *iommu, u64 *unmapped);
|
| /linux/drivers/accel/rocket/ |
| H A D | rocket_gem.c | 18 size_t unmapped; in rocket_gem_bo_free() local 22 unmapped = iommu_unmap(bo->domain->domain, bo->mm.start, bo->size); in rocket_gem_bo_free() 23 drm_WARN_ON(obj->dev, unmapped != bo->size); in rocket_gem_bo_free()
|
| /linux/drivers/staging/media/ipu3/ |
| H A D | ipu3-mmu.c | 383 size_t unmapped_page, unmapped = 0; in imgu_mmu_unmap() local 402 while (unmapped < size) { in imgu_mmu_unmap() 411 unmapped += unmapped_page; in imgu_mmu_unmap() 416 return unmapped; in imgu_mmu_unmap()
|
| /linux/drivers/iommu/ |
| H A D | virtio-iommu.c | 364 size_t unmapped = 0; in viommu_del_mappings() local 384 unmapped += mapping->iova.last - mapping->iova.start + 1; in viommu_del_mappings() 391 return unmapped; in viommu_del_mappings() 891 size_t unmapped; in viommu_unmap_pages() local 896 unmapped = viommu_del_mappings(vdomain, iova, iova + size - 1); in viommu_unmap_pages() 897 if (unmapped < size) in viommu_unmap_pages() 902 return unmapped; in viommu_unmap_pages() 908 .virt_end = cpu_to_le64(iova + unmapped - 1), in viommu_unmap_pages() 912 return ret ? 0 : unmapped; in viommu_unmap_pages()
|
| H A D | io-pgtable-arm-v7s.c | 627 size_t unmapped = 0, ret; in arm_v7s_unmap_pages() local 637 unmapped += pgsize; in arm_v7s_unmap_pages() 641 return unmapped; in arm_v7s_unmap_pages()
|
| H A D | dma-iommu.c | 831 size_t unmapped; in __iommu_dma_unmap() local 838 unmapped = iommu_unmap_fast(domain, dma_addr, size, &iotlb_gather); in __iommu_dma_unmap() 839 WARN_ON(unmapped != size); in __iommu_dma_unmap() 2100 size_t unmapped; in dma_iova_unlink() local 2111 unmapped = iommu_unmap_fast(domain, addr, size, &iotlb_gather); in dma_iova_unlink() 2112 WARN_ON(unmapped != size); in dma_iova_unlink()
|
| /linux/Documentation/features/vm/TLB/ |
| H A D | arch-support.txt | 4 # description: arch supports deferral of TLB flush until multiple pages are unmapped
|
| /linux/drivers/gpu/drm/etnaviv/ |
| H A D | etnaviv_mmu.c | 21 size_t unmapped_page, unmapped = 0; in etnaviv_context_unmap() local 24 while (unmapped < size) { in etnaviv_context_unmap() 31 unmapped += unmapped_page; in etnaviv_context_unmap()
|
| /linux/drivers/accel/amdxdna/ |
| H A D | amdxdna_gem.h | 22 bool unmapped; member
|
| H A D | amdxdna_gem.c | 274 if (!mapp->unmapped) { in amdxdna_hmm_invalidate() 276 mapp->unmapped = true; in amdxdna_hmm_invalidate() 292 return (!mapp->unmapped && mapp->notifier.mm == mm && in compare_range() 305 if (!mapp->unmapped) { in amdxdna_hmm_unregister() 307 mapp->unmapped = true; in amdxdna_hmm_unregister()
|
| /linux/Documentation/userspace-api/ |
| H A D | tee.rst | 16 any longer it should be unmapped with munmap() to allow the reuse of
|
| /linux/arch/arm64/kvm/hyp/ |
| H A D | pgtable.c | 474 u64 *unmapped = ctx->arg; in hyp_unmap_walker() local 496 *unmapped += granule; in hyp_unmap_walker() 511 u64 unmapped = 0; in kvm_pgtable_hyp_unmap() local 514 .arg = &unmapped, in kvm_pgtable_hyp_unmap() 522 return unmapped; in kvm_pgtable_hyp_unmap()
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-rnbd-server | 32 When the device is unmapped by that client, the directory will be removed.
|
| H A D | sysfs-block-rnbd | 9 is using the device. When "force" is used, the device is also unmapped
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_umsch_mm.h | 112 uint32_t unmapped; member
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | vidioc-reqbufs.rst | 67 orphaned and will be freed when they are unmapped or when the exported DMABUF 149 when they are unmapped or when the exported DMABUF fds are closed.
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | dm-zoned.rst | 180 of unmapped (ie free) random zones, <nr_rnd> the total number of zones, 181 <nr_unmap_seq> the number of unmapped sequential zones, and <nr_seq> the
|
| /linux/Documentation/mm/ |
| H A D | unevictable-lru.rst | 402 the old page when it is unmapped from the last VM_LOCKED VMA, and set when the 489 For each PTE (or PMD) being unmapped from a VMA, folio_remove_rmap_*() calls 514 for each PTE (or PMD) being unmapped from a VMA, folio_remove_rmap_*() calls 520 present, if one of those pages were unmapped by truncation or hole punch before 523 still appear as PG_mlocked after it has been fully unmapped: and it is left to
|
| /linux/Documentation/admin-guide/mm/damon/ |
| H A D | start.rst | 76 unmapped huge regions on the virtual address spaces. The second line shows
|
| /linux/Documentation/networking/device_drivers/ethernet/google/ |
| H A D | gve.rst | 170 After the packet was successfully transmitted, the buffers are unmapped.
|
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| H A D | bnx2x_dcb.c | 351 u32 unmapped = (1 << MAX_PFC_PRIORITIES) - 1; /* all ones */ in bnx2x_dcbx_map_nw() local 359 unmapped &= ~(1 << ttp[i]); in bnx2x_dcbx_map_nw() 366 "cos %d extended with 0x%08x\n", i, unmapped); in bnx2x_dcbx_map_nw() 367 cos_params[i].pri_bitmask |= unmapped; in bnx2x_dcbx_map_nw()
|
| /linux/Documentation/virt/kvm/devices/ |
| H A D | xive.rst | 57 mapped into or unmapped from the guest IRQ number space. The KVM
|