Searched refs:unmapped (Results 1 - 25 of 30) sorted by relevance

12

/linux-master/drivers/gpu/drm/msm/
H A Dmsm_gem_shrinker.c188 unsigned idx, unmapped = 0; local
191 for (idx = 0; lrus[idx] && unmapped < vmap_shrink_limit; idx++) {
192 unmapped += drm_gem_lru_scan(lrus[idx],
193 vmap_shrink_limit - unmapped,
198 *(unsigned long *)ptr += unmapped;
200 if (unmapped > 0)
201 trace_msm_gem_purge_vmaps(unmapped);
H A Dmsm_gpu_trace.h143 TP_PROTO(u32 unmapped),
144 TP_ARGS(unmapped),
146 __field(u32, unmapped)
149 __entry->unmapped = unmapped;
151 TP_printk("Purging %u vmaps", __entry->unmapped)
H A Dmsm_iommu.c98 size_t unmapped, pgsize, count; local
102 unmapped = ops->unmap_pages(ops, iova, pgsize, count, NULL);
103 if (!unmapped)
106 iova += unmapped;
107 size -= unmapped;
/linux-master/include/trace/events/
H A Dhuge_memory.h59 int referenced, int none_or_zero, int status, int unmapped),
61 TP_ARGS(mm, page, writable, referenced, none_or_zero, status, unmapped),
70 __field(int, unmapped)
80 __entry->unmapped = unmapped;
83 TP_printk("mm=%p, scan_pfn=0x%lx, writable=%d, referenced=%d, none_or_zero=%d, status=%s, unmapped=%d",
90 __entry->unmapped)
/linux-master/drivers/iommu/amd/
H A Dio_pgtable_v2.c290 unsigned long unmapped = 0; local
297 while (unmapped < size) {
300 return unmapped;
305 unmapped += unmap_size;
308 return unmapped;
H A Dio_pgtable.c445 unsigned long long unmapped; local
452 unmapped = 0;
454 while (unmapped < size) {
463 return unmapped;
467 unmapped += unmap_size;
470 return unmapped;
/linux-master/mm/
H A Dmigrate_device.c65 unsigned long addr = start, unmapped = 0; local
261 unmapped++;
273 if (unmapped)
366 unsigned long unmapped = 0; local
376 unmapped++;
414 unmapped++;
433 return unmapped;
463 * and unmapped, check whether each page is pinned or not. Pages that aren't
548 * At this point pages are locked and unmapped, and thus they have
713 * called if the page could not be unmapped
[all...]
H A Dkhugepaged.c248 * any unmapped ptes in turn potentially increasing the memory
934 * Anon VMA expected, the address may be unmapped then
1088 int referenced, int unmapped,
1129 if (unmapped) {
1264 int node = NUMA_NO_NODE, unmapped = 0; local
1285 ++unmapped;
1287 unmapped <= khugepaged_max_ptes_swap) {
1403 (unmapped && referenced < HPAGE_PMD_NR / 2))) {
1412 unmapped, cc);
1418 none_or_zero, result, unmapped);
1087 collapse_huge_page(struct mm_struct *mm, unsigned long address, int referenced, int unmapped, struct collapse_control *cc) argument
[all...]
/linux-master/drivers/vfio/
H A Dvfio_iommu_type1.c974 size_t unmapped = 0; local
978 unmapped = iommu_unmap_fast(domain->domain, *iova, len,
981 if (!unmapped) {
986 entry->len = unmapped;
989 *iova += unmapped;
998 if (*unmapped_cnt >= VFIO_IOMMU_TLB_SYNC_MAX || !unmapped) {
1004 return unmapped;
1012 size_t unmapped = iommu_unmap(domain->domain, *iova, len); local
1014 if (unmapped) {
1017 unmapped >> PAGE_SHIF
1058 size_t unmapped, len; local
1272 size_t unmapped = 0, pgsize; local
1840 size_t unmapped = iommu_unmap(domain->domain, start, PAGE_SIZE); local
[all...]
/linux-master/drivers/media/platform/qcom/venus/
H A Dfirmware.c178 size_t unmapped; local
199 unmapped = iommu_unmap(iommu, VENUS_FW_START_ADDR, mapped);
201 if (unmapped != mapped)
/linux-master/drivers/staging/media/ipu3/
H A Dipu3-mmu.c383 size_t unmapped_page, unmapped = 0; local
402 while (unmapped < size) {
407 dev_dbg(mmu->dev, "unmapped: iova 0x%lx size 0x%zx\n",
411 unmapped += unmapped_page;
416 return unmapped;
/linux-master/drivers/iommu/iommufd/
H A Dvfio_compat.c209 unsigned long unmapped = 0; local
228 rc = iopt_unmap_all(&ioas->iopt, &unmapped);
245 &unmapped);
247 unmap.size = unmapped;
H A Dioas.c292 unsigned long unmapped = 0; local
300 rc = iopt_unmap_all(&ioas->iopt, &unmapped);
309 &unmapped);
314 cmd->length = unmapped;
H A Diommufd_private.h74 unsigned long length, unsigned long *unmapped);
75 int iopt_unmap_all(struct io_pagetable *iopt, unsigned long *unmapped);
H A Dio_pagetable.c641 unsigned long last, unsigned long *unmapped)
714 if (unmapped)
715 *unmapped = unmapped_bytes;
724 * @unmapped: Return number of bytes unmapped
730 unsigned long length, unsigned long *unmapped)
740 return iopt_unmap_iova_range(iopt, iova, iova_last, unmapped);
743 int iopt_unmap_all(struct io_pagetable *iopt, unsigned long *unmapped) argument
747 rc = iopt_unmap_iova_range(iopt, 0, ULONG_MAX, unmapped);
865 * will be unmapped fro
640 iopt_unmap_iova_range(struct io_pagetable *iopt, unsigned long start, unsigned long last, unsigned long *unmapped) argument
729 iopt_unmap_iova(struct io_pagetable *iopt, unsigned long iova, unsigned long length, unsigned long *unmapped) argument
[all...]
/linux-master/drivers/iommu/
H A Dvirtio-iommu.c342 * On success, returns the number of unmapped bytes
347 size_t unmapped = 0; local
367 unmapped += mapping->iova.last - mapping->iova.start + 1;
374 return unmapped;
863 size_t unmapped; local
868 unmapped = viommu_del_mappings(vdomain, iova, iova + size - 1);
869 if (unmapped < size)
874 return unmapped;
880 .virt_end = cpu_to_le64(iova + unmapped - 1),
884 return ret ? 0 : unmapped;
[all...]
H A Dio-pgtable-arm-v7s.c633 return 0; /* Bytes unmapped */
743 size_t unmapped = 0, ret; local
753 unmapped += pgsize;
757 return unmapped;
H A Diommu.c2468 * so we should account for those so they can be unmapped.
2523 size_t unmapped_page, unmapped = 0; local
2553 while (unmapped < size) {
2556 pgsize = iommu_pgsize(domain, iova, iova, size - unmapped, &count);
2561 pr_debug("unmapped: iova 0x%lx size 0x%zx\n",
2565 unmapped += unmapped_page;
2568 trace_unmap(orig_iova, size, unmapped);
2569 return unmapped;
H A Ddma-iommu.c834 size_t unmapped; local
841 unmapped = iommu_unmap_fast(domain, dma_addr, size, &iotlb_gather);
842 WARN_ON(unmapped != size);
/linux-master/drivers/gpu/drm/etnaviv/
H A Detnaviv_mmu.c19 size_t unmapped_page, unmapped = 0; local
28 while (unmapped < size) {
35 unmapped += unmapped_page;
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_umsch_mm.h104 uint32_t unmapped; member in struct:MQD_INFO
/linux-master/arch/arm64/kvm/hyp/
H A Dpgtable.c517 u64 *unmapped = ctx->arg; local
539 *unmapped += granule;
554 u64 unmapped = 0; local
557 .arg = &unmapped,
565 return unmapped;
/linux-master/drivers/remoteproc/
H A Dremoteproc_core.c83 * will try to access an unmapped device address.
1238 size_t unmapped; local
1240 unmapped = iommu_unmap(rproc->domain, entry->da, entry->len);
1241 if (unmapped != entry->len) {
1244 unmapped);
/linux-master/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_dcb.c347 /* maps unmapped priorities to to the same COS as L2 */
351 u32 unmapped = (1 << MAX_PFC_PRIORITIES) - 1; /* all ones */ local
357 /* get unmapped priorities by clearing mapped bits */
359 unmapped &= ~(1 << ttp[i]);
361 /* find cos for nw prio and extend it with unmapped */
364 /* extend the bitmask with unmapped */
366 "cos %d extended with 0x%08x\n", i, unmapped);
367 cos_params[i].pri_bitmask |= unmapped;
/linux-master/drivers/net/wireless/ath/ath12k/
H A Dcore.h117 u8 unmapped; member in struct:ath12k_skb_rxcb

Completed in 471 milliseconds

12