Home
last modified time | relevance | path

Searched refs:pte_flags (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/include/asm/
Dpgtable.h126 return pte_flags(pte) & _PAGE_DIRTY; in pte_dirty()
160 return pte_flags(pte) & _PAGE_ACCESSED; in pte_young()
185 return pte_flags(pte) & _PAGE_RW; in pte_write()
190 return pte_flags(pte) & _PAGE_PSE; in pte_huge()
195 return pte_flags(pte) & _PAGE_GLOBAL; in pte_global()
200 return !(pte_flags(pte) & _PAGE_NX); in pte_exec()
205 return pte_flags(pte) & _PAGE_SPECIAL; in pte_special()
320 return pte_flags(pte) & _PAGE_UFFD_WP; in pte_uffd_wp()
527 return pte_flags(pte) & _PAGE_SOFT_DIRTY; in pte_soft_dirty()
671 #define pte_pgprot(x) __pgprot(pte_flags(x))
[all …]
Dpgtable_types.h472 static inline pteval_t pte_flags(pte_t pte) in pte_flags() function
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dpgtable.h54 unsigned long pte_flags; in pte_pgprot() local
56 pte_flags = pte_val(pte) & ~PTE_RPN_MASK; in pte_pgprot()
57 return __pgprot(pte_flags); in pte_pgprot()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dintel_ppgtt.c184 u32 pte_flags; in ppgtt_bind_vma() local
192 pte_flags = 0; in ppgtt_bind_vma()
194 pte_flags |= PTE_READ_ONLY; in ppgtt_bind_vma()
196 vm->insert_entries(vm, vma, cache_level, pte_flags); in ppgtt_bind_vma()
Dintel_ggtt.c444 u32 pte_flags; in ggtt_bind_vma() local
450 pte_flags = 0; in ggtt_bind_vma()
452 pte_flags |= PTE_READ_ONLY; in ggtt_bind_vma()
454 vm->insert_entries(vm, vma, cache_level, pte_flags); in ggtt_bind_vma()
597 u32 pte_flags; in aliasing_gtt_bind_vma() local
600 pte_flags = 0; in aliasing_gtt_bind_vma()
602 pte_flags |= PTE_READ_ONLY; in aliasing_gtt_bind_vma()
609 vm->insert_entries(vm, vma, cache_level, pte_flags); in aliasing_gtt_bind_vma()
/kernel/linux/linux-5.10/drivers/char/agp/
Dintel-gtt.c324 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 …]
/kernel/linux/linux-5.10/arch/x86/mm/
Dmem_encrypt_identity.c75 pteval_t pte_flags; member
190 set_pte(pte, __pte(ppd->paddr | ppd->pte_flags)); in sme_populate_pgd()
214 pmdval_t pmd_flags, pteval_t pte_flags) in __sme_map_range() argument
219 ppd->pte_flags = pte_flags; in __sme_map_range()
Dpti.c269 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()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dpgtable.h875 unsigned long pte_flags = pte_val(pte) & _PAGE_CHG_MASK; in pte_pgprot() local
878 pte_flags |= pgprot_val(PAGE_KERNEL); in pte_pgprot()
880 pte_flags |= pgprot_val(PAGE_KERNEL_RO); in pte_pgprot()
881 pte_flags |= pte_val(pte) & mio_wb_bit_mask; in pte_pgprot()
883 return __pgprot(pte_flags); in pte_pgprot()
/kernel/linux/linux-5.10/arch/x86/mm/pat/
Dcpa-test.c41 return pte_flags(pte) & _PAGE_SOFTW1; in pte_testbit()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd.h47 uint64_t pte_flags; member
Damdgpu_amdkfd_gpuvm.c471 bo_va_entry->pte_flags = get_pte_flags(adev, mem); in add_bo_to_vm()
808 entry->pte_flags); in map_bo_to_gpuvm()
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/
Dpaging_tmpl.h300 pkeys = pte_flags_pkey(pte_flags(pte)); in FNAME()