/linux/arch/x86/include/asm/ |
A D | pgtable.h | 126 return pte_flags(pte) & _PAGE_DIRTY; in pte_dirty() 131 return pte_flags(pte) & _PAGE_ACCESSED; in pte_young() 156 return pte_flags(pte) & _PAGE_RW; in pte_write() 161 return pte_flags(pte) & _PAGE_PSE; in pte_huge() 166 return pte_flags(pte) & _PAGE_GLOBAL; in pte_global() 171 return !(pte_flags(pte) & _PAGE_NX); in pte_exec() 176 return pte_flags(pte) & _PAGE_SPECIAL; in pte_special() 291 return pte_flags(pte) & _PAGE_UFFD_WP; in pte_uffd_wp() 498 return pte_flags(pte) & _PAGE_SOFT_DIRTY; in pte_soft_dirty() 751 if (pte_flags(a) & _PAGE_PRESENT) in pte_accessible() [all …]
|
A D | pgtable_types.h | 468 static inline pteval_t pte_flags(pte_t pte) in pte_flags() function
|
/linux/drivers/gpu/drm/i915/display/ |
A D | intel_dpt.c | 84 u32 pte_flags; in dpt_bind_vma() local 87 pte_flags = 0; in dpt_bind_vma() 89 pte_flags |= PTE_READ_ONLY; in dpt_bind_vma() 91 pte_flags |= PTE_LM; in dpt_bind_vma() 93 vma->vm->insert_entries(vma->vm, vma, cache_level, pte_flags); in dpt_bind_vma()
|
/linux/arch/powerpc/include/asm/ |
A D | pgtable.h | 56 unsigned long pte_flags; in pte_pgprot() local 58 pte_flags = pte_val(pte) & ~PTE_RPN_MASK; in pte_pgprot() 59 return __pgprot(pte_flags); in pte_pgprot()
|
/linux/drivers/gpu/drm/i915/gt/ |
A D | intel_ppgtt.c | 186 u32 pte_flags; in ppgtt_bind_vma() local 194 pte_flags = 0; in ppgtt_bind_vma() 196 pte_flags |= PTE_READ_ONLY; in ppgtt_bind_vma() 198 pte_flags |= PTE_LM; in ppgtt_bind_vma() 200 vm->insert_entries(vm, vma, cache_level, pte_flags); in ppgtt_bind_vma()
|
A D | intel_ggtt.c | 461 u32 pte_flags; in ggtt_bind_vma() local 467 pte_flags = 0; in ggtt_bind_vma() 469 pte_flags |= PTE_READ_ONLY; in ggtt_bind_vma() 471 pte_flags |= PTE_LM; in ggtt_bind_vma() 616 u32 pte_flags; in aliasing_gtt_bind_vma() local 619 pte_flags = 0; in aliasing_gtt_bind_vma() 621 pte_flags |= PTE_READ_ONLY; in aliasing_gtt_bind_vma() 836 u32 pte_flags; in ggtt_probe_common() local 867 pte_flags = 0; in ggtt_probe_common() 869 pte_flags |= PTE_LM; in ggtt_probe_common() [all …]
|
A D | gen8_ppgtt.c | 625 u32 pte_flags; in gen8_init_scratch() local 649 pte_flags = vm->has_read_only; in gen8_init_scratch() 651 pte_flags |= PTE_LM; in gen8_init_scratch() 655 I915_CACHE_LLC, pte_flags); in gen8_init_scratch()
|
/linux/drivers/char/agp/ |
A D | intel-gtt.c | 324 u32 pte_flags = I810_PTE_VALID; in i810_write_entry() local 328 pte_flags |= I810_PTE_LOCAL; in i810_write_entry() 331 pte_flags |= I830_PTE_SYSTEM_CACHED; in i810_write_entry() 335 writel_relaxed(addr | pte_flags, intel_private.gtt + entry); in i810_write_entry() 738 u32 pte_flags = I810_PTE_VALID; in i830_write_entry() local 741 pte_flags |= I830_PTE_SYSTEM_CACHED; in i830_write_entry() 743 writel_relaxed(addr | pte_flags, intel_private.gtt + entry); in i830_write_entry() 1120 u32 pte_flags; in i965_write_entry() local 1122 pte_flags = I810_PTE_VALID; in i965_write_entry() 1124 pte_flags |= I830_PTE_SYSTEM_CACHED; in i965_write_entry() [all …]
|
/linux/arch/x86/mm/ |
A D | mem_encrypt_identity.c | 76 pteval_t pte_flags; member 191 set_pte(pte, __pte(ppd->paddr | ppd->pte_flags)); in sme_populate_pgd() 215 pmdval_t pmd_flags, pteval_t pte_flags) in __sme_map_range() argument 220 ppd->pte_flags = pte_flags; in __sme_map_range()
|
A D | pti.c | 269 if (pte_flags(*pte) & _PAGE_USER) { in pti_user_pagetable_walk_pte() 389 if (WARN_ON(!(pte_flags(*pte) & _PAGE_PRESENT))) in pti_clone_pgtable()
|
/linux/drivers/gpu/drm/amd/amdkfd/ |
A D | kfd_migrate.c | 56 uint64_t pte_flags; in svm_migrate_gart_map() local 81 pte_flags = AMDGPU_PTE_VALID | AMDGPU_PTE_READABLE; in svm_migrate_gart_map() 82 pte_flags |= AMDGPU_PTE_SYSTEM | AMDGPU_PTE_SNOOPED; in svm_migrate_gart_map() 84 pte_flags |= AMDGPU_PTE_WRITEABLE; in svm_migrate_gart_map() 85 pte_flags |= adev->gart.gart_pte_flags; in svm_migrate_gart_map() 89 r = amdgpu_gart_map(adev, 0, npages, addr, pte_flags, cpu_addr); in svm_migrate_gart_map()
|
A D | kfd_svm.c | 1049 uint64_t pte_flags; in svm_range_get_pte_flags() local 1103 pte_flags = AMDGPU_PTE_VALID; in svm_range_get_pte_flags() 1104 pte_flags |= (domain == SVM_RANGE_VRAM_DOMAIN) ? 0 : AMDGPU_PTE_SYSTEM; in svm_range_get_pte_flags() 1105 pte_flags |= snoop ? AMDGPU_PTE_SNOOPED : 0; in svm_range_get_pte_flags() 1107 pte_flags |= amdgpu_gem_va_map_flags(adev, mapping_flags); in svm_range_get_pte_flags() 1108 return pte_flags; in svm_range_get_pte_flags() 1177 uint64_t pte_flags; in svm_range_map_to_gpu() local 1205 pte_flags = svm_range_get_pte_flags(adev, prange, last_domain); in svm_range_map_to_gpu() 1207 pte_flags &= ~AMDGPU_PTE_WRITEABLE; in svm_range_map_to_gpu() 1212 pte_flags); in svm_range_map_to_gpu() [all …]
|
/linux/drivers/gpu/drm/i915/gt/uc/ |
A D | intel_uc_fw.c | 426 u32 pte_flags = 0; in uc_fw_bind_ggtt() local 441 pte_flags |= PTE_LM; in uc_fw_bind_ggtt() 443 ggtt->vm.insert_entries(&ggtt->vm, dummy, I915_CACHE_NONE, pte_flags); in uc_fw_bind_ggtt()
|
/linux/arch/s390/include/asm/ |
A D | pgtable.h | 869 unsigned long pte_flags = pte_val(pte) & _PAGE_CHG_MASK; in pte_pgprot() local 872 pte_flags |= pgprot_val(PAGE_KERNEL); in pte_pgprot() 874 pte_flags |= pgprot_val(PAGE_KERNEL_RO); in pte_pgprot() 875 pte_flags |= pte_val(pte) & mio_wb_bit_mask; in pte_pgprot() 877 return __pgprot(pte_flags); in pte_pgprot()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_amdkfd_gpuvm.c | 409 uint64_t pte_flags; in get_pte_flags() local 461 pte_flags = amdgpu_gem_va_map_flags(adev, mapping_flags); in get_pte_flags() 462 pte_flags |= snoop ? AMDGPU_PTE_SNOOPED : 0; in get_pte_flags() 464 return pte_flags; in get_pte_flags() 747 attachment[i]->pte_flags = get_pte_flags(adev, mem); in kfd_mem_attach() 1096 entry->pte_flags); in map_bo_to_gpuvm()
|
A D | amdgpu_amdkfd.h | 60 uint64_t pte_flags; member
|
/linux/arch/x86/mm/pat/ |
A D | cpa-test.c | 41 return pte_flags(pte) & _PAGE_SOFTW1; in pte_testbit()
|
/linux/arch/x86/kvm/mmu/ |
A D | paging_tmpl.h | 303 pkeys = pte_flags_pkey(pte_flags(pte)); in FNAME()
|