Home
last modified time | relevance | path

Searched refs:prot_bits (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/gpu/drm/msm/adreno/
H A Da2xx_gpummu.c38 unsigned prot_bits = 0; in a2xx_gpummu_map() local
43 prot_bits |= 1; in a2xx_gpummu_map()
45 prot_bits |= 2; in a2xx_gpummu_map()
52 gpummu->table[idx++] = (addr + i) | prot_bits; in a2xx_gpummu_map()
/linux/arch/arm/mm/
H A Ddump.c59 struct prot_bits { struct
68 static const struct prot_bits pte_bits[] = { argument
138 static const struct prot_bits section_bits[] = {
204 const struct prot_bits *bits;
207 const struct prot_bits *ro_bit;
208 const struct prot_bits *nx_bit;
227 static void dump_prot(struct pg_state *st, const struct prot_bits *bits, size_t num) in dump_prot()
/linux/arch/loongarch/kvm/
H A Dmmu.c776 unsigned long hva, mmu_seq, prot_bits; in kvm_map_page() local
852 prot_bits = _PAGE_PRESENT | __READABLE; in kvm_map_page()
854 prot_bits |= _CACHE_CC; in kvm_map_page()
856 prot_bits |= _CACHE_SUC; in kvm_map_page()
859 prot_bits = kvm_pte_mkwriteable(prot_bits); in kvm_map_page()
861 prot_bits = kvm_pte_mkdirty(prot_bits); in kvm_map_page()
888 new_pte = kvm_pfn_pte(pfn, __pgprot(prot_bits)); in kvm_map_page()
907 if (kvm_pte_dirty(prot_bits)) in kvm_map_page()
/linux/tools/testing/selftests/kvm/lib/loongarch/
H A Dprocessor.c120 uint32_t prot_bits; in virt_arch_pg_map() local
138 prot_bits = _PAGE_PRESENT | __READABLE | __WRITEABLE | _CACHE_CC | _PAGE_USER; in virt_arch_pg_map()
139 WRITE_ONCE(*ptep, paddr | prot_bits); in virt_arch_pg_map()
/linux/fs/ocfs2/
H A Docfs1_fs_compat.h55 __u32 prot_bits; member
/linux/arch/riscv/mm/
H A Dptdump.c129 struct prot_bits { struct
135 static const struct prot_bits pte_bits[] = { argument