Home
last modified time | relevance | path

Searched refs:unmapped (Results 1 – 25 of 51) sorted by relevance

123

/Linux-v5.4/drivers/gpu/drm/msm/
Dmsm_gem_shrinker.c102 unsigned unmapped = 0; in msm_gem_shrinker_vmap() local
115 if (++unmapped >= 15) in msm_gem_shrinker_vmap()
123 *(unsigned long *)ptr += unmapped; in msm_gem_shrinker_vmap()
125 if (unmapped > 0) in msm_gem_shrinker_vmap()
126 pr_info_ratelimited("Purging %u vmaps\n", unmapped); in msm_gem_shrinker_vmap()
/Linux-v5.4/include/trace/events/
Dhuge_memory.h51 int referenced, int none_or_zero, int status, int unmapped),
53 TP_ARGS(mm, page, writable, referenced, none_or_zero, status, unmapped),
62 __field(int, unmapped)
72 __entry->unmapped = unmapped;
82 __entry->unmapped)
/Linux-v5.4/drivers/vfio/
Dvfio_iommu_type1.c701 size_t unmapped = 0; in unmap_unpin_fast() local
705 unmapped = iommu_unmap_fast(domain->domain, *iova, len, in unmap_unpin_fast()
708 if (!unmapped) { in unmap_unpin_fast()
713 entry->len = unmapped; in unmap_unpin_fast()
716 *iova += unmapped; in unmap_unpin_fast()
725 if (*unmapped_cnt >= VFIO_IOMMU_TLB_SYNC_MAX || !unmapped) { in unmap_unpin_fast()
731 return unmapped; in unmap_unpin_fast()
739 size_t unmapped = iommu_unmap(domain->domain, *iova, len); in unmap_unpin_slow() local
741 if (unmapped) { in unmap_unpin_slow()
744 unmapped >> PAGE_SHIFT, in unmap_unpin_slow()
[all …]
/Linux-v5.4/drivers/media/platform/qcom/venus/
Dfirmware.c154 size_t unmapped; in venus_shutdown_no_tz() local
169 unmapped = iommu_unmap(iommu, VENUS_FW_START_ADDR, mapped); in venus_shutdown_no_tz()
170 if (unmapped != mapped) in venus_shutdown_no_tz()
/Linux-v5.4/drivers/staging/media/ipu3/
Dipu3-mmu.c381 size_t unmapped_page, unmapped = 0; in imgu_mmu_unmap() local
400 while (unmapped < size) { in imgu_mmu_unmap()
409 unmapped += unmapped_page; in imgu_mmu_unmap()
414 return unmapped; in imgu_mmu_unmap()
/Linux-v5.4/drivers/iommu/
Dvirtio-iommu.c349 size_t unmapped = 0; in viommu_del_mappings() local
370 unmapped += mapping->iova.last - mapping->iova.start + 1; in viommu_del_mappings()
377 return unmapped; in viommu_del_mappings()
757 size_t unmapped; in viommu_unmap() local
761 unmapped = viommu_del_mappings(vdomain, iova, size); in viommu_unmap()
762 if (unmapped < size) in viommu_unmap()
767 return unmapped; in viommu_unmap()
773 .virt_end = cpu_to_le64(iova + unmapped - 1), in viommu_unmap()
777 return ret ? 0 : unmapped; in viommu_unmap()
Diommu.c1923 size_t unmapped_page, unmapped = 0; in __iommu_unmap() local
1954 while (unmapped < size) { in __iommu_unmap()
1955 size_t pgsize = iommu_pgsize(domain, iova, size - unmapped); in __iommu_unmap()
1965 unmapped += unmapped_page; in __iommu_unmap()
1968 trace_unmap(orig_iova, size, unmapped); in __iommu_unmap()
1969 return unmapped; in __iommu_unmap()
Ddma-iommu.c450 size_t unmapped; in __iommu_dma_unmap() local
456 unmapped = iommu_unmap_fast(domain, dma_addr, size, &iotlb_gather); in __iommu_dma_unmap()
457 WARN_ON(unmapped != size); in __iommu_dma_unmap()
Damd_iommu.c1727 unsigned long long unmapped; in iommu_unmap_page() local
1733 unmapped = 0; in iommu_unmap_page()
1735 while (unmapped < page_size) { in iommu_unmap_page()
1748 unmapped += unmap_size; in iommu_unmap_page()
1751 BUG_ON(unmapped && !is_power_of_2(unmapped)); in iommu_unmap_page()
1753 return unmapped; in iommu_unmap_page()
/Linux-v5.4/Documentation/features/vm/TLB/
Darch-support.txt4 # description: arch supports deferral of TLB flush until multiple pages are unmapped
/Linux-v5.4/Documentation/x86/x86_64/
D5level-paging.rst49 to look for unmapped area by specified address. If it's already
50 occupied, we look for unmapped area in *full* address space, rather than
/Linux-v5.4/drivers/gpu/drm/etnaviv/
Detnaviv_mmu.c19 size_t unmapped_page, unmapped = 0; in etnaviv_context_unmap() local
28 while (unmapped < size) { in etnaviv_context_unmap()
35 unmapped += unmapped_page; in etnaviv_context_unmap()
/Linux-v5.4/Documentation/media/uapi/v4l/
Dvidioc-reqbufs.rst74 orphaned and will be freed when they are unmapped or when the exported DMABUF
152 when they are unmapped or when the exported DMABUF fds are closed.
/Linux-v5.4/Documentation/vm/
Dzsmalloc.rst34 unmapped using zs_unmap_object().
/Linux-v5.4/Documentation/admin-guide/mm/
Duserfaultfd.rst207 end addresses of the unmapped area.
216 area is unmapped, either explicitly (with munmap() system call), or
221 UFFDIO_COPY on the unmapped area.
/Linux-v5.4/drivers/remoteproc/
Dremoteproc_core.c1269 size_t unmapped; in rproc_resource_cleanup() local
1271 unmapped = iommu_unmap(rproc->domain, entry->da, entry->len); in rproc_resource_cleanup()
1272 if (unmapped != entry->len) { in rproc_resource_cleanup()
1275 unmapped); in rproc_resource_cleanup()
/Linux-v5.4/Documentation/
Dtee.txt31 any longer it should be unmapped with munmap() to allow the reuse of
/Linux-v5.4/Documentation/x86/
Dintel_mpx.rst90 is unmapped.
212 in the virtual address region which is being unmapped will be freed also.
/Linux-v5.4/mm/
Dkhugepaged.c1126 int node = NUMA_NO_NODE, unmapped = 0; in khugepaged_scan_pmd() local
1143 if (++unmapped <= khugepaged_max_ptes_swap) { in khugepaged_scan_pmd()
1236 none_or_zero, result, unmapped); in khugepaged_scan_pmd()
Dmigrate.c2164 unsigned long addr = start, unmapped = 0; in migrate_vma_collect_pmd() local
2303 unmapped++; in migrate_vma_collect_pmd()
2314 if (unmapped) in migrate_vma_collect_pmd()
/Linux-v5.4/Documentation/devicetree/bindings/iommu/
Diommu.txt19 through the IOMMU and faulting when encountering accesses to unmapped
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_dcb.c351 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-v5.4/Documentation/virt/kvm/devices/
Dxive.txt54 mapped into or unmapped from the guest IRQ number space. The KVM
/Linux-v5.4/Documentation/gpu/
Ddrm-internals.rst131 be unmapped; on many devices, the ROM address decoder is shared with
/Linux-v5.4/Documentation/driver-api/pci/
Dp2pdma.rst89 way does not need to be unmapped.

123