Home
last modified time | relevance | path

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

123

/Linux-v4.19/drivers/staging/android/ion/
Dion_heap.c25 pgprot_t pgprot; in ion_heap_map_kernel() local
98 static int ion_heap_clear_pages(struct page **pages, int num, pgprot_t pgprot) in ion_heap_clear_pages()
111 pgprot_t pgprot) in ion_heap_sglist_zero()
136 pgprot_t pgprot; in ion_heap_buffer_zero() local
146 int ion_heap_pages_zero(struct page *page, size_t size, pgprot_t pgprot) in ion_heap_pages_zero()
/Linux-v4.19/include/linux/
Dpfn_t.h85 static inline pte_t pfn_t_pte(pfn_t pfn, pgprot_t pgprot) in pfn_t_pte()
92 static inline pmd_t pfn_t_pmd(pfn_t pfn, pgprot_t pgprot) in pfn_t_pmd()
98 static inline pud_t pfn_t_pud(pfn_t pfn, pgprot_t pgprot) in pfn_t_pud()
/Linux-v4.19/arch/x86/include/asm/
Dpgtable_types.h266 typedef struct pgprot { pgprotval_t pgprot; } pgprot_t; struct
478 static inline enum page_cache_mode pgprot2cachemode(pgprot_t pgprot) in pgprot2cachemode()
487 static inline pgprot_t pgprot_4k_2_large(pgprot_t pgprot) in pgprot_4k_2_large()
496 static inline pgprot_t pgprot_large_2_4k(pgprot_t pgprot) in pgprot_large_2_4k()
Dpgtable.h522 static inline pgprotval_t massage_pgprot(pgprot_t pgprot) in massage_pgprot()
532 static inline pgprotval_t check_pgprot(pgprot_t pgprot) in check_pgprot()
549 static inline pte_t pfn_pte(unsigned long page_nr, pgprot_t pgprot) in pfn_pte()
557 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd()
565 static inline pud_t pfn_pud(unsigned long page_nr, pgprot_t pgprot) in pfn_pud()
805 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot)) argument
1135 #define mk_pmd(page, pgprot) pfn_pmd(page_to_pfn(page), (pgprot)) argument
/Linux-v4.19/arch/powerpc/mm/
Dpgtable-book3s64.c119 static pmd_t pmd_set_protbits(pmd_t pmd, pgprot_t pgprot) in pmd_set_protbits()
124 pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot) in pfn_pmd()
132 pmd_t mk_pmd(struct page *page, pgprot_t pgprot) in mk_pmd()
/Linux-v4.19/arch/um/include/asm/
Dpgtable-3level.h102 static inline pte_t pfn_pte(unsigned long page_nr, pgprot_t pgprot) in pfn_pte()
111 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd()
/Linux-v4.19/arch/sh/include/asm/
Dpage.h79 typedef struct { unsigned long long pgprot; } pgprot_t; member
87 typedef struct { unsigned long pgprot; } pgprot_t; member
93 typedef struct { unsigned long long pgprot; } pgprot_t; member
Dpgtable_64.h279 #define mk_pte(page,pgprot) \ argument
292 #define mk_pte_phys(physpage, pgprot) \ argument
/Linux-v4.19/arch/powerpc/include/asm/
Dpgtable.h29 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot)) argument
/Linux-v4.19/arch/parisc/mm/
Dioremap.c33 pgprot_t pgprot; in __ioremap() local
/Linux-v4.19/arch/sh/mm/
Dioremap.c39 pgprot_t pgprot, void *caller) in __ioremap_caller()
/Linux-v4.19/include/asm-generic/
Dhugetlb.h5 static inline pte_t mk_huge_pte(struct page *page, pgprot_t pgprot) in mk_huge_pte()
/Linux-v4.19/arch/sparc/include/asm/
Dpgtable_32.h284 static inline pte_t mk_pte(struct page *page, pgprot_t pgprot) in mk_pte()
289 static inline pte_t mk_pte_phys(unsigned long page, pgprot_t pgprot) in mk_pte_phys()
294 static inline pte_t mk_pte_io(unsigned long page, pgprot_t pgprot, int space) in mk_pte_io()
/Linux-v4.19/arch/m68k/kernel/
Ddma.c26 pgprot_t pgprot; in arch_dma_alloc() local
/Linux-v4.19/arch/nios2/mm/
Dioremap.c28 pgprot_t pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_READ in remap_area_pte() local
/Linux-v4.19/arch/openrisc/include/asm/
Dpgtable.h317 static inline pte_t __mk_pte(void *page, pgprot_t pgprot) in __mk_pte()
325 #define mk_pte(page, pgprot) __mk_pte(page_address(page), (pgprot)) argument
327 #define mk_pte_phys(physpage, pgprot) \ argument
/Linux-v4.19/arch/m68k/include/asm/
Dpage.h27 typedef struct { unsigned long pgprot; } pgprot_t; member
Dsun3_pgtable.h103 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot)) argument
131 #define pfn_pte(pfn, pgprot) \ argument
/Linux-v4.19/arch/arm64/include/asm/
Dpgtable-types.h53 typedef struct { pteval_t pgprot; } pgprot_t; member
/Linux-v4.19/arch/s390/include/asm/
Dpgtable.h1149 static inline pte_t mk_pte_phys(unsigned long physpage, pgprot_t pgprot) in mk_pte_phys()
1156 static inline pte_t mk_pte(struct page *page, pgprot_t pgprot) in mk_pte()
1207 #define pfn_pte(pfn,pgprot) mk_pte_phys(__pa((pfn) << PAGE_SHIFT),(pgprot)) argument
1294 static inline unsigned long massage_pgprot_pmd(pgprot_t pgprot) in massage_pgprot_pmd()
1348 static inline pmd_t mk_pmd_phys(unsigned long physpage, pgprot_t pgprot) in mk_pmd_phys()
1540 #define pfn_pmd(pfn, pgprot) mk_pmd_phys(__pa((pfn) << PAGE_SHIFT), (pgprot)) argument
1541 #define mk_pmd(page, pgprot) pfn_pmd(page_to_pfn(page), (pgprot)) argument
Dhugetlb.h79 static inline pte_t mk_huge_pte(struct page *page, pgprot_t pgprot) in mk_huge_pte()
/Linux-v4.19/arch/alpha/include/asm/
Dmmzone.h79 #define mk_pte(page, pgprot) \ argument
/Linux-v4.19/arch/mips/mm/
Dioremap.c26 pgprot_t pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | __READABLE in remap_area_pte() local
/Linux-v4.19/arch/arm/include/asm/
Dpgtable-2level-types.h36 typedef struct { pteval_t pgprot; } pgprot_t; member
/Linux-v4.19/arch/hexagon/include/asm/
Dpgtable.h308 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot)) argument
408 #define pfn_pte(pfn, pgprot) __pte((pfn << PAGE_SHIFT) | pgprot_val(pgprot)) argument

123