Home
last modified time | relevance | path

Searched refs:pgprot (Results 1 – 25 of 44) sorted by relevance

12

/linux/mm/
H A Dexecmem.c29 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 Dmemremap.c189 &params->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 Dhugetlb_vmemmap.c68 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 Dpgtable_32.h259 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 Dvma_internal.h51 typedef struct pgprot { pgprotval_t pgprot; } pgprot_t; argument
/linux/arch/sh/include/asm/
H A Dpage.h64 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 Dpage.h26 typedef struct { unsigned long pgprot; } pgprot_t; member
41 #define pgprot_val(x) ((x).pgprot)
H A Dsun3_pgtable.h104 #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 Dpgtable-2level-types.h24 typedef struct { pteval_t pgprot; } pgprot_t; member
29 #define pgprot_val(x) ((x).pgprot)
H A Dpgtable-3level-types.h27 typedef struct { pteval_t pgprot; } pgprot_t; member
32 #define pgprot_val(x) ((x).pgprot)
/linux/arch/arm64/include/asm/
H A Dpgtable-types.h57 typedef struct { ptdesc_t pgprot; } pgprot_t; member
58 #define pgprot_val(x) ((x).pgprot)
/linux/arch/powerpc/mm/
H A Dmem.c83 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 Dpgtable.h277 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 Dpgtable-types.h70 typedef struct { unsigned long pgprot; } pgprot_t; member
71 #define pgprot_val(x) ((x).pgprot)
H A Dpgtable-be-types.h67 typedef struct { unsigned long pgprot; } pgprot_t; member
68 #define pgprot_val(x) ((x).pgprot)
/linux/arch/csky/include/asm/
H A Dpage.h52 typedef struct { unsigned long pgprot; } pgprot_t; member
56 #define pgprot_val(x) ((x).pgprot)
H A Dpgtable.h46 #define __mk_pte(page_nr, pgprot) __pte(((page_nr) << PAGE_SHIFT) | \ argument
47 pgprot_val(pgprot))
/linux/arch/um/include/asm/
H A Dpgtable-4level.h105 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 Dioremap.c28 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 Dpgtable.h341 #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 Dexecmem.c14 .pgprot = PAGE_KERNEL, in execmem_arch_setup()
/linux/arch/hexagon/include/asm/
H A Dpgtable.h340 #define pfn_pte(pfn, pgprot) __pte((pfn << PAGE_SHIFT) | pgprot_val(pgprot)) argument
/linux/arch/x86/include/asm/
H A Dmemtype.h27 enum page_cache_mode pgprot2cachemode(pgprot_t pgprot);
/linux/arch/x86/include/asm/xen/
H A Dpage.h314 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 Dexecmem.h102 pgprot_t pgprot; member

12