/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 | 538 static inline pgprotval_t massage_pgprot(pgprot_t pgprot) in massage_pgprot() argument 540 pgprotval_t protval = pgprot_val(pgprot); in massage_pgprot() 548 static inline pgprotval_t check_pgprot(pgprot_t pgprot) in check_pgprot() argument 550 pgprotval_t massaged_val = massage_pgprot(pgprot); in check_pgprot() 554 WARN_ONCE(pgprot_val(pgprot) != massaged_val, in check_pgprot() 557 (u64)pgprot_val(pgprot), in check_pgprot() 558 (u64)pgprot_val(pgprot) ^ massaged_val, in check_pgprot() 565 static inline pte_t pfn_pte(unsigned long page_nr, pgprot_t pgprot) in pfn_pte() argument 568 pfn ^= protnone_mask(pgprot_val(pgprot)); in pfn_pte() 570 return __pte(pfn | check_pgprot(pgprot)); in pfn_pte() [all …]
|
D | pgtable_types.h | 265 typedef struct pgprot { pgprotval_t pgprot; } pgprot_t; argument 452 #define pgprot_val(x) ((x).pgprot) 477 static inline enum page_cache_mode pgprot2cachemode(pgprot_t pgprot) in pgprot2cachemode() argument 481 masked = pgprot_val(pgprot) & _PAGE_CACHE_MASK; in pgprot2cachemode() 486 static inline pgprot_t pgprot_4k_2_large(pgprot_t pgprot) in pgprot_4k_2_large() argument 488 pgprotval_t val = pgprot_val(pgprot); in pgprot_4k_2_large() 495 static inline pgprot_t pgprot_large_2_4k(pgprot_t pgprot) in pgprot_large_2_4k() argument 497 pgprotval_t val = pgprot_val(pgprot); in pgprot_large_2_4k()
|
/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/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/unicore32/include/asm/ |
D | page.h | 36 typedef struct { unsigned long pgprot; } pgprot_t; member 40 #define pgprot_val(x) ((x).pgprot)
|
/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/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/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/arc/include/asm/ |
D | page.h | 41 unsigned long pgprot; member 46 #define pgprot_val(x) ((x).pgprot)
|
/arch/s390/include/asm/ |
D | pgtable.h | 1188 static inline pte_t mk_pte_phys(unsigned long physpage, pgprot_t pgprot) in mk_pte_phys() argument 1191 pte_val(__pte) = physpage + pgprot_val(pgprot); in mk_pte_phys() 1197 static inline pte_t mk_pte(struct page *page, pgprot_t pgprot) in mk_pte() argument 1200 pte_t __pte = mk_pte_phys(physpage, 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() argument 1369 if (pgprot_val(pgprot) == pgprot_val(PAGE_NONE)) in massage_pgprot_pmd() 1371 if (pgprot_val(pgprot) == pgprot_val(PAGE_RO)) in massage_pgprot_pmd() 1373 if (pgprot_val(pgprot) == pgprot_val(PAGE_RX)) in massage_pgprot_pmd() 1375 if (pgprot_val(pgprot) == pgprot_val(PAGE_RW)) in massage_pgprot_pmd() [all …]
|
/arch/hexagon/include/asm/ |
D | page.h | 71 typedef struct { unsigned long pgprot; } pgprot_t; member 76 #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); \
|