Home
last modified time | relevance | path

Searched refs:pgprot_t (Results 1 – 25 of 184) sorted by relevance

12345678

/linux-3.4.99/arch/sh/include/asm/
Dmmu.h62 unsigned long size, pgprot_t prot);
64 pgprot_t prot, void *caller);
71 unsigned long size, pgprot_t prot) in pmb_bolt_mapping()
78 pgprot_t prot, void *caller) in pmb_remap_caller()
99 pmb_remap(phys_addr_t phys, unsigned long size, pgprot_t prot) in pmb_remap()
Dpage.h77 typedef struct { unsigned long long pgprot; } pgprot_t; typedef
85 typedef struct { unsigned long pgprot; } pgprot_t; typedef
91 typedef struct { unsigned long long pgprot; } pgprot_t; typedef
101 #define __pgprot(x) ((pgprot_t) { (x) } )
/linux-3.4.99/include/linux/
Dvmalloc.h43 int node, pgprot_t prot);
62 extern void *__vmalloc(unsigned long size, gfp_t gfp_mask, pgprot_t prot);
65 pgprot_t prot, int node, void *caller);
69 unsigned long flags, pgprot_t prot);
97 extern int map_vm_area(struct vm_struct *area, pgprot_t prot,
101 pgprot_t prot, struct page **pages);
107 pgprot_t prot, struct page **pages) in map_kernel_range_noflush()
/linux-3.4.99/lib/
Dioremap.c17 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pte_range()
35 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pmd_range()
53 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pud_range()
71 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_page_range()
/linux-3.4.99/arch/arm/include/asm/
Dpgtable-2level-types.h36 typedef struct { pteval_t pgprot; } pgprot_t; typedef
45 #define __pgprot(x) ((pgprot_t) { (x) } )
54 typedef pteval_t pgprot_t; typedef
Dpgtable-3level-types.h39 typedef struct { pteval_t pgprot; } pgprot_t; typedef
49 #define __pgprot(x) ((pgprot_t) { (x) } )
56 typedef pteval_t pgprot_t; typedef
/linux-3.4.99/arch/mips/include/asm/
Dpgtable.h333 static inline pgprot_t pgprot_noncached(pgprot_t _prot) in pgprot_noncached()
349 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
358 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
381 …uct vm_area_struct *vma, unsigned long from, unsigned long pfn, unsigned long size, pgprot_t prot);
387 pgprot_t prot) in io_remap_pfn_range()
406 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
407 unsigned long size, pgprot_t vma_prot);
409 unsigned long size, pgprot_t *vma_prot);
/linux-3.4.99/arch/unicore32/include/asm/
Dpage.h39 typedef struct { unsigned long pgprot; } pgprot_t; typedef
47 #define __pgprot(x) ((pgprot_t) { (x) })
55 typedef unsigned long pgprot_t; typedef
/linux-3.4.99/arch/sparc/include/asm/
Dpgtable_32.h65 extern pgprot_t PAGE_SHARED;
267 BTFIXUPDEF_CALL_CONST(pte_t, mk_pte, struct page *, pgprot_t)
269 BTFIXUPDEF_CALL_CONST(pte_t, mk_pte_phys, unsigned long, pgprot_t)
270 BTFIXUPDEF_CALL_CONST(pte_t, mk_pte_io, unsigned long, pgprot_t, int)
271 BTFIXUPDEF_CALL_CONST(pgprot_t, pgprot_noncached, pgprot_t)
281 static pte_t pte_modify(pte_t pte, pgprot_t newprot) __attribute_const__;
282 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
443 unsigned long, pgprot_t);
447 unsigned long size, pgprot_t prot) in io_remap_pfn_range()
Dpgtable_64.h205 extern pte_t mk_pte_io(unsigned long, pgprot_t, int, unsigned long);
209 extern pgprot_t PAGE_KERNEL;
210 extern pgprot_t PAGE_KERNEL_LOCKED;
211 extern pgprot_t PAGE_COPY;
212 extern pgprot_t PAGE_SHARED;
231 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t prot) in pfn_pte()
275 static inline pte_t pte_modify(pte_t pte, pgprot_t prot) in pte_modify()
334 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached()
768 unsigned long, pgprot_t);
772 unsigned long size, pgprot_t prot) in io_remap_pfn_range()
Dpage_64.h65 typedef struct { unsigned long pgprot; } pgprot_t; typedef
77 #define __pgprot(x) ((pgprot_t) { (x) } )
85 typedef unsigned long pgprot_t; typedef
Dpage_32.h67 typedef struct { unsigned long pgprot; } pgprot_t; typedef
83 #define __pgprot(x) ((pgprot_t) { (x) } )
95 typedef unsigned long pgprot_t; typedef
/linux-3.4.99/arch/x86/include/asm/
Dfixmap.h163 extern pgprot_t kmap_prot;
168 phys_addr_t phys, pgprot_t flags);
172 phys_addr_t phys, pgprot_t flags) in __set_fixmap()
225 __set_fixmap_offset(enum fixed_addresses idx, phys_addr_t phys, pgprot_t flags) in __set_fixmap_offset()
Dpgtable_types.h192 typedef struct pgprot { pgprotval_t pgprot; } pgprot_t; typedef
279 #define __pgprot(x) ((pgprot_t) { (x) } )
289 extern pgprot_t pgprot_writecombine(pgprot_t prot);
296 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
297 unsigned long size, pgprot_t vma_prot);
299 unsigned long size, pgprot_t *vma_prot);
Diomap.h30 iomap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot);
36 iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot);
Dhighmem.h63 void *kmap_atomic_prot(struct page *page, pgprot_t prot);
67 void *kmap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot);
/linux-3.4.99/arch/powerpc/include/asm/
Dpgtable.h38 static inline pgprot_t pte_pgprot(pte_t pte) { return __pgprot(pte_val(pte) & PAGE_PROT_BITS); } in pte_pgprot()
46 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot) { in pfn_pte()
73 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
179 extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
180 unsigned long size, pgprot_t vma_prot);
/linux-3.4.99/mm/
Dmprotect.c32 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify()
39 unsigned long addr, unsigned long end, pgprot_t newprot, in change_pte_range()
82 unsigned long addr, unsigned long end, pgprot_t newprot, in change_pmd_range()
106 unsigned long addr, unsigned long end, pgprot_t newprot, in change_pud_range()
123 unsigned long addr, unsigned long end, pgprot_t newprot, in change_protection()
/linux-3.4.99/arch/tile/include/asm/
Dpgtable.h44 extern pgprot_t swapper_pgprot;
162 (pgprot_t) { ((oldprot).val & ~_PAGE_ALL) | (newprot).val }
268 extern pgprot_t set_remote_cache_cpu(pgprot_t prot, int cpu);
269 extern int get_remote_cache_cpu(pgprot_t prot);
271 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t prot) in pfn_pte()
313 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
Dhighmem.h65 void *kmap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot);
67 void *kmap_atomic_prot(struct page *page, pgprot_t prot);
/linux-3.4.99/arch/x86/mm/
Diomap_32.c34 int iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot) in iomap_create_wc()
57 void *kmap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot) in kmap_atomic_prot_pfn()
77 iomap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot) in iomap_atomic_prot_pfn()
Dpageattr.c33 pgprot_t mask_set;
34 pgprot_t mask_clr;
253 static inline pgprot_t static_protections(pgprot_t prot, unsigned long address, in static_protections()
256 pgprot_t forbidden = __pgprot(0); in static_protections()
397 pgprot_t old_prot, new_prot, req_prot; in try_preserve_large_page()
464 pgprot_t chk_prot = static_protections(req_prot, addr, pfn); in try_preserve_large_page()
509 pgprot_t ref_prot; in split_large_page()
654 pgprot_t new_prot = pte_pgprot(old_pte); in __change_page_attr()
834 static inline int cache_attr(pgprot_t attr) in cache_attr()
841 pgprot_t mask_set, pgprot_t mask_clr, in change_page_attr_set_clr()
[all …]
Dpat.c469 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot()
470 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot()
507 unsigned long size, pgprot_t *vma_prot) in phys_mem_access_prot_allowed()
573 static int reserve_pfn_range(u64 paddr, unsigned long size, pgprot_t *vma_prot, in reserve_pfn_range()
666 pgprot_t pgprot; in track_pfn_vma_copy()
692 int track_pfn_vma_new(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_vma_new()
735 pgprot_t pgprot_writecombine(pgprot_t prot) in pgprot_writecombine()
/linux-3.4.99/arch/alpha/include/asm/
Dpage.h33 typedef struct { unsigned long pgprot; } pgprot_t; typedef
43 #define __pgprot(x) ((pgprot_t) { (x) } )
52 typedef unsigned long pgprot_t; typedef
/linux-3.4.99/arch/m68k/include/asm/
Dpage.h26 typedef struct { unsigned long pgprot; } pgprot_t; typedef
37 #define __pgprot(x) ((pgprot_t) { (x) } )

12345678