Home
last modified time | relevance | path

Searched defs:prot (Results 1 – 200 of 280) sorted by relevance

12

/linux-4.4.14/arch/powerpc/include/asm/
Dmman.h21 static inline unsigned long arch_calc_vm_prot_bits(unsigned long prot) in arch_calc_vm_prot_bits()
25 #define arch_calc_vm_prot_bits(prot) arch_calc_vm_prot_bits(prot) argument
33 static inline int arch_validate_prot(unsigned long prot) in arch_validate_prot()
41 #define arch_validate_prot(prot) arch_validate_prot(prot) argument
Dpgtable.h198 #define pgprot_noncached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument
201 #define pgprot_noncached_wc(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument
204 #define pgprot_cached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument
207 #define pgprot_cached_wthru(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument
210 #define pgprot_cached_noncoherent(prot) \ argument
Dpte-hash64-64k.h97 #define remap_4k_pfn(vma, addr, pfn, prot) \ argument
Dpgtable-ppc64-4k.h85 #define remap_4k_pfn(vma, addr, pfn, prot) \ argument
/linux-4.4.14/net/ipv6/
Dprotocol.c32 int inet6_add_protocol(const struct inet6_protocol *prot, unsigned char protocol) in inet6_add_protocol()
39 int inet6_del_protocol(const struct inet6_protocol *prot, unsigned char protocol) in inet6_del_protocol()
56 int inet6_add_offload(const struct net_offload *prot, unsigned char protocol) in inet6_add_offload()
63 int inet6_del_offload(const struct net_offload *prot, unsigned char protocol) in inet6_del_offload()
Dipv6_sockglue.c223 struct proto *prot = &udp_prot; in do_ipv6_setsockopt() local
/linux-4.4.14/net/ipv4/
Dprotocol.c35 int inet_add_protocol(const struct net_protocol *prot, unsigned char protocol) in inet_add_protocol()
48 int inet_add_offload(const struct net_offload *prot, unsigned char protocol) in inet_add_offload()
55 int inet_del_protocol(const struct net_protocol *prot, unsigned char protocol) in inet_del_protocol()
68 int inet_del_offload(const struct net_offload *prot, unsigned char protocol) in inet_del_offload()
/linux-4.4.14/arch/arm/mm/
Didmap.c22 unsigned long prot) in idmap_add_pmd()
53 unsigned long prot) in idmap_add_pmd()
66 unsigned long prot) in idmap_add_pud()
78 const char *text_end, unsigned long prot) in identity_mapping_add()
Ddma-mapping.c303 __dma_alloc_remap(struct page *page, size_t size, gfp_t gfp, pgprot_t prot, in __dma_alloc_remap()
353 pgprot_t prot = pgprot_dmacoherent(PAGE_KERNEL); in atomic_pool_init() local
457 pgprot_t prot = *(pgprot_t *)data; in __dma_update_pte() local
463 static void __dma_remap(struct page *page, size_t size, pgprot_t prot) in __dma_remap()
473 pgprot_t prot, struct page **ret_page, in __alloc_remap_buffer()
532 pgprot_t prot, struct page **ret_page, in __alloc_from_contiguous()
577 static inline pgprot_t __get_dma_pgprot(struct dma_attrs *attrs, pgprot_t prot) in __get_dma_pgprot()
591 #define __get_dma_pgprot(attrs, prot) __pgprot(0) argument
592 #define __alloc_remap_buffer(dev, size, gfp, prot, ret, c, wv) NULL argument
594 #define __alloc_from_contiguous(dev, size, prot, ret, c, wv) NULL argument
[all …]
Dfault-armv.c243 pgprot_t prot = __pgprot_modify(PAGE_KERNEL, in check_writebuffer_bugs() local
Dinit.c577 pmdval_t prot; member
631 pmdval_t prot, struct mm_struct *mm) in section_update()
Ddump.c221 u64 prot = val & pg_level[level].mask; in note_page() local
Dmmu.c407 void __set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t prot) in __set_fixmap()
727 static pte_t * __init early_pte_alloc(pmd_t *pmd, unsigned long addr, unsigned long prot) in early_pte_alloc()
/linux-4.4.14/include/linux/
Dmman.h38 #define arch_calc_vm_prot_bits(prot) 0 argument
52 static inline int arch_validate_prot(unsigned long prot) in arch_validate_prot()
73 calc_vm_prot_bits(unsigned long prot) in calc_vm_prot_bits()
Dio-mapping.h41 pgprot_t prot; member
55 pgprot_t prot; in io_mapping_create_wc() local
Diommu.h129 int prot; member
315 unsigned int nents, int prot) in iommu_map_sg()
371 phys_addr_t paddr, int gfp_order, int prot) in iommu_map()
384 unsigned int nents, int prot) in iommu_map_sg()
391 u64 size, int prot) in iommu_domain_window_enable()
Dima.h40 static inline int ima_file_mmap(struct file *file, unsigned long prot) in ima_file_mmap()
Dio.h39 phys_addr_t phys_addr, pgprot_t prot) in ioremap_page_range()
Dagpgart.h56 int prot; /* prot flags for mmap */ member
62 pgprot_t prot; member
Dvmalloc.h133 pgprot_t prot, struct page **pages) in map_kernel_range_noflush()
Dhighmem.h72 #define kmap_atomic_prot(page, prot) kmap_atomic(page) argument
Dlibata.h1033 static inline unsigned int ata_prot_flags(u8 prot) in ata_prot_flags()
1054 static inline int ata_is_atapi(u8 prot) in ata_is_atapi()
1059 static inline int ata_is_nodata(u8 prot) in ata_is_nodata()
1064 static inline int ata_is_pio(u8 prot) in ata_is_pio()
1069 static inline int ata_is_dma(u8 prot) in ata_is_dma()
1074 static inline int ata_is_ncq(u8 prot) in ata_is_ncq()
1079 static inline int ata_is_data(u8 prot) in ata_is_data()
/linux-4.4.14/arch/arm64/mm/
Dmmu.c97 pgprot_t prot, in alloc_init_pte()
121 pgprot_t prot = __pgprot(pud_val(*old_pud) ^ addr); in split_pud() local
132 phys_addr_t phys, pgprot_t prot, in alloc_init_pmd()
197 phys_addr_t phys, pgprot_t prot, in alloc_init_pud()
249 phys_addr_t size, pgprot_t prot, in __create_mapping()
276 phys_addr_t size, pgprot_t prot) in create_mapping()
289 pgprot_t prot) in create_pgd_mapping()
296 phys_addr_t size, pgprot_t prot) in create_mapping_late()
648 pgprot_t prot = PAGE_KERNEL_RO; in fixmap_remap_fdt() local
Dioremap.c33 pgprot_t prot, void *caller) in __ioremap_caller()
76 void __iomem *__ioremap(phys_addr_t phys_addr, size_t size, pgprot_t prot) in __ioremap()
Ddma-mapping.c32 static pgprot_t __get_dma_pgprot(struct dma_attrs *attrs, pgprot_t prot, in __get_dma_pgprot()
145 pgprot_t prot = __get_dma_pgprot(attrs, PAGE_KERNEL, false); in __dma_alloc() local
363 pgprot_t prot = __pgprot(PROT_NORMAL_NC); in atomic_pool_init() local
563 pgprot_t prot = __get_dma_pgprot(attrs, PAGE_KERNEL, coherent); in __iommu_alloc_attrs() local
700 int prot = dma_direction_to_prot(dir, coherent); in __iommu_map_page() local
Ddump.c204 u64 prot = val & pg_level[level].mask; in note_page() local
/linux-4.4.14/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()
78 iomap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot) in iomap_atomic_prot_pfn()
Ddump_pagetables.c126 static void printk_prot(struct seq_file *m, pgprot_t prot, int level, bool dmsg) in printk_prot()
195 pgprotval_t prot, cur; in note_page() local
284 pgprotval_t prot; in walk_pte_level() local
302 pgprotval_t prot; in walk_pmd_level() local
334 pgprotval_t prot; in walk_pud_level() local
384 pgprotval_t prot; in ptdump_walk_pgd_level_core() local
Dpat.c887 unsigned long prot; in track_pfn_copy() local
912 int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_remap()
951 int track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_insert()
976 unsigned long prot; in untrack_pfn() local
995 pgprot_t pgprot_writecombine(pgprot_t prot) in pgprot_writecombine()
1002 pgprot_t pgprot_writethrough(pgprot_t prot) in pgprot_writethrough()
Dhighmem_32.c33 void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot()
Dinit_64.c331 pgprot_t prot; in __init_extra_mapping() local
403 pgprot_t prot) in phys_pte_init()
448 unsigned long page_size_mask, pgprot_t prot) in phys_pmd_init()
532 pgprot_t prot = PAGE_KERNEL; in phys_pud_init() local
Dpgtable.c584 int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot) in pud_set_huge()
609 int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot) in pmd_set_huge()
Dinit_32.c316 pgprot_t prot = PAGE_KERNEL_LARGE; in kernel_physical_mapping_init() local
348 pgprot_t prot = PAGE_KERNEL; in kernel_physical_mapping_init() local
Dioremap.c92 pgprot_t prot; in __ioremap_caller() local
/linux-4.4.14/lib/
Dioremap.c54 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pte_range()
72 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pmd_range()
98 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pud_range()
124 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_page_range()
/linux-4.4.14/arch/arm/include/asm/
Dpgtable.h113 #define __pgprot_modify(prot,mask,bits) \ argument
116 #define pgprot_noncached(prot) \ argument
119 #define pgprot_writecombine(prot) \ argument
122 #define pgprot_stronglyordered(prot) \ argument
126 #define pgprot_dmacoherent(prot) \ argument
133 #define pgprot_dmacoherent(prot) \ argument
210 #define pfn_pte(pfn,prot) __pte(__pfn_to_phys(pfn) | pgprot_val(prot)) argument
213 #define mk_pte(page,prot) pfn_pte(page_to_pfn(page), prot) argument
255 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit()
261 static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot) in set_pte_bit()
Dpgtable-nommu.h66 #define pgprot_noncached(prot) __pgprot(0) argument
67 #define pgprot_writecombine(prot) __pgprot(0) argument
68 #define pgprot_dmacoherent(prot) __pgprot(0) argument
Dpgalloc.h132 pmdval_t prot) in __pmd_populate()
161 pmdval_t prot; in pmd_populate() local
Dpgtable-3level.h257 #define pfn_pmd(pfn,prot) (__pmd(((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(prot))) argument
258 #define mk_pmd(page,prot) pfn_pmd(page_to_pfn(page),prot) argument
/linux-4.4.14/arch/score/kernel/
Dsys_score.c37 sys_mmap2(unsigned long addr, unsigned long len, unsigned long prot, in sys_mmap2()
44 sys_mmap(unsigned long addr, unsigned long len, unsigned long prot, in sys_mmap()
/linux-4.4.14/arch/powerpc/kernel/
Dsyscalls.c45 unsigned long prot, unsigned long flags, in do_mmap2()
65 unsigned long prot, unsigned long flags, in sys_mmap2()
72 unsigned long prot, unsigned long flags, in sys_mmap()
Dsys_ppc32.c65 unsigned long prot, unsigned long flags, in compat_sys_mmap2()
/linux-4.4.14/drivers/vfio/
Dvfio_iommu_type1.c68 int prot; /* IOMMU_CACHE */ member
77 int prot; /* IOMMU_READ/WRITE */ member
219 static int put_pfn(unsigned long pfn, int prot) in put_pfn()
231 static int vaddr_get_pfn(unsigned long vaddr, int prot, unsigned long *pfn) in vaddr_get_pfn()
263 int prot, unsigned long *pfn_base) in vfio_pin_pages()
322 int prot, bool do_accounting) in vfio_unpin_pages()
515 unsigned long pfn, long npage, int prot) in map_try_harder()
535 unsigned long pfn, long npage, int prot) in vfio_iommu_map()
568 int ret = 0, prot = 0; in vfio_dma_do_map() local
/linux-4.4.14/arch/sh/kernel/
Dsys_sh.c32 unsigned long prot, unsigned long flags, in old_mmap()
41 unsigned long prot, unsigned long flags, in sys_mmap2()
/linux-4.4.14/arch/s390/mm/
Ddump_pagetables.c62 unsigned int prot, cur; in note_page() local
113 unsigned int prot; in walk_pte_level() local
129 unsigned int prot; in walk_pmd_level() local
151 unsigned int prot; in walk_pud_level() local
/linux-4.4.14/arch/sh/include/asm/
Dmmu.h71 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()
Dio.h274 __ioremap(phys_addr_t offset, unsigned long size, pgprot_t prot) in __ioremap()
280 __ioremap_29bit(phys_addr_t offset, unsigned long size, pgprot_t prot) in __ioremap_29bit()
315 __ioremap_mode(phys_addr_t offset, unsigned long size, pgprot_t prot) in __ioremap_mode()
330 #define __ioremap(offset, size, prot) ((void __iomem *)(offset)) argument
331 #define __ioremap_mode(offset, size, prot) ((void __iomem *)(offset)) argument
361 ioremap_fixed(phys_addr_t phys_addr, unsigned long size, pgprot_t prot) in ioremap_fixed()
Dpgtable_64.h207 #define pgprot_writecombine(prot) __pgprot(pgprot_val(prot) & ~_PAGE_CACHABLE) argument
307 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) argument
308 #define pfn_pmd(pfn, prot) __pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) argument
Dpgtable_32.h317 #define pfn_pte(pfn, prot) \ argument
319 #define pfn_pmd(pfn, prot) \ argument
378 #define pgprot_writecombine(prot) \ argument
/linux-4.4.14/arch/um/include/asm/
Dpgtable-2level.h41 #define pfn_pte(pfn, prot) __pte(pfn_to_phys(pfn) | pgprot_val(prot)) argument
42 #define pfn_pmd(pfn, prot) __pmd(pfn_to_phys(pfn) | pgprot_val(prot)) argument
Dpage.h48 #define pte_set_val(pte, phys, prot) \ argument
77 #define pte_set_val(p, phys, prot) (p).pte = (phys | pgprot_val(prot)) argument
/linux-4.4.14/arch/avr32/include/asm/
Dpgtable-2level.h42 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) argument
43 #define pfn_pmd(pfn, prot) __pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) argument
Dpgtable.h265 #define pgprot_noncached(prot) \ argument
271 #define pgprot_writecombine(prot) \ argument
/linux-4.4.14/arch/microblaze/kernel/
Dsys_microblaze.c37 unsigned long, prot, unsigned long, flags, unsigned long, fd, in SYSCALL_DEFINE6() argument
47 unsigned long, prot, unsigned long, flags, unsigned long, fd, in SYSCALL_DEFINE6() argument
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dmcg.c159 u32 prot; in new_steering_entry() local
429 u32 prot; in add_promisc_qp() local
696 u8 *gid, enum mlx4_protocol prot, in find_entry()
1098 int block_mcast_loopback, enum mlx4_protocol prot, in mlx4_qp_attach_common()
1208 enum mlx4_protocol prot, enum mlx4_steer_type steer) in mlx4_qp_detach_common()
1330 enum mlx4_protocol prot) in mlx4_QP_ATTACH()
1363 enum mlx4_protocol prot, u64 *reg_id) in mlx4_trans_to_dmfs_attach()
1402 enum mlx4_protocol prot, u64 *reg_id) in mlx4_multicast_attach()
1431 enum mlx4_protocol prot, u64 reg_id) in mlx4_multicast_detach()
1517 int block_mcast_loopback, enum mlx4_protocol prot) in mlx4_unicast_attach()
[all …]
/linux-4.4.14/drivers/gpu/drm/ttm/
Dttm_bo_util.c252 pgprot_t prot) in ttm_copy_io_ttm_page()
289 pgprot_t prot) in ttm_copy_ttm_io_page()
384 pgprot_t prot = ttm_io_prot(old_mem->placement, in ttm_bo_move_memcpy() local
389 pgprot_t prot = ttm_io_prot(new_mem->placement, in ttm_bo_move_memcpy() local
534 struct ttm_mem_reg *mem = &bo->mem; pgprot_t prot; in ttm_bo_kmap_ttm() local
/linux-4.4.14/arch/sparc/kernel/
Dsys_sparc_32.c99 unsigned long prot, unsigned long flags, unsigned long fd, in sys_mmap2()
109 unsigned long prot, unsigned long flags, unsigned long fd, in sys_mmap()
117 unsigned long prot, unsigned long pgoff, in sparc_remap_file_pages()
Dpci_sun4v.c40 unsigned long prot; /* IOMMU page protections */ member
50 static inline void iommu_batch_start(struct device *dev, unsigned long prot, unsigned long entry) in iommu_batch_start()
65 unsigned long prot = p->prot; in iommu_batch_flush() local
244 unsigned long prot; in dma_4v_map_page() local
328 unsigned long flags, handle, prot; in dma_4v_map_sg() local
Dsys_sparc_64.c449 unsigned long, prot, unsigned long, flags, unsigned long, fd, in SYSCALL_DEFINE6() argument
/linux-4.4.14/net/core/
Dsock.c1336 static struct sock *sk_prot_alloc(struct proto *prot, gfp_t priority, in sk_prot_alloc()
1379 static void sk_prot_free(struct proto *prot, struct sock *sk) in sk_prot_free()
1415 struct proto *prot, int kern) in sk_alloc()
2069 struct proto *prot = sk->sk_prot; in __sk_mem_schedule() local
2711 void sock_prot_inuse_add(struct net *net, struct proto *prot, int val) in sock_prot_inuse_add()
2717 int sock_prot_inuse_get(struct net *net, struct proto *prot) in sock_prot_inuse_get()
2757 void sock_prot_inuse_add(struct net *net, struct proto *prot, int val) in sock_prot_inuse_add()
2763 int sock_prot_inuse_get(struct net *net, struct proto *prot) in sock_prot_inuse_get()
2776 static void assign_proto_idx(struct proto *prot) in assign_proto_idx()
2788 static void release_proto_idx(struct proto *prot) in release_proto_idx()
[all …]
/linux-4.4.14/arch/arm64/include/asm/
Dpgtable.h133 #define pfn_pte(pfn,prot) (__pte(((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(prot))) argument
172 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit()
178 static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot) in set_pte_bit()
330 static inline pgprot_t mk_sect_prot(pgprot_t prot) in mk_sect_prot()
367 #define pfn_pmd(pfn,prot) (__pmd(((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(prot))) argument
368 #define mk_pmd(page,prot) pfn_pmd(page_to_pfn(page),prot) argument
380 #define __pgprot_modify(prot,mask,bits) \ argument
386 #define pgprot_noncached(prot) \ argument
388 #define pgprot_writecombine(prot) \ argument
390 #define pgprot_device(prot) \ argument
[all …]
Dpgalloc.h112 pmdval_t prot) in __pmd_populate()
/linux-4.4.14/arch/sh/mm/
Dinit.c72 static void set_pte_phys(unsigned long addr, unsigned long phys, pgprot_t prot) in set_pte_phys()
89 static void clear_pte_phys(unsigned long addr, pgprot_t prot) in clear_pte_phys()
102 void __set_fixmap(enum fixed_addresses idx, unsigned long phys, pgprot_t prot) in __set_fixmap()
114 void __clear_fixmap(enum fixed_addresses idx, pgprot_t prot) in __clear_fixmap()
Dpmb.c117 static inline unsigned long pgprot_to_pmb_flags(pgprot_t prot) in pgprot_to_pmb_flags()
207 static inline bool pmb_prot_valid(pgprot_t prot) in pmb_prot_valid()
336 unsigned long size, pgprot_t prot) in pmb_bolt_mapping()
411 pgprot_t prot, void *caller) in pmb_remap_caller()
Dioremap_fixed.c47 ioremap_fixed(phys_addr_t phys_addr, unsigned long size, pgprot_t prot) in ioremap_fixed()
Dnommu.c98 void __set_fixmap(enum fixed_addresses idx, unsigned long phys, pgprot_t prot) in __set_fixmap()
/linux-4.4.14/arch/unicore32/include/asm/
Dpgtable.h153 #define pfn_pte(pfn, prot) (__pte(((pfn) << PAGE_SHIFT) \ argument
199 #define pgprot_noncached(prot) \ argument
201 #define pgprot_writecombine(prot) \ argument
203 #define pgprot_dmacoherent(prot) \ argument
230 #define mk_pte(page, prot) pfn_pte(page_to_pfn(page), prot) argument
/linux-4.4.14/arch/tile/mm/
Dinit.c210 static pgprot_t __init construct_pgprot(pgprot_t prot, int home) in construct_pgprot()
378 static inline pgprot_t ktext_set_nocache(pgprot_t prot) in ktext_set_nocache()
464 pgprot_t prot = init_pgprot(address); in kernel_physical_mapping_init() local
475 pgprot_t prot = init_pgprot(address); in kernel_physical_mapping_init() local
513 pgprot_t prot = construct_pgprot(PAGE_KERNEL_EXEC, in kernel_physical_mapping_init() local
Dhighmem.c198 void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot()
274 void *kmap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot) in kmap_atomic_prot_pfn()
Dpgtable.c371 pgprot_t set_remote_cache_cpu(pgprot_t prot, int cpu) in set_remote_cache_cpu()
383 int get_remote_cache_cpu(pgprot_t prot) in get_remote_cache_cpu()
/linux-4.4.14/arch/um/kernel/
Dtlb.c24 unsigned int prot; member
35 unsigned int prot; member
98 unsigned int prot, struct host_vm_change *hvc) in add_mmap()
163 unsigned int prot, struct host_vm_change *hvc) in add_mprotect()
198 int r, w, x, prot, ret = 0; in update_pte_range() local
401 int r, w, x, prot, err = 0; in flush_tlb_page() local
Dsyscall.c18 unsigned long prot, unsigned long flags, in old_mmap()
/linux-4.4.14/include/asm-generic/
Dpgtable.h285 #define move_pte(pte, prot, old_addr, new_addr) (pte) argument
297 #define pgprot_noncached(prot) (prot) argument
545 static inline int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_remap()
556 static inline int track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_insert()
759 static inline int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot) in pud_set_huge()
763 static inline int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot) in pmd_set_huge()
/linux-4.4.14/drivers/iommu/
Ddma-iommu.c140 int prot = coherent ? IOMMU_CACHE : 0; in dma_direction_to_prot() local
282 gfp_t gfp, int prot, dma_addr_t *handle, in iommu_dma_alloc()
363 unsigned long offset, size_t size, int prot) in iommu_dma_map_page()
441 int nents, int prot) in iommu_dma_map_sg()
Domap-iommu.c536 static int iopgd_alloc_section(struct omap_iommu *obj, u32 da, u32 pa, u32 prot) in iopgd_alloc_section()
551 static int iopgd_alloc_super(struct omap_iommu *obj, u32 da, u32 pa, u32 prot) in iopgd_alloc_super()
568 static int iopte_alloc_page(struct omap_iommu *obj, u32 da, u32 pa, u32 prot) in iopte_alloc_page()
585 static int iopte_alloc_large(struct omap_iommu *obj, u32 da, u32 pa, u32 prot) in iopte_alloc_large()
610 u32 prot; in iopgtable_store_entry_core() local
1037 phys_addr_t pa, size_t bytes, int prot) in omap_iommu_map()
Dio-pgtable-arm.c269 arm_lpae_iopte prot, int lvl, in arm_lpae_init_pte()
308 phys_addr_t paddr, size_t size, arm_lpae_iopte prot, in __arm_lpae_map()
347 int prot) in arm_lpae_prot_to_pte()
385 arm_lpae_iopte prot; in arm_lpae_map() local
443 arm_lpae_iopte prot, int lvl, in arm_lpae_split_blk_unmap()
Dfsl_pamu_domain.h28 int prot; member
Drockchip-iommu.c228 static u32 rk_mk_pte(phys_addr_t page, int prot) in rk_mk_pte()
615 int prot) in rk_iommu_map_iova()
658 phys_addr_t paddr, size_t size, int prot) in rk_iommu_map()
Dfsl_pamu.c334 u32 subwin_cnt, int prot) in pamu_config_ppaace()
426 u32 snoopid, u32 stashid, int enable, int prot) in pamu_config_spaace()
Diommu.c1313 phys_addr_t paddr, size_t size, int prot) in iommu_map()
1421 struct scatterlist *sg, unsigned int nents, int prot) in default_iommu_map_sg()
1464 phys_addr_t paddr, u64 size, int prot) in iommu_domain_window_enable()
Ds390-iommu.c270 phys_addr_t paddr, size_t size, int prot) in s390_iommu_map()
Dshmobile-iommu.c221 phys_addr_t paddr, size_t size, int prot) in shmobile_iommu_map()
/linux-4.4.14/mm/
Dvmalloc.c120 unsigned long end, pgprot_t prot, struct page **pages, int *nr) in vmap_pte_range()
146 unsigned long end, pgprot_t prot, struct page **pages, int *nr) in vmap_pmd_range()
163 unsigned long end, pgprot_t prot, struct page **pages, int *nr) in vmap_pud_range()
186 pgprot_t prot, struct page **pages) in vmap_page_range_noflush()
207 pgprot_t prot, struct page **pages) in vmap_page_range()
1117 void *vm_map_ram(struct page **pages, unsigned int count, int node, pgprot_t prot) in vm_map_ram()
1251 pgprot_t prot, struct page **pages) in map_kernel_range_noflush()
1294 int map_vm_area(struct vm_struct *area, pgprot_t prot, struct page **pages) in map_vm_area()
1553 unsigned long flags, pgprot_t prot) in vmap()
1580 pgprot_t prot, int node) in __vmalloc_area_node()
[all …]
Dnommu.c264 void *__vmalloc(unsigned long size, gfp_t gfp_mask, pgprot_t prot) in __vmalloc()
451 void *vmap(struct page **pages, unsigned int count, unsigned long flags, pgprot_t prot) in vmap()
464 void *vm_map_ram(struct page **pages, unsigned int count, int node, pgprot_t prot) in vm_map_ram()
922 unsigned long prot, in validate_mmap_request()
1081 unsigned long prot, in determine_vm_flags()
1239 unsigned long prot, in do_mmap()
1461 unsigned long, prot, unsigned long, flags, in SYSCALL_DEFINE6() argument
1488 unsigned long prot; member
1784 unsigned long pfn, unsigned long size, pgprot_t prot) in remap_pfn_range()
Dearly_ioremap.c50 phys_addr_t phys, pgprot_t prot) in __late_set_fixmap()
98 __early_ioremap(resource_size_t phys_addr, unsigned long size, pgprot_t prot) in __early_ioremap()
Dutil.c287 unsigned long len, unsigned long prot, in vm_mmap_pgoff()
307 unsigned long len, unsigned long prot, in vm_mmap()
Dmemory.c1482 struct page *page, pgprot_t prot) in insert_page()
1560 unsigned long pfn, pgprot_t prot) in insert_pfn()
1664 unsigned long pfn, pgprot_t prot) in remap_pte_range()
1685 unsigned long pfn, pgprot_t prot) in remap_pmd_range()
1706 unsigned long pfn, pgprot_t prot) in remap_pud_range()
1735 unsigned long pfn, unsigned long size, pgprot_t prot) in remap_pfn_range()
3646 unsigned long *prot, resource_size_t *phys) in follow_phys()
3676 unsigned long prot = 0; in generic_access_phys() local
Dmprotect.c347 SYSCALL_DEFINE3(mprotect, unsigned long, start, size_t, len, in SYSCALL_DEFINE3() argument
Dmmap.c1268 unsigned long len, unsigned long prot, in do_mmap()
1415 unsigned long, prot, unsigned long, flags, in SYSCALL_DEFINE6() argument
1467 unsigned long prot; member
2640 unsigned long, prot, unsigned long, pgoff, unsigned long, flags) in SYSCALL_DEFINE5() argument
/linux-4.4.14/arch/x86/include/asm/
Dfb.h11 unsigned long prot; in fb_pgprotect() local
/linux-4.4.14/arch/mn10300/kernel/
Dsys_mn10300.c27 unsigned long prot, unsigned long flags, in old_mmap()
/linux-4.4.14/arch/cris/kernel/
Dsys_cris.c30 sys_mmap2(unsigned long addr, unsigned long len, unsigned long prot, in sys_mmap2()
/linux-4.4.14/arch/frv/kernel/
Dsys_frv.c31 unsigned long prot, unsigned long flags, in sys_mmap2()
/linux-4.4.14/arch/arc/include/asm/
Dhugepage.h42 #define mk_pmd(page, prot) pte_pmd(mk_pte(page, prot)) argument
47 #define pfn_pmd(pfn, prot) (__pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot))) argument
Dpgtable.h278 #define mk_pte(page, prot) pfn_pte(page_to_pfn(page), prot) argument
280 #define pfn_pte(pfn, prot) (__pte(((pte_t)(pfn) << PAGE_SHIFT) | \ argument
325 #define pgprot_noncached(prot) (__pgprot(pgprot_val(prot) & ~_PAGE_CACHEABLE)) argument
/linux-4.4.14/arch/tile/kernel/
Dsys.c78 unsigned long, prot, unsigned long, flags, in SYSCALL_DEFINE6() argument
90 unsigned long, prot, unsigned long, flags, in SYSCALL_DEFINE6() argument
/linux-4.4.14/arch/mips/include/asm/
Dpgtable-32.h110 pfn_pte(unsigned long pfn, pgprot_t prot) in pfn_pte()
127 #define pfn_pte(pfn, prot) __pte(((pfn) << (PAGE_SHIFT + 2)) | pgprot_val(prot)) argument
130 #define pfn_pte(pfn, prot) __pte(((unsigned long long)(pfn) << _PFN_SHIFT) | pgprot_val(prot)) argument
Dpgtable-64.h229 #define pfn_pte(pfn, prot) __pte(((pfn) << (PAGE_SHIFT + 2)) | pgprot_val(prot)) argument
232 #define pfn_pte(pfn, prot) __pte(((pfn) << _PFN_SHIFT) | pgprot_val(prot)) argument
233 #define pfn_pmd(pfn, prot) __pmd(((pfn) << _PFN_SHIFT) | pgprot_val(prot)) argument
Dpgtable.h408 unsigned long prot = pgprot_val(_prot); in pgprot_noncached() local
419 unsigned long prot = pgprot_val(_prot); in pgprot_writecombine() local
477 pgprot_t prot) in io_remap_pfn_range()
Dr4kcache.h659 #define __BUILD_BLAST_CACHE_RANGE(pfx, desc, hitop, prot, extra) \ argument
/linux-4.4.14/arch/sh/boards/mach-lboxre2/
Dsetup.c53 pgprot_t prot; in lboxre2_devices_setup() local
/linux-4.4.14/arch/hexagon/mm/
Dioremap.c31 pgprot_t prot = __pgprot(_PAGE_PRESENT|_PAGE_READ|_PAGE_WRITE in ioremap_nocache() local
/linux-4.4.14/arch/mips/kernel/
Dsyscall.c60 unsigned long, prot, unsigned long, flags, unsigned long, in SYSCALL_DEFINE6() argument
76 unsigned long, prot, unsigned long, flags, unsigned long, fd, in SYSCALL_DEFINE6() argument
/linux-4.4.14/arch/m32r/include/asm/
Dpgtable-2level.h71 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) argument
72 #define pfn_pmd(pfn, prot) __pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) argument
Dpgtable.h267 unsigned long prot = pgprot_val(_prot); in pgprot_noncached() local
273 #define pgprot_writecombine(prot) pgprot_noncached(prot) argument
/linux-4.4.14/arch/m68k/include/asm/
Dpgtable_mm.h155 # define pgprot_noncached(prot) (__pgprot(pgprot_val(prot) | CF_PAGE_NOCACHE)) argument
162 #define pgprot_noncached(prot) \ argument
/linux-4.4.14/arch/um/os-Linux/skas/
Dmem.c170 int map(struct mm_id * mm_idp, unsigned long virt, unsigned long len, int prot, in map()
198 unsigned int prot, int done, void **data) in protect()
/linux-4.4.14/arch/ia64/kernel/
Dsys_ia64.c137 sys_mmap2 (unsigned long addr, unsigned long len, int prot, int flags, int fd, long pgoff) in sys_mmap2()
146 sys_mmap (unsigned long addr, unsigned long len, int prot, int flags, int fd, long off) in sys_mmap()
/linux-4.4.14/arch/powerpc/mm/
Dhighmem.c32 void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot()
Dpgtable_32.c397 static int __change_page_attr(struct page *page, pgprot_t prot) in __change_page_attr()
423 static int change_page_attr(struct page *page, int numpages, pgprot_t prot) in change_page_attr()
Dppc_mmu_32.c116 unsigned int size, pgprot_t prot) in setbat()
Dhash_utils_64.c183 unsigned long pstart, unsigned long prot, in htab_bolt_mapping()
676 unsigned long prot; in htab_initialize() local
/linux-4.4.14/arch/microblaze/mm/
Dhighmem.c34 void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot()
/linux-4.4.14/arch/metag/mm/
Dioremap.c34 pgprot_t prot; in __ioremap() local
/linux-4.4.14/arch/arm64/kernel/
Dsys.c30 unsigned long prot, unsigned long flags, in sys_mmap()
Defi.c242 pgprot_t prot; in efi_virtmap_init() local
/linux-4.4.14/arch/avr32/mm/
Dioremap.c28 pgprot_t prot; in __ioremap() local
/linux-4.4.14/arch/tile/gxio/
Dkiorpc.c33 pgprot_t mmio_base, prot = { 0 }; in iorpc_ioremap() local
/linux-4.4.14/arch/sh/boards/mach-sh03/
Dsetup.c78 pgprot_t prot; in sh03_devices_setup() local
/linux-4.4.14/arch/sh/boards/mach-landisk/
Dsetup.c57 pgprot_t prot; in landisk_devices_setup() local
/linux-4.4.14/arch/arc/mm/
Dioremap.c47 pgprot_t prot = __pgprot(flags); in ioremap_prot() local
/linux-4.4.14/include/linux/can/
Dcore.h40 struct proto *prot; member
/linux-4.4.14/drivers/misc/mic/scif/
Dscif_rma_list.h39 int prot; member
Dscif_rma.c88 scif_create_pinned_pages(int nr_pages, int prot) in scif_create_pinned_pages()
1330 int prot = *out_prot; in __scif_pin_pages() local
1448 int scif_pin_pages(void *addr, size_t len, int prot, in scif_pin_pages()
1593 int prot, int map_flags) in scif_register()
Dscif_rma.h188 int prot; member
245 int prot; member
/linux-4.4.14/arch/openrisc/mm/
Dioremap.c42 __ioremap(phys_addr_t addr, unsigned long size, pgprot_t prot) in __ioremap()
Dinit.c78 pgprot_t prot; in map_ram() local
/linux-4.4.14/arch/um/os-Linux/
Dprocess.c142 int prot; in os_map_memory() local
156 int prot = ((r ? PROT_READ : 0) | (w ? PROT_WRITE : 0) | in os_protect_memory() local
/linux-4.4.14/drivers/xen/
Dxlate_mmu.c63 pgprot_t prot; member
143 int *err_ptr, pgprot_t prot, in xen_xlate_remap_gfn_array()
/linux-4.4.14/arch/cris/mm/
Dioremap.c30 void __iomem * __ioremap_prot(unsigned long phys_addr, unsigned long size, pgprot_t prot) in __ioremap_prot()
/linux-4.4.14/arch/arm/xen/
Denlighten.c55 int *err_ptr, pgprot_t prot, in xen_remap_domain_gfn_array()
68 pgprot_t prot, unsigned domid, in xen_remap_domain_gfn_range()
/linux-4.4.14/arch/parisc/kernel/
Dsys_parisc.c265 unsigned long prot, unsigned long flags, unsigned long fd, in sys_mmap2()
275 unsigned long prot, unsigned long flags, unsigned long fd, in sys_mmap()
371 …signed long sys_alloc_hugepages(int key, unsigned long addr, unsigned long len, int prot, int flag) in sys_alloc_hugepages()
Dpci.c208 unsigned long prot; in pci_mmap_page_range() local
Dentry.S1146 prot = r17 /* prot bits */ define
/linux-4.4.14/arch/nios2/include/asm/
Dpgtable.h121 unsigned long prot = pgprot_val(_prot); in pgprot_noncached() local
198 #define pfn_pte(pfn, prot) (__pte(pfn | pgprot_val(prot))) argument
241 #define mk_pte(page, prot) (pfn_pte(page_to_pfn(page), prot)) argument
/linux-4.4.14/include/net/
Dsock.h1161 struct proto *prot = sk->sk_prot; in sk_leave_memory_pressure() local
1176 struct proto *prot = sk->sk_prot; in sk_enter_memory_pressure() local
1187 long *prot = sk->sk_prot->sysctl_mem; in sk_prot_mem_limits() local
1193 static inline void memcg_memory_allocated_add(struct cg_proto *prot, in memcg_memory_allocated_add()
1204 static inline void memcg_memory_allocated_sub(struct cg_proto *prot, in memcg_memory_allocated_sub()
1213 struct proto *prot = sk->sk_prot; in sk_memory_allocated() local
1224 struct proto *prot = sk->sk_prot; in sk_memory_allocated_add() local
1239 struct proto *prot = sk->sk_prot; in sk_memory_allocated_sub() local
1249 struct proto *prot = sk->sk_prot; in sk_sockets_allocated_dec() local
1263 struct proto *prot = sk->sk_prot; in sk_sockets_allocated_inc() local
[all …]
Dprotocol.h86 struct proto *prot; member
/linux-4.4.14/arch/ia64/mm/
Dioremap.c40 pgprot_t prot; in ioremap() local
/linux-4.4.14/arch/mips/mm/
Dpgtable-64.c79 pmd_t mk_pmd(struct page *page, pgprot_t prot) in mk_pmd()
Dinit.c85 static void *__kmap_pgprot(struct page *page, unsigned long addr, pgprot_t prot) in __kmap_pgprot()
/linux-4.4.14/arch/sh/kernel/cpu/sh4/
Dsq.c104 static int __sq_remap(struct sq_mapping *map, pgprot_t prot) in __sq_remap()
146 const char *name, pgprot_t prot) in sq_remap()
/linux-4.4.14/fs/affs/
Damigaffs.c388 prot_to_mode(u32 prot) in prot_to_mode()
417 u32 prot = AFFS_I(inode)->i_protect; in mode_to_prot() local
Dinode.c24 u32 prot; in affs_iget() local
/linux-4.4.14/drivers/base/
Ddma-mapping.c279 unsigned long vm_flags, pgprot_t prot, in dma_common_pages_remap()
305 pgprot_t prot, const void *caller) in dma_common_contiguous_remap()
/linux-4.4.14/arch/metag/include/asm/
Dpgtable.h106 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) argument
142 #define pgprot_writecombine(prot) \ argument
145 #define pgprot_noncached(prot) \ argument
Delf.h116 struct elf32_phdr *eppnt, int prot, in metag_elf_map()
/linux-4.4.14/arch/score/include/asm/
Dpgtable.h67 #define pfn_pte(pfn, prot) \ argument
99 #define mk_pte(page, prot) pfn_pte(page_to_pfn(page), prot) argument
155 unsigned long prot = pgprot_val(_prot); in pgprot_noncached() local
/linux-4.4.14/arch/s390/kernel/
Dcrash_dump.c154 unsigned long size, pgprot_t prot) in remap_oldmem_pfn_range_kdump()
182 unsigned long size, pgprot_t prot) in remap_oldmem_pfn_range_zfcpdump()
202 unsigned long pfn, unsigned long size, pgprot_t prot) in remap_oldmem_pfn_range()
Dsys_s390.c42 unsigned long prot; member
/linux-4.4.14/arch/cris/arch-v32/drivers/pci/
Dbios.c20 unsigned long prot; in pci_mmap_page_range() local
/linux-4.4.14/arch/tile/include/asm/
Dmmu_context.h37 static inline void __install_page_table(pgd_t *pgdir, int asid, pgprot_t prot) in __install_page_table()
Dpgtable.h278 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t prot) in pfn_pte()
433 static inline pmd_t ptfn_pmd(unsigned long ptfn, pgprot_t prot) in ptfn_pmd()
/linux-4.4.14/arch/mn10300/unit-asb2305/
Dpci-asb2305.c217 unsigned long prot; in pci_mmap_page_range() local
/linux-4.4.14/arch/h8300/include/asm/
Dpgtable.h18 #define pgprot_writecombine(prot) (prot) argument
/linux-4.4.14/include/net/phonet/
Dphonet.h107 struct proto *prot; member
/linux-4.4.14/arch/frv/mm/
Ddma-alloc.c50 static int map_page(unsigned long va, unsigned long pa, pgprot_t prot) in map_page()
/linux-4.4.14/arch/microblaze/include/asm/
Dpgtable.h51 #define pgprot_noncached_wc(prot) prot argument
104 #define pgprot_noncached(prot) \ argument
108 #define pgprot_noncached_wc(prot) \ argument
312 #define pfn_pte(pfn, prot) \ argument
/linux-4.4.14/arch/alpha/kernel/
Dproto.h195 pgprot_t prot; in __alpha_remap_area_pages() local
/linux-4.4.14/arch/sparc/include/asm/
Dpgtable_32.h262 #define pfn_pte(pfn, prot) mk_pte(pfn_to_page(pfn), prot) argument
299 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached()
414 unsigned long size, pgprot_t prot) in io_remap_pfn_range()
Dpgtable_64.h237 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t prot) in pfn_pte()
278 static inline pte_t pte_modify(pte_t pte, pgprot_t prot) in pte_modify()
347 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached()
928 #define move_pte(pte, prot, old_addr, new_addr) \ argument
996 unsigned long size, pgprot_t prot) in io_remap_pfn_range()
/linux-4.4.14/arch/mn10300/include/asm/
Dpgtable.h318 #define pfn_pte(pfn, prot) __pte(__pfn_addr(pfn) | pgprot_val(prot)) argument
319 #define pfn_pmd(pfn, prot) __pmd(__pfn_addr(pfn) | pgprot_val(prot)) argument
378 #define pgprot_noncached(prot) __pgprot(pgprot_val(prot) & ~_PAGE_CACHE) argument
384 #define pgprot_through(prot) __pgprot(pgprot_val(prot) | _PAGE_CACHE_WT) argument
/linux-4.4.14/arch/x86/xen/
Dmmu.c1659 static inline void __set_pfn_prot(unsigned long pfn, pgprot_t prot) in __set_pfn_prot()
1799 static void __init set_page_prot_flags(void *addr, pgprot_t prot, in set_page_prot_flags()
1812 static void __init set_page_prot(void *addr, pgprot_t prot) in set_page_prot()
2325 static void xen_set_fixmap(unsigned idx, phys_addr_t phys, pgprot_t prot) in xen_set_fixmap()
2786 pgprot_t prot; member
2813 int *err_ptr, pgprot_t prot, in do_remap_gfn()
2898 pgprot_t prot, unsigned domid, in xen_remap_domain_gfn_range()
2908 int *err_ptr, pgprot_t prot, in xen_remap_domain_gfn_array()
/linux-4.4.14/arch/xtensa/include/asm/
Dpgtable.h280 #define pgprot_noncached(prot) (__pgprot(pgprot_val(prot) & ~_PAGE_CA_MASK)) argument
290 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) argument
291 #define mk_pte(page, prot) pfn_pte(page_to_pfn(page), prot) argument
/linux-4.4.14/arch/x86/kernel/
Dsys_x86_64.c87 unsigned long, prot, unsigned long, flags, in SYSCALL_DEFINE6() argument
Dtboot.c124 pgprot_t prot) in map_tboot_page()
/linux-4.4.14/security/apparmor/
Dlsm.c459 static int common_mmap(int op, struct file *file, unsigned long prot, in common_mmap()
482 unsigned long prot, unsigned long flags) in apparmor_mmap_file()
488 unsigned long reqprot, unsigned long prot) in apparmor_file_mprotect()
/linux-4.4.14/drivers/s390/net/
Dqeth_l3_main.c310 enum qeth_prot_versions prot) in qeth_l3_get_addr_buffer()
613 enum qeth_routing_types type, enum qeth_prot_versions prot) in qeth_l3_send_setrouting()
631 enum qeth_routing_types *type, enum qeth_prot_versions prot) in qeth_l3_correct_routing_type()
1048 __u16 len, enum qeth_prot_versions prot) in qeth_l3_get_setassparms_cmd()
1772 __be16 prot; in qeth_l3_rebuild_skb() local
2231 static int arpentry_matches_prot(struct qeth_arp_entrytype *type, __u16 prot) in arpentry_matches_prot()
2337 enum qeth_prot_versions prot, in qeth_l3_query_arp_cache_info()
/linux-4.4.14/arch/cris/include/asm/
Dpgtable.h199 #define pgprot_noncached(prot) __pgprot((pgprot_val(prot) | _PAGE_NO_CACHE)) argument
253 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) argument
/linux-4.4.14/arch/c6x/include/asm/
Dpgtable.h43 #define pgprot_noncached(prot) (prot) argument
/linux-4.4.14/drivers/gpu/drm/msm/
Dmsm_iommu.c47 struct sg_table *sgt, unsigned len, int prot) in msm_iommu_map()
/linux-4.4.14/arch/ia64/pci/
Dpci.c426 pgprot_t prot; in pci_mmap_page_range() local
497 pgprot_t prot; in pci_mmap_legacy_page_range() local
/linux-4.4.14/drivers/gpu/drm/tegra/
Dgem.c97 int prot = IOMMU_READ | IOMMU_WRITE; in tegra_bo_iommu_map() local
495 pgprot_t prot = vm_get_page_prot(vma->vm_flags); in tegra_drm_mmap() local
/linux-4.4.14/fs/proc/
Dvmcore.c162 unsigned long size, pgprot_t prot) in remap_oldmem_pfn_range()
345 unsigned long size, pgprot_t prot) in remap_oldmem_pfn_checked()
395 unsigned long size, pgprot_t prot) in vmcore_remap_oldmem_pfn()
/linux-4.4.14/security/integrity/ima/
Dima_main.c270 int ima_file_mmap(struct file *file, unsigned long prot) in ima_file_mmap()
/linux-4.4.14/drivers/char/agp/
Dcompat_ioctl.h61 compat_int_t prot; /* prot flags for mmap */ member
/linux-4.4.14/arch/mips/pci/
Dpci.c328 unsigned long prot; in pci_mmap_page_range() local
/linux-4.4.14/arch/blackfin/include/asm/
Dpgtable.h38 #define pgprot_noncached(prot) (prot) argument
/linux-4.4.14/drivers/staging/android/
Dashmem.c354 static inline vm_flags_t calc_vm_may_flags(unsigned long prot) in calc_vm_may_flags()
484 static int set_prot_mask(struct ashmem_area *asma, unsigned long prot) in set_prot_mask()
/linux-4.4.14/arch/parisc/include/asm/
Dcacheflush.h157 #define kmap_atomic_prot(page, prot) kmap_atomic(page) argument
/linux-4.4.14/arch/m68k/kernel/
Dsys_m68k.c40 unsigned long prot, unsigned long flags, in sys_mmap2()
/linux-4.4.14/arch/xtensa/kernel/
Dpci.c344 int prot = pgprot_val(vma->vm_page_prot); in __pci_mmap_set_pgprot() local
/linux-4.4.14/arch/metag/kernel/
Dsys_metag.c41 unsigned long prot, unsigned long flags, in sys_mmap2()
Dprocess.c379 struct elf_phdr *eppnt, int prot, int type, in __metag_elf_map()
/linux-4.4.14/arch/frv/include/asm/
Dpgtable.h271 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) argument
272 #define pfn_pmd(pfn, prot) __pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) argument
411 #define pgprot_noncached(prot) (__pgprot(pgprot_val(prot) | _PAGE_NOCACHE)) argument
/linux-4.4.14/arch/ia64/include/asm/
Dpgtable.h351 #define pgprot_cacheable(prot) __pgprot((pgprot_val(prot) & ~_PAGE_MA_MASK) | _PAGE_MA_WB) argument
352 #define pgprot_noncached(prot) __pgprot((pgprot_val(prot) & ~_PAGE_MA_MASK) | _PAGE_MA_UC) argument
353 #define pgprot_writecombine(prot) __pgprot((pgprot_val(prot) & ~_PAGE_MA_MASK) | _PAGE_MA_WC) argument
/linux-4.4.14/include/uapi/linux/
Dagpgart.h82 int prot; /* prot flags for mmap */ member
Dscif_ioctl.h122 __s32 prot; member
/linux-4.4.14/arch/x86/entry/vdso/
Dvdso2c.c185 static void map_input(const char *name, void **addr, size_t *len, int prot) in map_input()
/linux-4.4.14/arch/x86/pci/
Di386.c417 unsigned long prot; in pci_mmap_page_range() local
/linux-4.4.14/arch/arm/kvm/
Dmmu.c453 pgprot_t prot) in create_hyp_pte_mappings()
470 pgprot_t prot) in create_hyp_pmd_mappings()
504 pgprot_t prot) in create_hyp_pud_mappings()
538 unsigned long pfn, pgprot_t prot) in __create_hyp_mappings()
/linux-4.4.14/arch/x86/ia32/
Dsys_ia32.c149 unsigned int prot; member
/linux-4.4.14/arch/unicore32/mm/
Dmmu.c153 unsigned long prot) in early_pte_alloc()
/linux-4.4.14/drivers/ata/
Dsata_sil24.c41 __le16 prot; member
802 u8 prot = qc->tf.protocol; in sil24_qc_defer() local
858 u16 prot = 0; in sil24_qc_prep() local
/linux-4.4.14/arch/microblaze/pci/
Dpci-common.c239 pgprot_t prot = protection; in __pci_mmap_set_pgprot() local
265 pgprot_t prot) in pci_phys_mem_access_prot()
/linux-4.4.14/arch/arm/mach-sa1100/
Dassabet.c498 int prot = PMD_TYPE_SECT | PMD_SECT_AP_WRITE | PMD_DOMAIN(DOMAIN_IO); in map_sa1100_gpio_regs() local
/linux-4.4.14/tools/perf/util/
Dmap.h39 u32 prot; member
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/
Dmac.c197 u32 prot[6]; in mt7601u_mac_set_protection() local
/linux-4.4.14/security/
Dcommoncap.c1063 unsigned long prot, unsigned long flags) in cap_mmap_file()
/linux-4.4.14/fs/pstore/
Dram_core.c389 pgprot_t prot; in persistent_ram_vmap() local
/linux-4.4.14/drivers/target/
Dtarget_core_file.c419 sector_t prot_length, prot; in fd_do_prot_fill() local

12