Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
Dmsm_gem_shrinker.c103 unsigned unmapped = 0; in msm_gem_shrinker_vmap() local
116 if (++unmapped >= 15) in msm_gem_shrinker_vmap()
124 *(unsigned long *)ptr += unmapped; in msm_gem_shrinker_vmap()
126 if (unmapped > 0) in msm_gem_shrinker_vmap()
127 trace_msm_gem_purge_vmaps(unmapped); in msm_gem_shrinker_vmap()
Dmsm_gpu_trace.h132 TP_PROTO(u32 unmapped),
133 TP_ARGS(unmapped),
135 __field(u32, unmapped)
138 __entry->unmapped = unmapped;
140 TP_printk("Purging %u vmaps", __entry->unmapped)
Dmsm_iommu.c37 size_t unmapped = 0; in msm_iommu_pagetable_unmap() local
41 unmapped += ops->unmap(ops, iova, 4096, NULL); in msm_iommu_pagetable_unmap()
48 return (unmapped == size) ? 0 : -EINVAL; in msm_iommu_pagetable_unmap()
/kernel/linux/linux-5.10/include/trace/events/
Dhuge_memory.h54 int referenced, int none_or_zero, int status, int unmapped),
56 TP_ARGS(mm, page, writable, referenced, none_or_zero, status, unmapped),
65 __field(int, unmapped)
75 __entry->unmapped = unmapped;
85 __entry->unmapped)
/kernel/linux/linux-5.10/drivers/vfio/
Dvfio_iommu_type1.c834 size_t unmapped = 0; in unmap_unpin_fast() local
838 unmapped = iommu_unmap_fast(domain->domain, *iova, len, in unmap_unpin_fast()
841 if (!unmapped) { in unmap_unpin_fast()
846 entry->len = unmapped; in unmap_unpin_fast()
849 *iova += unmapped; in unmap_unpin_fast()
858 if (*unmapped_cnt >= VFIO_IOMMU_TLB_SYNC_MAX || !unmapped) { in unmap_unpin_fast()
864 return unmapped; in unmap_unpin_fast()
872 size_t unmapped = iommu_unmap(domain->domain, *iova, len); in unmap_unpin_slow() local
874 if (unmapped) { in unmap_unpin_slow()
877 unmapped >> PAGE_SHIFT, in unmap_unpin_slow()
[all …]
/kernel/linux/linux-5.10/drivers/iommu/
Dvirtio-iommu.c348 size_t unmapped = 0; in viommu_del_mappings() local
369 unmapped += mapping->iova.last - mapping->iova.start + 1; in viommu_del_mappings()
376 return unmapped; in viommu_del_mappings()
768 size_t unmapped; in viommu_unmap() local
772 unmapped = viommu_del_mappings(vdomain, iova, size); in viommu_unmap()
773 if (unmapped < size) in viommu_unmap()
778 return unmapped; in viommu_unmap()
784 .virt_end = cpu_to_le64(iova + unmapped - 1), in viommu_unmap()
788 return ret ? 0 : unmapped; in viommu_unmap()
Diommu.c2457 size_t unmapped_page, unmapped = 0; in __iommu_unmap() local
2488 while (unmapped < size) { in __iommu_unmap()
2489 size_t pgsize = iommu_pgsize(domain, iova, size - unmapped); in __iommu_unmap()
2499 unmapped += unmapped_page; in __iommu_unmap()
2502 trace_unmap(orig_iova, size, unmapped); in __iommu_unmap()
2503 return unmapped; in __iommu_unmap()
Ddma-iommu.c468 size_t unmapped; in __iommu_dma_unmap() local
474 unmapped = iommu_unmap_fast(domain, dma_addr, size, &iotlb_gather); in __iommu_dma_unmap()
475 WARN_ON(unmapped != size); in __iommu_dma_unmap()
/kernel/linux/linux-5.10/drivers/staging/media/ipu3/
Dipu3-mmu.c383 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()
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
Dfirmware.c159 size_t unmapped; in venus_shutdown_no_tz() local
174 unmapped = iommu_unmap(iommu, VENUS_FW_START_ADDR, mapped); in venus_shutdown_no_tz()
175 if (unmapped != mapped) in venus_shutdown_no_tz()
/kernel/linux/linux-5.10/Documentation/features/vm/TLB/
Darch-support.txt4 # description: arch supports deferral of TLB flush until multiple pages are unmapped
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/mm/
Dkhugepaged.c1060 int node, int referenced, int unmapped) in collapse_huge_page() argument
1116 if (unmapped && !__collapse_huge_page_swapin(mm, vma, address, in collapse_huge_page()
1235 int node = NUMA_NO_NODE, unmapped = 0; in khugepaged_scan_pmd() local
1252 if (++unmapped <= khugepaged_max_ptes_swap) { in khugepaged_scan_pmd()
1364 } else if (!referenced || (unmapped && referenced < HPAGE_PMD_NR/2)) { in khugepaged_scan_pmd()
1376 referenced, unmapped); in khugepaged_scan_pmd()
1380 none_or_zero, result, unmapped); in khugepaged_scan_pmd()
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-class-rnbd-server32 When the device is unmapped by that client, the directory will be removed.
Dsysfs-block-rnbd9 is using the device. When "force" is used, the device is also unmapped
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dvidioc-reqbufs.rst67 orphaned and will be freed when they are unmapped or when the exported DMABUF
146 when they are unmapped or when the exported DMABUF fds are closed.
/kernel/linux/linux-5.10/Documentation/vm/
Dzsmalloc.rst34 unmapped using zs_unmap_object().
/kernel/liteos_a/arch/arm/arm/src/
Dlos_arch_mmu.c557 INT32 unmapped = 0; in LOS_ArchMmuUnmap() local
583 unmapped += unmapCount; in LOS_ArchMmuUnmap()
586 return unmapped; in LOS_ArchMmuUnmap()
/kernel/linux/linux-5.10/Documentation/admin-guide/device-mapper/
Ddm-zoned.rst180 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
/kernel/linux/linux-5.10/Documentation/admin-guide/mm/
Duserfaultfd.rst259 end addresses of the unmapped area.
268 area is unmapped, either explicitly (with munmap() system call), or
273 ``UFFDIO_COPY`` on the unmapped area.
/kernel/linux/linux-5.10/drivers/remoteproc/
Dremoteproc_core.c1327 size_t unmapped; in rproc_resource_cleanup() local
1329 unmapped = iommu_unmap(rproc->domain, entry->da, entry->len); in rproc_resource_cleanup()
1330 if (unmapped != entry->len) { in rproc_resource_cleanup()
1333 unmapped); in rproc_resource_cleanup()
/kernel/linux/linux-5.10/drivers/iommu/amd/
Diommu.c1796 unsigned long long unmapped; in iommu_unmap_page() local
1802 unmapped = 0; in iommu_unmap_page()
1804 while (unmapped < page_size) { in iommu_unmap_page()
1817 unmapped += unmap_size; in iommu_unmap_page()
1820 BUG_ON(unmapped && !is_power_of_2(unmapped)); in iommu_unmap_page()
1822 return unmapped; in iommu_unmap_page()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iommu/
Diommu.txt19 through the IOMMU and faulting when encountering accesses to unmapped

123