| /linux/mm/ |
| H A D | execmem.c | 29 pgprot_t pgprot, unsigned long vm_flags) in execmem_vmalloc() argument 42 pgprot, vm_flags, NUMA_NO_NODE, in execmem_vmalloc() 48 pgprot, vm_flags, NUMA_NO_NODE, in execmem_vmalloc() 82 pgprot_t pgprot, unsigned long vm_flags) in execmem_vmalloc() argument 466 pgprot_t pgprot = range->pgprot; in execmem_alloc() local 474 p = execmem_vmalloc(range, size, pgprot, vm_flags); in execmem_alloc() 515 if (!r->alignment || !r->start || !r->end || !pgprot_val(r->pgprot)) { in execmem_validate() 543 r->pgprot = PAGE_KERNEL; in execmem_init_missing() 545 r->pgprot = default_range->pgprot; in execmem_init_missing() 569 info->ranges[EXECMEM_DEFAULT].pgprot = PAGE_KERNEL_EXEC; in __execmem_init()
|
| H A D | memremap.c | 189 ¶ms->pgprot); in pagemap_range() 271 .pgprot = PAGE_KERNEL, in memremap_pages() 312 params.pgprot = pgprot_decrypted(params.pgprot); in memremap_pages() 317 params.pgprot = pgprot_noncached(params.pgprot); in memremap_pages()
|
| H A D | hugetlb_vmemmap.c | 68 pgprot_t pgprot = PAGE_KERNEL; in vmemmap_split_pmd() local 70 entry = mk_pte(head + i, pgprot); in vmemmap_split_pmd() 215 pgprot_t pgprot = PAGE_KERNEL_RO; in vmemmap_remap_pte() local 221 pgprot = PAGE_KERNEL; in vmemmap_remap_pte() 232 entry = mk_pte(walk->reuse_page, pgprot); in vmemmap_remap_pte() 259 pgprot_t pgprot = PAGE_KERNEL; in vmemmap_restore_pte() local 276 set_pte_at(&init_mm, addr, pte, mk_pte(page, pgprot)); in vmemmap_restore_pte()
|
| /linux/arch/sparc/include/asm/ |
| H A D | pgtable_32.h | 259 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot) in pfn_pte() argument 261 return __pte((pfn << PFN_PTE_SHIFT) | pgprot_val(pgprot)); in pfn_pte() 279 static inline pte_t mk_pte_phys(unsigned long page, pgprot_t pgprot) in mk_pte_phys() argument 281 return __pte(((page) >> 4) | pgprot_val(pgprot)); in mk_pte_phys() 284 static inline pte_t mk_pte_io(unsigned long page, pgprot_t pgprot, int space) in mk_pte_io() argument 286 return __pte(((page) >> 4) | (space << 28) | pgprot_val(pgprot)); in mk_pte_io()
|
| /linux/tools/testing/vma/ |
| H A D | vma_internal.h | 51 typedef struct pgprot { pgprotval_t pgprot; } pgprot_t; argument
|
| /linux/arch/sh/include/asm/ |
| H A D | page.h | 64 typedef struct { unsigned long long pgprot; } pgprot_t; member 72 typedef struct { unsigned long pgprot; } pgprot_t; member 79 #define pgprot_val(x) ((x).pgprot)
|
| /linux/arch/m68k/include/asm/ |
| H A D | page.h | 26 typedef struct { unsigned long pgprot; } pgprot_t; member 41 #define pgprot_val(x) ((x).pgprot)
|
| H A D | sun3_pgtable.h | 104 #define pfn_pte(pfn, pgprot) \ argument 105 ({ pte_t __pte; pte_val(__pte) = pfn | pgprot_val(pgprot); __pte; })
|
| /linux/arch/arm/include/asm/ |
| H A D | pgtable-2level-types.h | 24 typedef struct { pteval_t pgprot; } pgprot_t; member 29 #define pgprot_val(x) ((x).pgprot)
|
| H A D | pgtable-3level-types.h | 27 typedef struct { pteval_t pgprot; } pgprot_t; member 32 #define pgprot_val(x) ((x).pgprot)
|
| /linux/arch/arm64/include/asm/ |
| H A D | pgtable-types.h | 57 typedef struct { ptdesc_t pgprot; } pgprot_t; member 58 #define pgprot_val(x) ((x).pgprot)
|
| /linux/arch/powerpc/mm/ |
| H A D | mem.c | 83 params->pgprot); in arch_create_linear_mapping() 419 .pgprot = prot, in execmem_arch_setup() 427 .pgprot = kprobes_prot, in execmem_arch_setup() 433 .pgprot = PAGE_KERNEL, in execmem_arch_setup()
|
| /linux/arch/openrisc/include/asm/ |
| H A D | pgtable.h | 277 static inline pte_t __mk_pte(void *page, pgprot_t pgprot) in __mk_pte() argument 281 pte_val(pte) = __pa(page) | pgprot_val(pgprot); in __mk_pte() 285 #define mk_pte_phys(physpage, pgprot) \ argument 289 pte_val(__pte) = (physpage) + pgprot_val(pgprot); \
|
| /linux/arch/powerpc/include/asm/ |
| H A D | pgtable-types.h | 70 typedef struct { unsigned long pgprot; } pgprot_t; member 71 #define pgprot_val(x) ((x).pgprot)
|
| H A D | pgtable-be-types.h | 67 typedef struct { unsigned long pgprot; } pgprot_t; member 68 #define pgprot_val(x) ((x).pgprot)
|
| /linux/arch/csky/include/asm/ |
| H A D | page.h | 52 typedef struct { unsigned long pgprot; } pgprot_t; member 56 #define pgprot_val(x) ((x).pgprot)
|
| H A D | pgtable.h | 46 #define __mk_pte(page_nr, pgprot) __pte(((page_nr) << PAGE_SHIFT) | \ argument 47 pgprot_val(pgprot))
|
| /linux/arch/um/include/asm/ |
| H A D | pgtable-4level.h | 105 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() argument 107 return __pmd((page_nr << PAGE_SHIFT) | pgprot_val(pgprot)); in pfn_pmd()
|
| /linux/arch/nios2/mm/ |
| H A D | ioremap.c | 28 pgprot_t pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_READ in remap_area_pte() local 43 set_pte(pte, pfn_pte(pfn, pgprot)); in remap_area_pte()
|
| /linux/arch/parisc/include/asm/ |
| H A D | pgtable.h | 341 #define __mk_pte(addr,pgprot) \ argument 345 pte_val(__pte) = ((((addr)>>PAGE_SHIFT)<<PFN_PTE_SHIFT) + pgprot_val(pgprot)); \ 350 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot) in pfn_pte() argument 353 pte_val(pte) = (pfn << PFN_PTE_SHIFT) | pgprot_val(pgprot); in pfn_pte()
|
| /linux/arch/sparc/mm/ |
| H A D | execmem.c | 14 .pgprot = PAGE_KERNEL, in execmem_arch_setup()
|
| /linux/arch/hexagon/include/asm/ |
| H A D | pgtable.h | 340 #define pfn_pte(pfn, pgprot) __pte((pfn << PAGE_SHIFT) | pgprot_val(pgprot)) argument
|
| /linux/arch/x86/include/asm/ |
| H A D | memtype.h | 27 enum page_cache_mode pgprot2cachemode(pgprot_t pgprot);
|
| /linux/arch/x86/include/asm/xen/ |
| H A D | page.h | 314 static inline pte_t mfn_pte(unsigned long page_nr, pgprot_t pgprot) in mfn_pte() argument 319 massage_pgprot(pgprot); in mfn_pte()
|
| /linux/include/linux/ |
| H A D | execmem.h | 102 pgprot_t pgprot; member
|