Home
last modified time | relevance | path

Searched refs:prot (Results 1 – 25 of 46) sorted by relevance

12

/include/net/
Dprotocol.h83 struct proto *prot; member
100 int inet_add_protocol(const struct net_protocol *prot, unsigned char num);
101 int inet_del_protocol(const struct net_protocol *prot, unsigned char num);
102 int inet_add_offload(const struct net_offload *prot, unsigned char num);
103 int inet_del_offload(const struct net_offload *prot, unsigned char num);
108 int inet6_add_protocol(const struct inet6_protocol *prot, unsigned char num);
109 int inet6_del_protocol(const struct inet6_protocol *prot, unsigned char num);
113 int inet6_add_offload(const struct net_offload *prot, unsigned char num);
114 int inet6_del_offload(const struct net_offload *prot, unsigned char num);
/include/xen/
Dxen-ops.h48 xen_pfn_t *pfn, int nr, int *err_ptr, pgprot_t prot,
53 pgprot_t prot, unsigned int domid, in xen_remap_pfn() argument
67 int *err_ptr, pgprot_t prot,
80 int *err_ptr, pgprot_t prot, in xen_xlate_remap_gfn_array() argument
117 int *err_ptr, pgprot_t prot, in xen_remap_domain_gfn_array() argument
123 prot, domid, pages); in xen_remap_domain_gfn_array()
130 return xen_remap_pfn(vma, addr, gfn, nr, err_ptr, prot, domid, in xen_remap_domain_gfn_array()
153 pgprot_t prot, unsigned int domid) in xen_remap_domain_mfn_array() argument
158 return xen_remap_pfn(vma, addr, mfn, nr, err_ptr, prot, domid, in xen_remap_domain_mfn_array()
177 pgprot_t prot, unsigned int domid, in xen_remap_domain_gfn_range() argument
[all …]
/include/linux/
Dmman.h93 #define arch_calc_vm_prot_bits(prot, pkey) 0 argument
107 static inline bool arch_validate_prot(unsigned long prot, unsigned long addr) in arch_validate_prot() argument
109 return (prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC | PROT_SEM)) == 0; in arch_validate_prot()
142 calc_vm_prot_bits(unsigned long prot, unsigned long pkey) in calc_vm_prot_bits() argument
144 return _calc_vm_trans(prot, PROT_READ, VM_READ ) | in calc_vm_prot_bits()
145 _calc_vm_trans(prot, PROT_WRITE, VM_WRITE) | in calc_vm_prot_bits()
146 _calc_vm_trans(prot, PROT_EXEC, VM_EXEC) | in calc_vm_prot_bits()
147 arch_calc_vm_prot_bits(prot, pkey); in calc_vm_prot_bits()
Dio-mapping.h26 pgprot_t prot; member
46 pgprot_t prot; in io_mapping_init_wc() local
48 if (iomap_create_wc(base, size, &prot)) in io_mapping_init_wc()
53 iomap->prot = prot; in io_mapping_init_wc()
77 return __iomap_local_pfn_prot(PHYS_PFN(phys_addr), mapping->prot); in io_mapping_map_atomic_wc()
98 return __iomap_local_pfn_prot(PHYS_PFN(phys_addr), mapping->prot); in io_mapping_map_local_wc()
141 iomap->prot = pgprot_writecombine(PAGE_KERNEL); in io_mapping_init_wc()
Dhighmem-internal.h9 void *__kmap_local_pfn_prot(unsigned long pfn, pgprot_t prot);
10 void *__kmap_local_page_prot(struct page *page, pgprot_t prot);
82 static inline void *kmap_local_page_prot(struct page *page, pgprot_t prot) in kmap_local_page_prot() argument
84 return __kmap_local_page_prot(page, prot); in kmap_local_page_prot()
97 static inline void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot() argument
105 return __kmap_local_page_prot(page, prot); in kmap_atomic_prot()
193 static inline void *kmap_local_page_prot(struct page *page, pgprot_t prot) in kmap_local_page_prot() argument
220 static inline void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot() argument
Dvmalloc.h87 static inline bool arch_vmap_p4d_supported(pgprot_t prot) in arch_vmap_p4d_supported() argument
94 static inline bool arch_vmap_pud_supported(pgprot_t prot) in arch_vmap_pud_supported() argument
101 static inline bool arch_vmap_pmd_supported(pgprot_t prot) in arch_vmap_pmd_supported() argument
123 static inline pgprot_t arch_vmap_pgprot_tagged(pgprot_t prot) in arch_vmap_pgprot_tagged() argument
125 return prot; in arch_vmap_pgprot_tagged()
152 pgprot_t prot, unsigned long vm_flags, int node,
167 unsigned long flags, pgprot_t prot);
168 void *vmap_pfn(unsigned long *pfns, unsigned int count, pgprot_t prot);
Dkmsan.h143 pgprot_t prot,
170 phys_addr_t phys_addr, pgprot_t prot,
289 unsigned long start, unsigned long end, pgprot_t prot, in kmsan_vmap_pages_range_noflush() argument
303 pgprot_t prot, in kmsan_ioremap_page_range() argument
Delf.h101 int arch_elf_adjust_prot(int prot, const struct arch_elf_state *state,
104 static inline int arch_elf_adjust_prot(int prot, in arch_elf_adjust_prot() argument
108 return prot; in arch_elf_adjust_prot()
Dio.h24 void ioremap_phys_range_hook(phys_addr_t phys_addr, size_t size, pgprot_t prot);
27 phys_addr_t phys_addr, pgprot_t prot);
30 phys_addr_t phys_addr, pgprot_t prot) in ioremap_page_range() argument
75 unsigned long size, pgprot_t prot);
Dpage_size_compat.h144 extern void ___filemap_fixup(unsigned long addr, unsigned long prot, unsigned long old_len,
156 static __always_inline void __filemap_fixup(unsigned long addr, unsigned long prot, in __filemap_fixup() argument
161 ___filemap_fixup(addr, prot, old_len, new_len); in __filemap_fixup()
Dpgtable.h1141 #define move_pte(pte, prot, old_addr, new_addr) (pte) argument
1313 #define pgprot_nx(prot) (prot) argument
1317 #define pgprot_noncached(prot) (prot) argument
1333 #define pgprot_mhp(prot) (prot) argument
1353 #define pgprot_encrypted(prot) (prot) argument
1357 #define pgprot_decrypted(prot) (prot) argument
1465 static inline int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_remap() argument
1476 static inline void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_insert() argument
1509 extern int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot,
1512 extern void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot,
[all …]
Dagpgart.h54 int prot; /* prot flags for mmap */ member
60 pgprot_t prot; member
Dima.h25 unsigned long prot, unsigned long flags);
26 extern int ima_file_mprotect(struct vm_area_struct *vma, unsigned long prot);
81 unsigned long prot, unsigned long flags) in ima_file_mmap() argument
87 unsigned long prot) in ima_file_mprotect() argument
Dpkeys.h14 #define arch_override_mprotect_pkey(vma, prot, pkey) (0) argument
Ddma-map-ops.h250 void *dma_common_contiguous_remap(struct page *page, size_t size, pgprot_t prot,
252 void *dma_common_pages_remap(struct page **pages, size_t size, pgprot_t prot,
360 #define pgprot_dmacoherent(prot) pgprot_noncached(prot) argument
363 pgprot_t dma_pgprot(struct device *dev, pgprot_t prot, unsigned long attrs);
365 static inline pgprot_t dma_pgprot(struct device *dev, pgprot_t prot, in dma_pgprot() argument
368 return prot; /* no protection bits supported without page tables */ in dma_pgprot()
Diommu.h169 int prot; member
340 phys_addr_t paddr, size_t size, int prot, gfp_t gfp);
343 int prot, gfp_t gfp, size_t *mapped);
481 phys_addr_t paddr, size_t size, int prot, gfp_t gfp);
489 int prot, gfp_t gfp);
500 iommu_alloc_resv_region(phys_addr_t start, size_t length, int prot,
780 phys_addr_t paddr, size_t size, int prot, gfp_t gfp) in iommu_map() argument
800 unsigned int nents, int prot, gfp_t gfp) in iommu_map_sg() argument
1116 unsigned long iova, struct sg_table *sgt, int prot) in iommu_map_sgtable() argument
1118 return iommu_map_sg(domain, iova, sgt->sgl, sgt->orig_nents, prot, in iommu_map_sgtable()
Dcrash_dump.h25 unsigned long size, pgprot_t prot);
/include/asm-generic/
Dsyscalls.h15 unsigned long prot, unsigned long flags,
21 unsigned long prot, unsigned long flags,
/include/trace/hooks/
Dsyscall_check.h18 TP_PROTO(const struct file *file, unsigned long prot,
20 TP_ARGS(file, prot, flag, ret));
Diommu.h27 TP_PROTO(unsigned long attrs, int *prot),
28 TP_ARGS(attrs, prot), 1);
/include/trace/events/
Dsock.h95 TP_PROTO(struct sock *sk, struct proto *prot, long allocated, int kind),
97 TP_ARGS(sk, prot, allocated, kind),
112 strncpy(__entry->name, prot->name, 32);
113 __entry->sysctl_mem[0] = READ_ONCE(prot->sysctl_mem[0]);
114 __entry->sysctl_mem[1] = READ_ONCE(prot->sysctl_mem[1]);
115 __entry->sysctl_mem[2] = READ_ONCE(prot->sysctl_mem[2]);
117 __entry->sysctl_rmem = sk_get_rmem0(sk, prot);
119 __entry->sysctl_wmem = sk_get_wmem0(sk, prot);
/include/linux/can/
Dcore.h34 struct proto *prot; member
/include/soc/tegra/
Dtegra-cbb.h39 void tegra_cbb_print_prot(struct seq_file *file, u32 prot);
/include/linux/regulator/
Dmachine.h89 int prot; member
/include/uapi/linux/
Dagpgart.h82 int prot; /* prot flags for mmap */ member

12