Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/kernel/include/trace/events/
H A 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)
/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/
H A 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()
H A 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)
H A 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()
/OK3568_Linux_fs/kernel/drivers/vfio/
H A Dvfio_iommu_type1.c893 size_t unmapped = 0; in unmap_unpin_fast() local
897 unmapped = iommu_unmap_fast(domain->domain, *iova, len, in unmap_unpin_fast()
900 if (!unmapped) { in unmap_unpin_fast()
905 entry->len = unmapped; in unmap_unpin_fast()
908 *iova += unmapped; in unmap_unpin_fast()
917 if (*unmapped_cnt >= VFIO_IOMMU_TLB_SYNC_MAX || !unmapped) { in unmap_unpin_fast()
923 return unmapped; in unmap_unpin_fast()
931 size_t unmapped = iommu_unmap(domain->domain, *iova, len); in unmap_unpin_slow() local
933 if (unmapped) { in unmap_unpin_slow()
936 unmapped >> PAGE_SHIFT, in unmap_unpin_slow()
[all …]
/OK3568_Linux_fs/kernel/drivers/iommu/
H A 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()
H A Dio-pgtable-arm-v7s.c739 size_t unmapped = 0, ret; in arm_v7s_unmap_pages() local
749 unmapped += pgsize; in arm_v7s_unmap_pages()
753 return unmapped; in arm_v7s_unmap_pages()
H A Diommu.c2532 size_t unmapped_page, unmapped = 0; in __iommu_unmap() local
2563 while (unmapped < size) { in __iommu_unmap()
2565 size - unmapped, in __iommu_unmap()
2574 unmapped += unmapped_page; in __iommu_unmap()
2577 trace_unmap(orig_iova, size, unmapped); in __iommu_unmap()
2578 return unmapped; in __iommu_unmap()
H A Ddma-iommu.c543 size_t unmapped; in __iommu_dma_unmap() local
549 unmapped = iommu_unmap_fast(domain, dma_addr, size, &iotlb_gather); in __iommu_dma_unmap()
550 WARN_ON(unmapped != size); in __iommu_dma_unmap()
/OK3568_Linux_fs/kernel/drivers/staging/media/ipu3/
H A 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()
/OK3568_Linux_fs/kernel/drivers/media/platform/qcom/venus/
H A 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()
/OK3568_Linux_fs/kernel/Documentation/x86/x86_64/
H A 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
/OK3568_Linux_fs/kernel/Documentation/features/vm/TLB/
H A Darch-support.txt4 # description: arch supports deferral of TLB flush until multiple pages are unmapped
/OK3568_Linux_fs/kernel/drivers/gpu/drm/etnaviv/
H A 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()
/OK3568_Linux_fs/yocto/poky/scripts/lib/recipetool/
H A Dcreate_buildsys.py474 unmapped = []
522 unmapped.append(prog)
691 if unmapped:
692 …# NOTE: the following prog dependencies are unknown, ignoring: %s' % ' '.join(list(set(unmapped))))
/OK3568_Linux_fs/kernel/mm/
H A Dkhugepaged.c1062 int node, int referenced, int unmapped) in collapse_huge_page() argument
1118 if (unmapped && !__collapse_huge_page_swapin(mm, vma, address, in collapse_huge_page()
1243 int node = NUMA_NO_NODE, unmapped = 0; in khugepaged_scan_pmd() local
1260 if (++unmapped <= khugepaged_max_ptes_swap) { in khugepaged_scan_pmd()
1372 } else if (!referenced || (unmapped && referenced < HPAGE_PMD_NR/2)) { in khugepaged_scan_pmd()
1384 referenced, unmapped); in khugepaged_scan_pmd()
1388 none_or_zero, result, unmapped); in khugepaged_scan_pmd()
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/
H A 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.
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-class-rnbd-server32 When the device is unmapped by that client, the directory will be removed.
H A Dsysfs-block-rnbd9 is using the device. When "force" is used, the device is also unmapped
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/gcc/gcc/
H A D0028-debug-101473-apply-debug-prefix-maps-before-checksum.patch14 The easiest and most scalable way is to record both the unmapped
/OK3568_Linux_fs/kernel/Documentation/vm/
H A Dzsmalloc.rst34 unmapped using zs_unmap_object().
/OK3568_Linux_fs/kernel/drivers/remoteproc/
H A Dremoteproc_core.c1336 size_t unmapped; in rproc_resource_cleanup() local
1338 unmapped = iommu_unmap(rproc->domain, entry->da, entry->len); in rproc_resource_cleanup()
1339 if (unmapped != entry->len) { in rproc_resource_cleanup()
1342 unmapped); in rproc_resource_cleanup()
/OK3568_Linux_fs/kernel/Documentation/admin-guide/mm/
H A Duserfaultfd.rst285 end addresses of the unmapped area.
294 area is unmapped, either explicitly (with munmap() system call), or
299 ``UFFDIO_COPY`` on the unmapped area.
/OK3568_Linux_fs/kernel/Documentation/admin-guide/device-mapper/
H A 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
/OK3568_Linux_fs/kernel/drivers/iommu/amd/
H A Diommu.c1803 unsigned long long unmapped; in iommu_unmap_page() local
1809 unmapped = 0; in iommu_unmap_page()
1811 while (unmapped < page_size) { in iommu_unmap_page()
1824 unmapped += unmap_size; in iommu_unmap_page()
1827 BUG_ON(unmapped && !is_power_of_2(unmapped)); in iommu_unmap_page()
1829 return unmapped; in iommu_unmap_page()

1234