Home
last modified time | relevance | path

Searched defs:pgprot (Results 1 – 25 of 67) sorted by relevance

123

/openbmc/linux/include/linux/
H A Dpfn_t.h80 static inline pte_t pfn_t_pte(pfn_t pfn, pgprot_t pgprot) in pfn_t_pte()
87 static inline pmd_t pfn_t_pmd(pfn_t pfn, pgprot_t pgprot) in pfn_t_pmd()
93 static inline pud_t pfn_t_pud(pfn_t pfn, pgprot_t pgprot) in pfn_t_pud()
/openbmc/linux/arch/powerpc/mm/book3s64/
H A Dpgtable.c216 static pmd_t pmd_set_protbits(pmd_t pmd, pgprot_t pgprot) in pmd_set_protbits()
221 static pud_t pud_set_protbits(pud_t pud, pgprot_t pgprot) in pud_set_protbits()
231 pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot) in pfn_pmd()
240 pud_t pfn_pud(unsigned long pfn, pgprot_t pgprot) in pfn_pud()
249 pmd_t mk_pmd(struct page *page, pgprot_t pgprot) in mk_pmd()
/openbmc/linux/arch/um/include/asm/
H A Dpgtable-3level.h85 static inline pte_t pfn_pte(unsigned long page_nr, pgprot_t pgprot) in pfn_pte()
94 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd()
/openbmc/linux/mm/
H A Dhugetlb_vmemmap.c62 pgprot_t pgprot = PAGE_KERNEL; in split_vmemmap_huge_pmd() local
235 pgprot_t pgprot = PAGE_KERNEL_RO; in vmemmap_remap_pte() local
279 pgprot_t pgprot = PAGE_KERNEL; in vmemmap_restore_pte() local
/openbmc/linux/arch/x86/include/asm/
H A Dpgtable_types.h297 typedef struct pgprot { pgprotval_t pgprot; } pgprot_t; member
504 static inline pgprot_t pgprot_4k_2_large(pgprot_t pgprot) in pgprot_4k_2_large()
514 static inline pgprot_t pgprot_large_2_4k(pgprot_t pgprot) in pgprot_large_2_4k()
H A Dpgtable.h720 static inline pgprotval_t massage_pgprot(pgprot_t pgprot) in massage_pgprot()
730 static inline pgprotval_t check_pgprot(pgprot_t pgprot) in check_pgprot()
747 static inline pte_t pfn_pte(unsigned long page_nr, pgprot_t pgprot) in pfn_pte()
755 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd()
763 static inline pud_t pfn_pud(unsigned long page_nr, pgprot_t pgprot) in pfn_pud()
1030 #define mk_pte(page, pgprot) \ argument
1311 #define mk_pmd(page, pgprot) pfn_pmd(page_to_pfn(page), (pgprot)) argument
/openbmc/linux/arch/sh/mm/
H A Dioremap.c79 pgprot_t pgprot = __pgprot(prot); in ioremap_prot() local
/openbmc/linux/arch/openrisc/include/asm/
H A Dpgtable.h294 static inline pte_t __mk_pte(void *page, pgprot_t pgprot) in __mk_pte()
302 #define mk_pte(page, pgprot) __mk_pte(page_address(page), (pgprot)) argument
304 #define mk_pte_phys(physpage, pgprot) \ argument
H A Dpage.h55 unsigned long pgprot; member
/openbmc/linux/arch/sparc/include/asm/
H A Dpgtable_32.h279 static inline pte_t mk_pte(struct page *page, pgprot_t pgprot) in mk_pte()
284 static inline pte_t mk_pte_phys(unsigned long page, pgprot_t pgprot) in mk_pte_phys()
289 static inline pte_t mk_pte_io(unsigned long page, pgprot_t pgprot, int space) in mk_pte_io()
/openbmc/linux/arch/m68k/include/asm/
H A Dsun3_pgtable.h83 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot)) argument
110 #define pfn_pte(pfn, pgprot) \ argument
H A Dpage.h32 typedef struct { unsigned long pgprot; } pgprot_t; member
/openbmc/linux/arch/sh/include/asm/
H A Dpage.h77 typedef struct { unsigned long long pgprot; } pgprot_t; member
85 typedef struct { unsigned long pgprot; } pgprot_t; member
/openbmc/linux/arch/hexagon/include/asm/
H A Dpgtable.h242 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot)) argument
343 #define pfn_pte(pfn, pgprot) __pte((pfn << PAGE_SHIFT) | pgprot_val(pgprot)) argument
/openbmc/linux/arch/csky/include/asm/
H A Dpgtable.h46 #define __mk_pte(page_nr, pgprot) __pte(((page_nr) << PAGE_SHIFT) | \ argument
256 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot)) argument
/openbmc/linux/arch/nios2/mm/
H A Dioremap.c28 pgprot_t pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_READ in remap_area_pte() local
/openbmc/linux/arch/arm64/include/asm/
H A Dpgtable-types.h43 typedef struct { pteval_t pgprot; } pgprot_t; member
/openbmc/linux/arch/arm/include/asm/
H A Dpgtable-2level-types.h24 typedef struct { pteval_t pgprot; } pgprot_t; member
H A Dpgtable-3level-types.h27 typedef struct { pteval_t pgprot; } pgprot_t; member
/openbmc/linux/arch/nios2/include/asm/
H A Dpage.h63 typedef struct { unsigned long pgprot; } pgprot_t; member
/openbmc/linux/arch/s390/include/asm/
H A Dpgtable.h1361 static inline pte_t mk_pte_phys(unsigned long physpage, pgprot_t pgprot) in mk_pte_phys()
1371 static inline pte_t mk_pte(struct page *page, pgprot_t pgprot) in mk_pte()
1496 #define pfn_pte(pfn, pgprot) mk_pte_phys(((pfn) << PAGE_SHIFT), (pgprot)) argument
1562 static inline unsigned long massage_pgprot_pmd(pgprot_t pgprot) in massage_pgprot_pmd()
1611 static inline pmd_t mk_pmd_phys(unsigned long physpage, pgprot_t pgprot) in mk_pmd_phys()
1802 #define pfn_pmd(pfn, pgprot) mk_pmd_phys(((pfn) << PAGE_SHIFT), (pgprot)) argument
1803 #define mk_pmd(page, pgprot) pfn_pmd(page_to_pfn(page), (pgprot)) argument
H A Dhugetlb.h82 static inline pte_t mk_huge_pte(struct page *page, pgprot_t pgprot) in mk_huge_pte()
/openbmc/linux/arch/powerpc/include/asm/
H A Dpgtable.h56 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot)) argument
/openbmc/linux/arch/ia64/include/asm/
H A Dpgtable.h214 #define pfn_pte(pfn, pgprot) \ argument
220 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot)) argument
223 #define mk_pte_phys(physpage, pgprot) \ argument
/openbmc/linux/arch/parisc/include/asm/
H A Dpgtable.h345 #define __mk_pte(addr,pgprot) \ argument
354 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot)) argument
356 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot) in pfn_pte()

123