Searched refs:prot (Results 1 - 25 of 29) sorted by relevance

12

/include/net/
H A Dprotocol.h86 struct proto *prot; member in struct:inet_protosw
103 int inet_add_protocol(const struct net_protocol *prot, unsigned char num);
104 int inet_del_protocol(const struct net_protocol *prot, unsigned char num);
105 int inet_add_offload(const struct net_offload *prot, unsigned char num);
106 int inet_del_offload(const struct net_offload *prot, unsigned char num);
110 int udp_add_offload(struct udp_offload *prot);
111 void udp_del_offload(struct udp_offload *prot);
114 int inet6_add_protocol(const struct inet6_protocol *prot, unsigned char num);
115 int inet6_del_protocol(const struct inet6_protocol *prot, unsigned char num);
119 int inet6_add_offload(const struct net_offload *prot, unsigne
[all...]
H A Dsock.h1081 int proto_register(struct proto *prot, int alloc_slab);
1082 void proto_unregister(struct proto *prot);
1180 struct proto *prot = sk->sk_prot; local
1182 for (; cg_proto; cg_proto = parent_cg_proto(prot, cg_proto))
1195 struct proto *prot = sk->sk_prot; local
1197 for (; cg_proto; cg_proto = parent_cg_proto(prot, cg_proto))
1206 long *prot = sk->sk_prot->sysctl_mem; local
1208 prot = sk->sk_cgrp->sysctl_mem;
1209 return prot[index];
1212 static inline void memcg_memory_allocated_add(struct cg_proto *prot, argument
1225 memcg_memory_allocated_sub(struct cg_proto *prot, unsigned long amt) argument
1231 memcg_memory_allocated_read(struct cg_proto *prot) argument
1241 struct proto *prot = sk->sk_prot; local
1251 struct proto *prot = sk->sk_prot; local
1266 struct proto *prot = sk->sk_prot; local
1276 struct proto *prot = sk->sk_prot; local
1290 struct proto *prot = sk->sk_prot; local
1305 struct proto *prot = sk->sk_prot; local
1314 proto_sockets_allocated_sum_positive(struct proto *prot) argument
1320 proto_memory_allocated(struct proto *prot) argument
1326 proto_memory_pressure(struct proto *prot) argument
1339 sock_prot_inuse_add(struct net *net, struct proto *prot, int inc) argument
[all...]
H A Dllc_conn.h99 struct proto *prot);
/include/asm-generic/
H A Dsyscalls.h14 unsigned long prot, unsigned long flags,
20 unsigned long prot, unsigned long flags,
H A Dpgtable.h229 #define move_pte(pte, prot, old_addr, new_addr) (pte)
245 #define pgprot_noncached(prot) (prot)
494 static inline int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot, argument
505 static inline int track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, argument
530 extern int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot,
533 extern int track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot,
H A Ddma-mapping-common.h184 pgprot_t prot, const void *caller);
187 unsigned long vm_flags, pgprot_t prot,
/include/linux/
H A Dmman.h38 #define arch_calc_vm_prot_bits(prot) 0
50 * Returns true if the prot flags are valid
52 static inline int arch_validate_prot(unsigned long prot) argument
54 return (prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC | PROT_SEM)) == 0;
70 * Combine the mmap "prot" argument into "vm_flags" used internally.
73 calc_vm_prot_bits(unsigned long prot) argument
75 return _calc_vm_trans(prot, PROT_READ, VM_READ ) |
76 _calc_vm_trans(prot, PROT_WRITE, VM_WRITE) |
77 _calc_vm_trans(prot, PROT_EXEC, VM_EXEC) |
78 arch_calc_vm_prot_bits(prot);
[all...]
H A Dio-mapping.h41 pgprot_t prot; member in struct:io_mapping
55 pgprot_t prot; local
61 if (iomap_create_wc(base, size, &prot))
66 iomap->prot = prot;
93 return iomap_atomic_prot_pfn(pfn, mapping->prot);
H A Dvmalloc.h56 int node, pgprot_t prot);
75 extern void *__vmalloc(unsigned long size, gfp_t gfp_mask, pgprot_t prot);
78 pgprot_t prot, int node, const void *caller);
82 unsigned long flags, pgprot_t prot);
115 extern int map_vm_area(struct vm_struct *area, pgprot_t prot,
119 pgprot_t prot, struct page **pages);
125 pgprot_t prot, struct page **pages)
124 map_kernel_range_noflush(unsigned long start, unsigned long size, pgprot_t prot, struct page **pages) argument
H A Dagpgart.h51 * The "prot" down below needs still a "sleep" flag somehow ...
56 int prot; /* prot flags for mmap */ member in struct:agp_segment
62 pgprot_t prot; member in struct:agp_segment_priv
H A Dima.h20 extern int ima_file_mmap(struct file *file, unsigned long prot);
40 static inline int ima_file_mmap(struct file *file, unsigned long prot) argument
H A Dio.h32 phys_addr_t phys_addr, pgprot_t prot);
35 phys_addr_t phys_addr, pgprot_t prot)
34 ioremap_page_range(unsigned long addr, unsigned long end, phys_addr_t phys_addr, pgprot_t prot) argument
H A Dcrash_dump.h23 unsigned long size, pgprot_t prot);
H A Diommu.h114 phys_addr_t paddr, size_t size, int prot);
128 phys_addr_t paddr, u64 size, int prot);
156 phys_addr_t paddr, size_t size, int prot);
201 int prot);
285 phys_addr_t paddr, int gfp_order, int prot)
298 u64 size, int prot)
284 iommu_map(struct iommu_domain *domain, unsigned long iova, phys_addr_t paddr, int gfp_order, int prot) argument
296 iommu_domain_window_enable(struct iommu_domain *domain, u32 wnd_nr, phys_addr_t paddr, u64 size, int prot) argument
H A Dlibata.h1017 static inline unsigned int ata_prot_flags(u8 prot) argument
1019 switch (prot) {
1038 static inline int ata_is_atapi(u8 prot) argument
1040 return ata_prot_flags(prot) & ATA_PROT_FLAG_ATAPI;
1043 static inline int ata_is_nodata(u8 prot) argument
1045 return !(ata_prot_flags(prot) & ATA_PROT_FLAG_DATA);
1048 static inline int ata_is_pio(u8 prot) argument
1050 return ata_prot_flags(prot) & ATA_PROT_FLAG_PIO;
1053 static inline int ata_is_dma(u8 prot) argument
1055 return ata_prot_flags(prot)
1058 ata_is_ncq(u8 prot) argument
1063 ata_is_data(u8 prot) argument
[all...]
H A Dhighmem.h71 #define kmap_atomic_prot(page, prot) kmap_atomic(page)
H A Dsecurity.h95 unsigned long prot, unsigned long flags);
612 * @prot contains the protection that will be applied by the kernel.
619 * @prot contains the protection that will be applied by the kernel.
1559 unsigned long reqprot, unsigned long prot,
1563 unsigned long prot);
1839 int security_mmap_file(struct file *file, unsigned long prot,
1843 unsigned long prot);
2315 static inline int security_mmap_file(struct file *file, unsigned long prot, argument
2328 unsigned long prot)
2326 security_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot, unsigned long prot) argument
/include/trace/events/
H A Dsock.h34 TP_PROTO(struct sock *sk, struct proto *prot, long allocated),
36 TP_ARGS(sk, prot, allocated),
47 strncpy(__entry->name, prot->name, 32);
48 __entry->sysctl_mem = prot->sysctl_mem;
50 __entry->sysctl_rmem = prot->sysctl_rmem[0];
/include/linux/can/
H A Dcore.h34 * @prot: pointer to struct proto structure.
40 struct proto *prot; member in struct:can_proto
/include/xen/
H A Dxen-ops.h33 pgprot_t prot, unsigned domid,
/include/linux/sunrpc/
H A Dsvcsock.h64 struct svc_xprt *svc_sock_create(struct svc_serv *serv, int prot);
H A Dsvc.h356 u32 prot; /* protocol (UDP or TCP) */ member in struct:svc_deferred_req
H A Dxprt.h163 int prot; /* IP protocol */ member in struct:rpc_xprt
/include/uapi/linux/
H A Dagpgart.h77 * The "prot" down below needs still a "sleep" flag somehow ...
82 int prot; /* prot flags for mmap */ member in struct:_agp_segment
/include/net/phonet/
H A Dphonet.h107 struct proto *prot; member in struct:phonet_protocol

Completed in 387 milliseconds

12