Home
last modified time | relevance | path

Searched refs:prot (Results 1 – 25 of 43) 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);
Dtls.h522 struct tls_prot_info *prot, in tls_advance_record_sn() argument
525 if (tls_bigint_increment(ctx->rec_seq, prot->rec_seq_size)) in tls_advance_record_sn()
528 if (prot->version != TLS_1_3_VERSION && in tls_advance_record_sn()
529 prot->cipher_type != TLS_CIPHER_CHACHA20_POLY1305) in tls_advance_record_sn()
530 tls_bigint_increment(ctx->iv + prot->salt_size, in tls_advance_record_sn()
531 prot->iv_size); in tls_advance_record_sn()
539 struct tls_prot_info *prot = &ctx->prot_info; in tls_fill_prepend() local
540 size_t pkt_len, iv_size = prot->iv_size; in tls_fill_prepend()
542 pkt_len = plaintext_len + prot->tag_size; in tls_fill_prepend()
543 if (prot->version != TLS_1_3_VERSION && in tls_fill_prepend()
[all …]
/include/linux/
Dmman.h89 #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()
74 return __iomap_local_pfn_prot(PHYS_PFN(phys_addr), mapping->prot); in io_mapping_map_atomic_wc()
92 return __iomap_local_pfn_prot(PHYS_PFN(phys_addr), mapping->prot); in io_mapping_map_local_wc()
136 iomap->prot = pgprot_noncached_wc(PAGE_KERNEL); in io_mapping_init_wc()
138 iomap->prot = pgprot_writecombine(PAGE_KERNEL); in io_mapping_init_wc()
140 iomap->prot = pgprot_noncached(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);
76 static inline void *kmap_local_page_prot(struct page *page, pgprot_t prot) in kmap_local_page_prot() argument
78 return __kmap_local_page_prot(page, prot); in kmap_local_page_prot()
91 static inline void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot() argument
99 return __kmap_local_page_prot(page, prot); in kmap_atomic_prot()
174 static inline void *kmap_local_page_prot(struct page *page, pgprot_t prot) in kmap_local_page_prot() argument
201 static inline void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot() argument
Dvmalloc.h83 static inline bool arch_vmap_p4d_supported(pgprot_t prot) in arch_vmap_p4d_supported() argument
90 static inline bool arch_vmap_pud_supported(pgprot_t prot) in arch_vmap_pud_supported() argument
97 static inline bool arch_vmap_pmd_supported(pgprot_t prot) in arch_vmap_pmd_supported() argument
119 static inline pgprot_t arch_vmap_pgprot_tagged(pgprot_t prot) in arch_vmap_pgprot_tagged() argument
121 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);
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()
Dpgtable.h776 #define move_pte(pte, prot, old_addr, new_addr) (pte) argument
948 #define pgprot_nx(prot) (prot) argument
952 #define pgprot_noncached(prot) (prot) argument
968 #define pgprot_mhp(prot) (prot) argument
988 #define pgprot_encrypted(prot) (prot) argument
992 #define pgprot_decrypted(prot) (prot) argument
1121 static inline int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_remap() argument
1132 static inline void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_insert() argument
1163 extern int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot,
1166 extern void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot,
[all …]
Dima.h25 unsigned long prot, unsigned long flags);
26 extern int ima_file_mprotect(struct vm_area_struct *vma, unsigned long prot);
96 unsigned long prot, unsigned long flags) in ima_file_mmap() argument
102 unsigned long prot) in ima_file_mprotect() argument
Dagpgart.h54 int prot; /* prot flags for mmap */ member
60 pgprot_t prot; member
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
Ddma-map-ops.h244 void *dma_common_contiguous_remap(struct page *page, size_t size, pgprot_t prot,
246 void *dma_common_pages_remap(struct page **pages, size_t size, pgprot_t prot,
286 #define pgprot_dmacoherent(prot) pgprot_noncached(prot) argument
294 #define pgprot_syscached(prot) pgprot_dmacoherent(prot) argument
297 pgprot_t dma_pgprot(struct device *dev, pgprot_t prot, unsigned long attrs);
299 static inline pgprot_t dma_pgprot(struct device *dev, pgprot_t prot, in dma_pgprot() argument
302 return prot; /* no protection bits supported without page tables */ in dma_pgprot()
Diommu.h153 int prot; member
266 phys_addr_t paddr, size_t size, int prot, gfp_t gfp);
269 int prot, gfp_t gfp, size_t *mapped);
271 struct scatterlist *sg, unsigned int nents, int prot,
453 phys_addr_t paddr, size_t size, int prot);
455 phys_addr_t paddr, size_t size, int prot);
462 struct scatterlist *sg, unsigned int nents, int prot);
465 unsigned int nents, int prot);
478 iommu_alloc_resv_region(phys_addr_t start, size_t length, int prot,
752 phys_addr_t paddr, size_t size, int prot) in iommu_map() argument
[all …]
Dpkeys.h14 #define arch_override_mprotect_pkey(vma, prot, pkey) (0) argument
Dio-pgtable.h165 phys_addr_t paddr, size_t size, int prot, gfp_t gfp);
168 int prot, gfp_t gfp, size_t *mapped);
170 struct scatterlist *sg, unsigned int nents, int prot,
Dvfio.h114 int npage, int prot,
152 int npage, int prot, unsigned long *phys_pfn);
158 int prot, unsigned long *phys_pfn);
Dcrash_dump.h27 unsigned long size, pgprot_t prot);
/include/xen/
Dxen-ops.h54 xen_pfn_t *pfn, int nr, int *err_ptr, pgprot_t prot,
59 pgprot_t prot, unsigned int domid, in xen_remap_pfn() argument
73 int *err_ptr, pgprot_t prot,
86 int *err_ptr, pgprot_t prot, in xen_xlate_remap_gfn_array() argument
123 int *err_ptr, pgprot_t prot, in xen_remap_domain_gfn_array() argument
129 prot, domid, pages); in xen_remap_domain_gfn_array()
136 return xen_remap_pfn(vma, addr, gfn, nr, err_ptr, prot, domid, in xen_remap_domain_gfn_array()
159 pgprot_t prot, unsigned int domid) in xen_remap_domain_mfn_array() argument
164 return xen_remap_pfn(vma, addr, mfn, nr, err_ptr, prot, domid, in xen_remap_domain_mfn_array()
183 pgprot_t prot, unsigned int domid, in xen_remap_domain_gfn_range() argument
[all …]
/include/asm-generic/
Dsyscalls.h15 unsigned long prot, unsigned long flags,
21 unsigned long prot, unsigned long flags,
/include/trace/hooks/
Dsyscall_check.h23 TP_PROTO(const struct file *file, unsigned long prot,
25 TP_ARGS(file, prot, flag, ret));
/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/linux/sunrpc/
Dsvcsock.h68 struct svc_xprt *svc_sock_create(struct svc_serv *serv, int prot);
/include/uapi/linux/
Dagpgart.h83 int prot; /* prot flags for mmap */ member
/include/linux/regulator/
Dmachine.h89 int prot; member

12