Home
last modified time | relevance | path

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

123

/Linux-v5.4/drivers/staging/android/ion/
Dion_heap.c26 pgprot_t pgprot; in ion_heap_map_kernel() local
100 static int ion_heap_clear_pages(struct page **pages, int num, pgprot_t pgprot) in ion_heap_clear_pages()
113 pgprot_t pgprot) in ion_heap_sglist_zero()
138 pgprot_t pgprot; in ion_heap_buffer_zero() local
148 int ion_heap_pages_zero(struct page *page, size_t size, pgprot_t pgprot) in ion_heap_pages_zero()
/Linux-v5.4/include/linux/
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()
/Linux-v5.4/arch/x86/include/asm/
Dpgtable_types.h265 typedef struct pgprot { pgprotval_t pgprot; } pgprot_t; struct
477 static inline enum page_cache_mode pgprot2cachemode(pgprot_t pgprot) in pgprot2cachemode()
486 static inline pgprot_t pgprot_4k_2_large(pgprot_t pgprot) in pgprot_4k_2_large()
495 static inline pgprot_t pgprot_large_2_4k(pgprot_t pgprot) in pgprot_large_2_4k()
Dpgtable.h538 static inline pgprotval_t massage_pgprot(pgprot_t pgprot) in massage_pgprot()
548 static inline pgprotval_t check_pgprot(pgprot_t pgprot) in check_pgprot()
565 static inline pte_t pfn_pte(unsigned long page_nr, pgprot_t pgprot) in pfn_pte()
573 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd()
581 static inline pud_t pfn_pud(unsigned long page_nr, pgprot_t pgprot) in pfn_pud()
821 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot)) argument
1154 #define mk_pmd(page, pgprot) pfn_pmd(page_to_pfn(page), (pgprot)) argument
/Linux-v5.4/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-v5.4/arch/powerpc/mm/book3s64/
Dpgtable.c123 static pmd_t pmd_set_protbits(pmd_t pmd, pgprot_t pgprot) in pmd_set_protbits()
128 pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot) in pfn_pmd()
136 pmd_t mk_pmd(struct page *page, pgprot_t pgprot) in mk_pmd()
/Linux-v5.4/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.h276 #define mk_pte(page,pgprot) \ argument
289 #define mk_pte_phys(physpage, pgprot) \ argument
/Linux-v5.4/arch/parisc/mm/
Dioremap.c33 pgprot_t pgprot; in __ioremap() local
/Linux-v5.4/arch/sh/mm/
Dioremap.c39 pgprot_t pgprot, void *caller) in __ioremap_caller()
/Linux-v5.4/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-v5.4/arch/openrisc/include/asm/
Dpgtable.h313 static inline pte_t __mk_pte(void *page, pgprot_t pgprot) in __mk_pte()
321 #define mk_pte(page, pgprot) __mk_pte(page_address(page), (pgprot)) argument
323 #define mk_pte_phys(physpage, pgprot) \ argument
/Linux-v5.4/arch/nios2/mm/
Dioremap.c28 pgprot_t pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_READ in remap_area_pte() local
/Linux-v5.4/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-v5.4/arch/arm64/include/asm/
Dpgtable-types.h42 typedef struct { pteval_t pgprot; } pgprot_t; member
/Linux-v5.4/arch/s390/include/asm/
Dpgtable.h1190 static inline pte_t mk_pte_phys(unsigned long physpage, pgprot_t pgprot) in mk_pte_phys()
1197 static inline pte_t mk_pte(struct page *page, pgprot_t pgprot) in mk_pte()
1281 #define pfn_pte(pfn,pgprot) mk_pte_phys(__pa((pfn) << PAGE_SHIFT),(pgprot)) argument
1363 static inline unsigned long massage_pgprot_pmd(pgprot_t pgprot) in massage_pgprot_pmd()
1417 static inline pmd_t mk_pmd_phys(unsigned long physpage, pgprot_t pgprot) in mk_pmd_phys()
1609 #define pfn_pmd(pfn, pgprot) mk_pmd_phys(__pa((pfn) << PAGE_SHIFT), (pgprot)) argument
1610 #define mk_pmd(page, pgprot) pfn_pmd(page_to_pfn(page), (pgprot)) argument
Dhugetlb.h84 static inline pte_t mk_huge_pte(struct page *page, pgprot_t pgprot) in mk_huge_pte()
/Linux-v5.4/arch/mips/mm/
Dioremap.c26 pgprot_t pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | __READABLE in remap_area_pte() local
/Linux-v5.4/arch/alpha/include/asm/
Dmmzone.h79 #define mk_pte(page, pgprot) \ argument
/Linux-v5.4/arch/arm/include/asm/
Dpgtable-2level-types.h24 typedef struct { pteval_t pgprot; } pgprot_t; member
Dpgtable-3level-types.h27 typedef struct { pteval_t pgprot; } pgprot_t; member
/Linux-v5.4/arch/nios2/include/asm/
Dpage.h63 typedef struct { unsigned long pgprot; } pgprot_t; member
/Linux-v5.4/arch/hexagon/include/asm/
Dpgtable.h295 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot)) argument
395 #define pfn_pte(pfn, pgprot) __pte((pfn << PAGE_SHIFT) | pgprot_val(pgprot)) argument
/Linux-v5.4/arch/unicore32/include/asm/
Dpage.h36 typedef struct { unsigned long pgprot; } pgprot_t; member

123