Home
last modified time | relevance | path

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

123

/linux-4.19.296/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);
/linux-4.19.296/lib/
Dioremap.c62 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pte_range() argument
73 set_pte_at(&init_mm, addr, pte, pfn_pte(pfn, prot)); in ioremap_pte_range()
80 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pmd_range() argument
96 if (pmd_set_huge(pmd, phys_addr + addr, prot)) in ioremap_pmd_range()
100 if (ioremap_pte_range(pmd, addr, next, phys_addr + addr, prot)) in ioremap_pmd_range()
107 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pud_range() argument
123 if (pud_set_huge(pud, phys_addr + addr, prot)) in ioremap_pud_range()
127 if (ioremap_pmd_range(pud, addr, next, phys_addr + addr, prot)) in ioremap_pud_range()
134 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_p4d_range() argument
149 if (p4d_set_huge(p4d, phys_addr + addr, prot)) in ioremap_p4d_range()
[all …]
/linux-4.19.296/include/linux/
Dmman.h81 #define arch_calc_vm_prot_bits(prot, pkey) 0 argument
95 static inline bool arch_validate_prot(unsigned long prot, unsigned long addr) in arch_validate_prot() argument
97 return (prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC | PROT_SEM)) == 0; in arch_validate_prot()
117 calc_vm_prot_bits(unsigned long prot, unsigned long pkey) in calc_vm_prot_bits() argument
119 return _calc_vm_trans(prot, PROT_READ, VM_READ ) | in calc_vm_prot_bits()
120 _calc_vm_trans(prot, PROT_WRITE, VM_WRITE) | in calc_vm_prot_bits()
121 _calc_vm_trans(prot, PROT_EXEC, VM_EXEC) | in calc_vm_prot_bits()
122 arch_calc_vm_prot_bits(prot, pkey); in calc_vm_prot_bits()
Dio-mapping.h37 pgprot_t prot; member
56 pgprot_t prot; in io_mapping_init_wc() local
58 if (iomap_create_wc(base, size, &prot)) in io_mapping_init_wc()
63 iomap->prot = prot; in io_mapping_init_wc()
84 return iomap_atomic_prot_pfn(pfn, mapping->prot); in io_mapping_map_atomic_wc()
130 iomap->prot = pgprot_noncached_wc(PAGE_KERNEL); in io_mapping_init_wc()
132 iomap->prot = pgprot_writecombine(PAGE_KERNEL); in io_mapping_init_wc()
134 iomap->prot = pgprot_noncached(PAGE_KERNEL); in io_mapping_init_wc()
Dvmalloc.h61 int node, pgprot_t prot);
80 extern void *__vmalloc(unsigned long size, gfp_t gfp_mask, pgprot_t prot);
83 pgprot_t prot, unsigned long vm_flags, int node,
101 unsigned long flags, pgprot_t prot);
139 extern int map_vm_area(struct vm_struct *area, pgprot_t prot,
143 pgprot_t prot, struct page **pages);
149 pgprot_t prot, struct page **pages) in map_kernel_range_noflush() argument
Diommu.h154 int prot; member
199 phys_addr_t paddr, size_t size, int prot);
224 phys_addr_t paddr, u64 size, int prot);
297 phys_addr_t paddr, size_t size, int prot);
303 struct scatterlist *sg,unsigned int nents, int prot);
312 iommu_alloc_resv_region(phys_addr_t start, size_t length, int prot,
351 int prot);
451 phys_addr_t paddr, size_t size, int prot) in iommu_map() argument
470 unsigned int nents, int prot) in iommu_map_sg() argument
490 u64 size, int prot) in iommu_domain_window_enable() argument
Ddma-iommu.h48 unsigned long attrs, int prot, dma_addr_t *handle,
56 unsigned long offset, size_t size, int prot);
58 int nents, int prot);
Dagpgart.h56 int prot; /* prot flags for mmap */ member
62 pgprot_t prot; member
Dima.h23 unsigned long prot, unsigned long flags);
51 unsigned long prot, unsigned long flags) in ima_file_mmap() argument
Dio.h37 phys_addr_t phys_addr, pgprot_t prot);
40 phys_addr_t phys_addr, pgprot_t prot) in ioremap_page_range() argument
Dpkeys.h12 #define arch_override_mprotect_pkey(vma, prot, pkey) (0) argument
/linux-4.19.296/fs/affs/
Damigaffs.c391 affs_prot_to_mode(u32 prot) in affs_prot_to_mode() argument
395 if (!(prot & FIBF_NOWRITE)) in affs_prot_to_mode()
397 if (!(prot & FIBF_NOREAD)) in affs_prot_to_mode()
399 if (!(prot & FIBF_NOEXECUTE)) in affs_prot_to_mode()
401 if (prot & FIBF_GRP_WRITE) in affs_prot_to_mode()
403 if (prot & FIBF_GRP_READ) in affs_prot_to_mode()
405 if (prot & FIBF_GRP_EXECUTE) in affs_prot_to_mode()
407 if (prot & FIBF_OTR_WRITE) in affs_prot_to_mode()
409 if (prot & FIBF_OTR_READ) in affs_prot_to_mode()
411 if (prot & FIBF_OTR_EXECUTE) in affs_prot_to_mode()
[all …]
/linux-4.19.296/include/asm-generic/
Dpgtable.h444 #define move_pte(pte, prot, old_addr, new_addr) (pte) argument
456 #define pgprot_noncached(prot) (prot) argument
634 #define pgprot_encrypted(prot) (prot) argument
638 #define pgprot_decrypted(prot) (prot) argument
767 static inline int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_remap() argument
778 static inline void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_insert() argument
809 extern int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot,
812 extern void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot,
1005 int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot);
1008 static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot) in p4d_set_huge() argument
[all …]
Dsyscalls.h15 unsigned long prot, unsigned long flags,
21 unsigned long prot, unsigned long flags,
/linux-4.19.296/include/trace/events/
Dsock.h94 TP_PROTO(struct sock *sk, struct proto *prot, long allocated, int kind),
96 TP_ARGS(sk, prot, allocated, kind),
111 strncpy(__entry->name, prot->name, 32);
112 __entry->sysctl_mem[0] = READ_ONCE(prot->sysctl_mem[0]);
113 __entry->sysctl_mem[1] = READ_ONCE(prot->sysctl_mem[1]);
114 __entry->sysctl_mem[2] = READ_ONCE(prot->sysctl_mem[2]);
116 __entry->sysctl_rmem = sk_get_rmem0(sk, prot);
118 __entry->sysctl_wmem = sk_get_wmem0(sk, prot);
/linux-4.19.296/include/xen/
Dxen-ops.h85 int *err_ptr, pgprot_t prot,
108 int *err_ptr, pgprot_t prot,
126 pgprot_t prot, unsigned domid,
135 int *err_ptr, pgprot_t prot,
148 int *err_ptr, pgprot_t prot, in xen_xlate_remap_gfn_array() argument
/linux-4.19.296/drivers/isdn/hisax/
Dl3dss1.c55 retval = p->prot.dss1.last_invoke_id + 1; /* try new id */ in new_invoke_id()
56 while ((i) && (p->prot.dss1.invoke_used[retval >> 3] == 0xFF)) { in new_invoke_id()
57 p->prot.dss1.last_invoke_id = (retval & 0xF8) + 8; in new_invoke_id()
61 while (p->prot.dss1.invoke_used[retval >> 3] & (1 << (retval & 7))) in new_invoke_id()
65 p->prot.dss1.last_invoke_id = retval; in new_invoke_id()
66 p->prot.dss1.invoke_used[retval >> 3] |= (1 << (retval & 7)); in new_invoke_id()
78 p->prot.dss1.invoke_used[id >> 3] &= ~(1 << (id & 7)); in free_invoke_id()
92 proc->prot.dss1.invoke_id = 0; in dss1_new_l3_process()
93 proc->prot.dss1.remote_operation = 0; in dss1_new_l3_process()
94 proc->prot.dss1.uus1_data[0] = '\0'; in dss1_new_l3_process()
[all …]
Dl3ni1.c54 retval = p->prot.ni1.last_invoke_id + 1; /* try new id */ in new_invoke_id()
55 while ((i) && (p->prot.ni1.invoke_used[retval >> 3] == 0xFF)) { in new_invoke_id()
56 p->prot.ni1.last_invoke_id = (retval & 0xF8) + 8; in new_invoke_id()
60 while (p->prot.ni1.invoke_used[retval >> 3] & (1 << (retval & 7))) in new_invoke_id()
64 p->prot.ni1.last_invoke_id = retval; in new_invoke_id()
65 p->prot.ni1.invoke_used[retval >> 3] |= (1 << (retval & 7)); in new_invoke_id()
77 p->prot.ni1.invoke_used[id >> 3] &= ~(1 << (id & 7)); in free_invoke_id()
91 proc->prot.ni1.invoke_id = 0; in ni1_new_l3_process()
92 proc->prot.ni1.remote_operation = 0; in ni1_new_l3_process()
93 proc->prot.ni1.uus1_data[0] = '\0'; in ni1_new_l3_process()
[all …]
/linux-4.19.296/drivers/misc/mic/scif/
Dscif_rma_list.c115 if ((window->prot & req->prot) == req->prot) { in scif_query_tcw()
164 if ((window->prot & req->prot) != req->prot) in scif_query_window()
Dscif_rma.c90 scif_create_pinned_pages(int nr_pages, int prot) in scif_create_pinned_pages() argument
103 pin->prot = prot; in scif_create_pinned_pages()
122 int writeable = pin->prot & SCIF_PROT_WRITE; in scif_destroy_pinned_pages()
935 remote_window->prot = window->prot; in scif_prep_remote_window()
1204 req.prot = 0; in scif_recv_unreg()
1332 int prot = *out_prot; in __scif_pin_pages() local
1342 if (prot & ~(SCIF_PROT_READ | SCIF_PROT_WRITE)) in __scif_pin_pages()
1356 pinned_pages = scif_create_pinned_pages(nr_pages, prot); in __scif_pin_pages()
1383 if (prot == SCIF_PROT_READ) in __scif_pin_pages()
1385 prot |= SCIF_PROT_WRITE; in __scif_pin_pages()
[all …]
Dscif_rma_list.h39 int prot; member
/linux-4.19.296/drivers/xen/
Dxlate_mmu.c67 pgprot_t prot; member
101 pte_t pte = pte_mkspecial(pfn_pte(page_to_pfn(page), info->prot)); in remap_pte_fn()
147 int *err_ptr, pgprot_t prot, in xen_xlate_remap_gfn_array() argument
161 data.prot = prot; in xen_xlate_remap_gfn_array()
/linux-4.19.296/drivers/misc/
Daspeed-lpc-ctrl.c51 pgprot_t prot = vma->vm_page_prot; in aspeed_lpc_ctrl_mmap() local
57 prot = pgprot_noncached(prot); in aspeed_lpc_ctrl_mmap()
61 vsize, prot)) in aspeed_lpc_ctrl_mmap()
/linux-4.19.296/drivers/slimbus/
Dstream.c230 rt->prot = SLIM_PROTO_PUSH; in slim_stream_prepare()
232 rt->prot = SLIM_PROTO_PULL; in slim_stream_prepare()
234 rt->prot = SLIM_PROTO_ISO; in slim_stream_prepare()
276 if (stream->prot != SLIM_PROTO_ISO) in slim_define_channel_content()
311 wbuf[2] = (stream->prot << 4) | ((port->ch.seg_dist & 0xF00) >> 8); in slim_define_channel()
312 if (stream->prot == SLIM_PROTO_ISO) in slim_define_channel()
/linux-4.19.296/drivers/s390/net/
Dqeth_core.h232 #define qeth_is_ipafunc_supported(c, prot, f) \ argument
233 ((prot == QETH_PROT_IPV6) ? \
235 #define qeth_is_ipafunc_enabled(c, prot, f) \ argument
236 ((prot == QETH_PROT_IPV6) ? \
871 __be16 prot = veth->h_vlan_proto; in qeth_get_ip_version() local
873 if (prot == htons(ETH_P_8021Q)) in qeth_get_ip_version()
874 prot = veth->h_vlan_encapsulated_proto; in qeth_get_ip_version()
876 switch (prot) { in qeth_get_ip_version()
927 enum qeth_prot_versions prot);

123