/arch/sh/mm/ |
D | ioremap.c | 39 pgprot_t pgprot, void *caller) in __ioremap_caller() argument 54 return ioremap_fixed(phys_addr, size, pgprot); in __ioremap_caller() 60 mapped = pmb_remap_caller(phys_addr, size, pgprot, caller); in __ioremap_caller() 80 if (ioremap_page_range(addr, addr + size, phys_addr, pgprot)) { in __ioremap_caller()
|
/arch/um/include/asm/ |
D | pgtable-3level.h | 102 static inline pte_t pfn_pte(unsigned long page_nr, pgprot_t pgprot) in pfn_pte() argument 107 pte_set_val(pte, phys, pgprot); in pfn_pte() 111 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() argument 113 return __pmd((page_nr << PAGE_SHIFT) | pgprot_val(pgprot)); in pfn_pmd()
|
/arch/parisc/mm/ |
D | ioremap.c | 33 pgprot_t pgprot; in __ioremap() local 67 pgprot = __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | in __ioremap() 86 phys_addr, pgprot)) { in __ioremap()
|
/arch/arm64/include/asm/ |
D | pgtable-types.h | 42 typedef struct { pteval_t pgprot; } pgprot_t; member 43 #define pgprot_val(x) ((x).pgprot)
|
/arch/sh/include/asm/ |
D | page.h | 79 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 100 #define pgprot_val(x) ((x).pgprot)
|
D | pgtable_64.h | 203 #define pgprot_noncached(x) __pgprot(((x).pgprot & ~(_PAGE_CACHABLE)) | _PAGE_DEVICE) 276 #define mk_pte(page,pgprot) \ argument 281 __MEMORY_START | pgprot_val((pgprot)))); \ 289 #define mk_pte_phys(physpage, pgprot) \ argument 290 ({ pte_t __pte; set_pte(&__pte, __pte(physpage | pgprot_val(pgprot))); __pte; })
|
/arch/x86/include/asm/ |
D | pgtable.h | 539 static inline pgprotval_t massage_pgprot(pgprot_t pgprot) in massage_pgprot() argument 541 pgprotval_t protval = pgprot_val(pgprot); in massage_pgprot() 549 static inline pgprotval_t check_pgprot(pgprot_t pgprot) in check_pgprot() argument 551 pgprotval_t massaged_val = massage_pgprot(pgprot); in check_pgprot() 555 WARN_ONCE(pgprot_val(pgprot) != massaged_val, in check_pgprot() 558 (u64)pgprot_val(pgprot), in check_pgprot() 559 (u64)pgprot_val(pgprot) ^ massaged_val, in check_pgprot() 566 static inline pte_t pfn_pte(unsigned long page_nr, pgprot_t pgprot) in pfn_pte() argument 569 pfn ^= protnone_mask(pgprot_val(pgprot)); in pfn_pte() 571 return __pte(pfn | check_pgprot(pgprot)); in pfn_pte() [all …]
|
D | pgtable_types.h | 266 typedef struct pgprot { pgprotval_t pgprot; } pgprot_t; member 453 #define pgprot_val(x) ((x).pgprot) 478 static inline enum page_cache_mode pgprot2cachemode(pgprot_t pgprot) in pgprot2cachemode() argument 482 masked = pgprot_val(pgprot) & _PAGE_CACHE_MASK; in pgprot2cachemode() 487 static inline pgprot_t pgprot_4k_2_large(pgprot_t pgprot) in pgprot_4k_2_large() argument 489 pgprotval_t val = pgprot_val(pgprot); in pgprot_4k_2_large() 496 static inline pgprot_t pgprot_large_2_4k(pgprot_t pgprot) in pgprot_large_2_4k() argument 498 pgprotval_t val = pgprot_val(pgprot); in pgprot_large_2_4k()
|
/arch/m68k/include/asm/ |
D | page.h | 27 typedef struct { unsigned long pgprot; } pgprot_t; member 33 #define pgprot_val(x) ((x).pgprot)
|
D | sun3_pgtable.h | 103 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot)) argument 131 #define pfn_pte(pfn, pgprot) \ argument 132 ({ pte_t __pte; pte_val(__pte) = pfn | pgprot_val(pgprot); __pte; })
|
/arch/arm/include/asm/ |
D | pgtable-2level-types.h | 24 typedef struct { pteval_t pgprot; } pgprot_t; member 29 #define pgprot_val(x) ((x).pgprot)
|
D | pgtable-3level-types.h | 27 typedef struct { pteval_t pgprot; } pgprot_t; member 32 #define pgprot_val(x) ((x).pgprot)
|
/arch/unicore32/include/asm/ |
D | page.h | 36 typedef struct { unsigned long pgprot; } pgprot_t; member 40 #define pgprot_val(x) ((x).pgprot)
|
/arch/powerpc/mm/book3s64/ |
D | pgtable.c | 123 static pmd_t pmd_set_protbits(pmd_t pmd, pgprot_t pgprot) in pmd_set_protbits() argument 125 return __pmd(pmd_val(pmd) | pgprot_val(pgprot)); in pmd_set_protbits() 128 pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot) in pfn_pmd() argument 133 return pmd_set_protbits(__pmd(pmdv), pgprot); in pfn_pmd() 136 pmd_t mk_pmd(struct page *page, pgprot_t pgprot) in mk_pmd() argument 138 return pfn_pmd(page_to_pfn(page), pgprot); in mk_pmd()
|
/arch/sparc/include/asm/ |
D | pgtable_32.h | 284 static inline pte_t mk_pte(struct page *page, pgprot_t pgprot) in mk_pte() argument 286 return __pte((page_to_pfn(page) << (PAGE_SHIFT-4)) | pgprot_val(pgprot)); in mk_pte() 289 static inline pte_t mk_pte_phys(unsigned long page, pgprot_t pgprot) in mk_pte_phys() argument 291 return __pte(((page) >> 4) | pgprot_val(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() argument 296 return __pte(((page) >> 4) | (space << 28) | pgprot_val(pgprot)); in mk_pte_io()
|
/arch/openrisc/include/asm/ |
D | pgtable.h | 313 static inline pte_t __mk_pte(void *page, pgprot_t pgprot) in __mk_pte() argument 317 pte_val(pte) = __pa(page) | pgprot_val(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 327 pte_val(__pte) = (physpage) + pgprot_val(pgprot); \
|
D | page.h | 55 unsigned long pgprot; member 61 #define pgprot_val(x) ((x).pgprot)
|
/arch/powerpc/include/asm/ |
D | pgtable-types.h | 44 typedef struct { unsigned long pgprot; } pgprot_t; member 45 #define pgprot_val(x) ((x).pgprot)
|
D | pgtable.h | 48 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot)) argument
|
/arch/nios2/include/asm/ |
D | page.h | 63 typedef struct { unsigned long pgprot; } pgprot_t; member 67 #define pgprot_val(x) ((x).pgprot)
|
/arch/alpha/include/asm/ |
D | page.h | 34 typedef struct { unsigned long pgprot; } pgprot_t; member 39 #define pgprot_val(x) ((x).pgprot)
|
D | mmzone.h | 79 #define mk_pte(page, pgprot) \ argument 85 pte_val(pte) = pfn | pgprot_val(pgprot); \
|
/arch/arc/include/asm/ |
D | page.h | 54 unsigned long pgprot; member 59 #define pgprot_val(x) ((x).pgprot)
|
/arch/hexagon/include/asm/ |
D | page.h | 71 typedef struct { unsigned long pgprot; } pgprot_t; member 76 #define pgprot_val(x) ((x).pgprot)
|
/arch/csky/include/asm/ |
D | page.h | 63 typedef struct { unsigned long pgprot; } pgprot_t; member 67 #define pgprot_val(x) ((x).pgprot)
|