Home
last modified time | relevance | path

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

12345678910>>...27

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Ddhd_msgbuf.c725 dhd->prot->d2h_sync_wait_max, dhd->prot->d2h_sync_wait_tot, in dhd_prot_d2h_sync_livelock()
763 dhd_prot_t *prot = dhd->prot; in dhd_prot_d2h_sync_seqnum() local
801 if (total_tries > prot->d2h_sync_wait_max) in dhd_prot_d2h_sync_seqnum()
802 prot->d2h_sync_wait_max = total_tries; in dhd_prot_d2h_sync_seqnum()
819 prot->d2h_sync_wait_tot += tries; in dhd_prot_d2h_sync_seqnum()
836 dhd_prot_t *prot = dhd->prot; in dhd_prot_d2h_sync_xorcsum() local
875 if (total_tries > prot->d2h_sync_wait_max) in dhd_prot_d2h_sync_xorcsum()
876 prot->d2h_sync_wait_max = total_tries; in dhd_prot_d2h_sync_xorcsum()
894 prot->d2h_sync_wait_tot += tries; in dhd_prot_d2h_sync_xorcsum()
915 dhd->prot->ioctl_received = reason; in dhd_wakeup_ioctl_event()
[all …]
H A Ddhd_cdc.c88 dhd_prot_t *prot = dhd->prot; in dhdcdc_msg() local
89 int len = ltoh32(prot->msg.len) + sizeof(cdc_ioctl_t); in dhdcdc_msg()
105 prot->ctl_completed = FALSE; in dhdcdc_msg()
106 err = dbus_send_ctl(dhd->bus, (void *)&prot->msg, len); in dhdcdc_msg()
114 err = dhd_bus_txctl(dhd->bus, (uchar*)&prot->msg, len); in dhdcdc_msg()
118 timeout = dhd_os_ioctl_resp_wait(dhd, &prot->ctl_completed); in dhdcdc_msg()
119 if ((!timeout) || (!prot->ctl_completed)) { in dhdcdc_msg()
121 timeout, prot->ctl_completed)); in dhdcdc_msg()
133 prot->ctl_completed = FALSE; in dhdcdc_msg()
140 timeout = dhd_os_ioctl_resp_wait(dhd, &prot->ctl_completed); in dhdcdc_msg()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddhd_msgbuf.c367 #define DHD_RING_IN_FLOWRINGS_POOL(prot, flowid) \ argument
368 (msgbuf_ring_t*)((prot)->h2d_flowrings_pool) + \
372 #define FOREACH_RING_IN_FLOWRINGS_POOL(prot, ring, flowid, total_flowrings) \ argument
374 (ring) = DHD_RING_IN_FLOWRINGS_POOL(prot, flowid); \
880 dhd->prot->d2h_sync_wait_max, dhd->prot->d2h_sync_wait_tot, in dhd_prot_d2h_sync_livelock()
935 dhd_prot_t *prot = dhd->prot; in dhd_prot_d2h_sync_seqnum() local
979 if (total_tries > prot->d2h_sync_wait_max) in dhd_prot_d2h_sync_seqnum()
980 prot->d2h_sync_wait_max = total_tries; in dhd_prot_d2h_sync_seqnum()
997 prot->d2h_sync_wait_tot += tries; in dhd_prot_d2h_sync_seqnum()
1014 dhd_prot_t *prot = dhd->prot; in dhd_prot_d2h_sync_xorcsum() local
[all …]
H A Ddhd_cdc.c87 dhd_prot_t *prot = dhd->prot; in dhdcdc_msg() local
88 int len = ltoh32(prot->msg.len) + sizeof(cdc_ioctl_t); in dhdcdc_msg()
102 err = dhd_bus_txctl(dhd->bus, (uchar*)&prot->msg, len); in dhdcdc_msg()
113 dhd_prot_t *prot = dhd->prot; in dhdcdc_cmplt() local
118 ret = dhd_bus_rxctl(dhd->bus, (uchar*)&prot->msg, cdc_len); in dhdcdc_cmplt()
121 } while (CDC_IOC_ID(ltoh32(prot->msg.flags)) != id); in dhdcdc_cmplt()
129 dhd_prot_t *prot = dhd->prot; in dhdcdc_query_ioctl() local
130 cdc_ioctl_t *msg = &prot->msg; in dhdcdc_query_ioctl()
174 msg->flags = (++prot->reqid << CDCF_IOC_ID_SHIFT); in dhdcdc_query_ioctl()
182 memcpy(prot->buf, buf, len); in dhdcdc_query_ioctl()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd_msgbuf.c367 #define DHD_RING_IN_FLOWRINGS_POOL(prot, flowid) \ argument
368 (msgbuf_ring_t*)((prot)->h2d_flowrings_pool) + \
372 #define FOREACH_RING_IN_FLOWRINGS_POOL(prot, ring, flowid, total_flowrings) \ argument
374 (ring) = DHD_RING_IN_FLOWRINGS_POOL(prot, flowid); \
880 dhd->prot->d2h_sync_wait_max, dhd->prot->d2h_sync_wait_tot, in dhd_prot_d2h_sync_livelock()
935 dhd_prot_t *prot = dhd->prot; in dhd_prot_d2h_sync_seqnum() local
979 if (total_tries > prot->d2h_sync_wait_max) in dhd_prot_d2h_sync_seqnum()
980 prot->d2h_sync_wait_max = total_tries; in dhd_prot_d2h_sync_seqnum()
997 prot->d2h_sync_wait_tot += tries; in dhd_prot_d2h_sync_seqnum()
1014 dhd_prot_t *prot = dhd->prot; in dhd_prot_d2h_sync_xorcsum() local
[all …]
H A Ddhd_cdc.c87 dhd_prot_t *prot = dhd->prot; in dhdcdc_msg() local
88 int len = ltoh32(prot->msg.len) + sizeof(cdc_ioctl_t); in dhdcdc_msg()
102 err = dhd_bus_txctl(dhd->bus, (uchar*)&prot->msg, len); in dhdcdc_msg()
113 dhd_prot_t *prot = dhd->prot; in dhdcdc_cmplt() local
118 ret = dhd_bus_rxctl(dhd->bus, (uchar*)&prot->msg, cdc_len); in dhdcdc_cmplt()
121 } while (CDC_IOC_ID(ltoh32(prot->msg.flags)) != id); in dhdcdc_cmplt()
129 dhd_prot_t *prot = dhd->prot; in dhdcdc_query_ioctl() local
130 cdc_ioctl_t *msg = &prot->msg; in dhdcdc_query_ioctl()
174 msg->flags = (++prot->reqid << CDCF_IOC_ID_SHIFT); in dhdcdc_query_ioctl()
182 memcpy(prot->buf, buf, len); in dhdcdc_query_ioctl()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Ddhd_msgbuf.c367 #define DHD_RING_IN_FLOWRINGS_POOL(prot, flowid) \ argument
368 (msgbuf_ring_t*)((prot)->h2d_flowrings_pool) + \
372 #define FOREACH_RING_IN_FLOWRINGS_POOL(prot, ring, flowid, total_flowrings) \ argument
374 (ring) = DHD_RING_IN_FLOWRINGS_POOL(prot, flowid); \
880 dhd->prot->d2h_sync_wait_max, dhd->prot->d2h_sync_wait_tot, in dhd_prot_d2h_sync_livelock()
935 dhd_prot_t *prot = dhd->prot; in dhd_prot_d2h_sync_seqnum() local
979 if (total_tries > prot->d2h_sync_wait_max) in dhd_prot_d2h_sync_seqnum()
980 prot->d2h_sync_wait_max = total_tries; in dhd_prot_d2h_sync_seqnum()
997 prot->d2h_sync_wait_tot += tries; in dhd_prot_d2h_sync_seqnum()
1014 dhd_prot_t *prot = dhd->prot; in dhd_prot_d2h_sync_xorcsum() local
[all …]
H A Ddhd_cdc.c87 dhd_prot_t *prot = dhd->prot; in dhdcdc_msg() local
88 int len = ltoh32(prot->msg.len) + sizeof(cdc_ioctl_t); in dhdcdc_msg()
102 err = dhd_bus_txctl(dhd->bus, (uchar*)&prot->msg, len); in dhdcdc_msg()
113 dhd_prot_t *prot = dhd->prot; in dhdcdc_cmplt() local
118 ret = dhd_bus_rxctl(dhd->bus, (uchar*)&prot->msg, cdc_len); in dhdcdc_cmplt()
121 } while (CDC_IOC_ID(ltoh32(prot->msg.flags)) != id); in dhdcdc_cmplt()
129 dhd_prot_t *prot = dhd->prot; in dhdcdc_query_ioctl() local
130 cdc_ioctl_t *msg = &prot->msg; in dhdcdc_query_ioctl()
174 msg->flags = (++prot->reqid << CDCF_IOC_ID_SHIFT); in dhdcdc_query_ioctl()
182 memcpy(prot->buf, buf, len); in dhdcdc_query_ioctl()
[all …]
/OK3568_Linux_fs/kernel/mm/
H A Ddebug_vm_pgtable.c63 pgprot_t prot = protection_map[idx]; in pte_basic_tests() local
64 pte_t pte = pfn_pte(pfn, prot); in pte_basic_tests()
92 pgprot_t prot) in pte_advanced_tests() argument
94 pte_t pte = pfn_pte(pfn, prot); in pte_advanced_tests()
103 pte = pfn_pte(pfn, prot); in pte_advanced_tests()
112 pte = pfn_pte(pfn, prot); in pte_advanced_tests()
125 pte = pfn_pte(pfn, prot); in pte_advanced_tests()
135 static void __init pte_savedwrite_tests(unsigned long pfn, pgprot_t prot) in pte_savedwrite_tests() argument
137 pte_t pte = pfn_pte(pfn, prot); in pte_savedwrite_tests()
150 pgprot_t prot = protection_map[idx]; in pmd_basic_tests() local
[all …]
H A Dioremap.c65 unsigned long end, phys_addr_t phys_addr, pgprot_t prot, in ioremap_pte_range() argument
77 set_pte_at(&init_mm, addr, pte, pfn_pte(pfn, prot)); in ioremap_pte_range()
86 pgprot_t prot) in ioremap_try_huge_pmd() argument
103 return pmd_set_huge(pmd, phys_addr, prot); in ioremap_try_huge_pmd()
107 unsigned long end, phys_addr_t phys_addr, pgprot_t prot, in ioremap_pmd_range() argument
119 if (ioremap_try_huge_pmd(pmd, addr, next, phys_addr, prot)) { in ioremap_pmd_range()
124 if (ioremap_pte_range(pmd, addr, next, phys_addr, prot, mask)) in ioremap_pmd_range()
132 pgprot_t prot) in ioremap_try_huge_pud() argument
149 return pud_set_huge(pud, phys_addr, prot); in ioremap_try_huge_pud()
153 unsigned long end, phys_addr_t phys_addr, pgprot_t prot, in ioremap_pud_range() argument
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_msgbuf.c432 #define DHD_RING_IN_FLOWRINGS_POOL(prot, flowid) \ argument
433 (msgbuf_ring_t*)((prot)->h2d_flowrings_pool) + \
437 #define FOREACH_RING_IN_FLOWRINGS_POOL(prot, ring, flowid, total_flowrings) \ argument
439 (ring) = DHD_RING_IN_FLOWRINGS_POOL(prot, flowid); \
792 static int dhd_prot_allocate_bufs(dhd_pub_t *dhd, dhd_prot_t *prot);
868 static void dhd_prot_ioctl_dump(dhd_prot_t *prot, struct bcmstrbuf *strbuf);
1042 return &dhd->prot->fw_trap_buf; in dhd_prot_get_minidump_buf()
1049 return dhd->prot->rxbufpost_sz; in dhd_prot_get_rxbufpost_sz()
1055 dhd_prot_t *prot = dhd->prot; in dhd_prot_get_h2d_rx_post_active() local
1056 msgbuf_ring_t *flow_ring = &prot->h2dring_rxp_subn; in dhd_prot_get_h2d_rx_post_active()
[all …]
H A Ddhd_cdc.c90 dhd_prot_t *prot = dhd->prot; in dhdcdc_msg() local
91 int len = ltoh32(prot->msg.len) + sizeof(cdc_ioctl_t); in dhdcdc_msg()
105 err = dhd_bus_txctl(dhd->bus, (uchar*)&prot->msg, len); in dhdcdc_msg()
116 dhd_prot_t *prot = dhd->prot; in dhdcdc_cmplt() local
121 ret = dhd_bus_rxctl(dhd->bus, (uchar*)&prot->msg, cdc_len); in dhdcdc_cmplt()
124 } while (CDC_IOC_ID(ltoh32(prot->msg.flags)) != id); in dhdcdc_cmplt()
138 dhd_prot_t *prot = dhd->prot; in dhdcdc_query_ioctl() local
139 cdc_ioctl_t *msg = &prot->msg; in dhdcdc_query_ioctl()
175 msg->flags = (++prot->reqid << CDCF_IOC_ID_SHIFT); in dhdcdc_query_ioctl()
183 memcpy(prot->buf, buf, len); in dhdcdc_query_ioctl()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_msgbuf.c436 #define DHD_RING_IN_FLOWRINGS_POOL(prot, flowid) \ argument
437 (msgbuf_ring_t*)((prot)->h2d_flowrings_pool) + \
441 #define FOREACH_RING_IN_FLOWRINGS_POOL(prot, ring, flowid, total_flowrings) \ argument
443 (ring) = DHD_RING_IN_FLOWRINGS_POOL(prot, flowid); \
796 static int dhd_prot_allocate_bufs(dhd_pub_t *dhd, dhd_prot_t *prot);
872 static void dhd_prot_ioctl_dump(dhd_prot_t *prot, struct bcmstrbuf *strbuf);
1046 return &dhd->prot->fw_trap_buf; in dhd_prot_get_minidump_buf()
1053 return dhd->prot->rxbufpost_sz; in dhd_prot_get_rxbufpost_sz()
1059 dhd_prot_t *prot = dhd->prot; in dhd_prot_get_h2d_rx_post_active() local
1060 msgbuf_ring_t *flow_ring = &prot->h2dring_rxp_subn; in dhd_prot_get_h2d_rx_post_active()
[all …]
H A Ddhd_cdc.c96 dhd_prot_t *prot = dhd->prot; in dhdcdc_msg() local
97 int len = ltoh32(prot->msg.len) + sizeof(cdc_ioctl_t); in dhdcdc_msg()
112 prot->ctl_completed = FALSE; in dhdcdc_msg()
113 err = dbus_send_ctl(dhd->bus, (void *)&prot->msg, len); in dhdcdc_msg()
120 err = dhd_bus_txctl(dhd->bus, (uchar*)&prot->msg, len); in dhdcdc_msg()
124 timeout = dhd_os_ioctl_resp_wait(dhd, &prot->ctl_completed); in dhdcdc_msg()
125 if ((!timeout) || (!prot->ctl_completed)) { in dhdcdc_msg()
127 timeout, prot->ctl_completed)); in dhdcdc_msg()
137 prot->ctl_completed = FALSE; in dhdcdc_msg()
144 timeout = dhd_os_ioctl_resp_wait(dhd, &prot->ctl_completed); in dhdcdc_msg()
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/include/asm/
H A Dmman.h9 static inline unsigned long arch_calc_vm_prot_bits(unsigned long prot, in arch_calc_vm_prot_bits() argument
14 if (system_supports_bti() && (prot & PROT_BTI)) in arch_calc_vm_prot_bits()
17 if (system_supports_mte() && (prot & PROT_MTE)) in arch_calc_vm_prot_bits()
22 #define arch_calc_vm_prot_bits(prot, pkey) arch_calc_vm_prot_bits(prot, pkey) argument
40 pteval_t prot = 0; in arch_vm_get_page_prot() local
43 prot |= PTE_GP; in arch_vm_get_page_prot()
56 prot |= PTE_ATTRINDX(MT_NORMAL_TAGGED); in arch_vm_get_page_prot()
58 return __pgprot(prot); in arch_vm_get_page_prot()
62 static inline bool arch_validate_prot(unsigned long prot, in arch_validate_prot() argument
73 return (prot & ~supported) == 0; in arch_validate_prot()
[all …]
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dprotocol.c32 int inet_add_protocol(const struct net_protocol *prot, unsigned char protocol) in inet_add_protocol() argument
34 if (!prot->netns_ok) { in inet_add_protocol()
41 NULL, prot) ? 0 : -1; in inet_add_protocol()
45 int inet_add_offload(const struct net_offload *prot, unsigned char protocol) in inet_add_offload() argument
48 NULL, prot) ? 0 : -1; in inet_add_offload()
52 int inet_del_protocol(const struct net_protocol *prot, unsigned char protocol) in inet_del_protocol() argument
57 prot, NULL) == prot) ? 0 : -1; in inet_del_protocol()
65 int inet_del_offload(const struct net_offload *prot, unsigned char protocol) in inet_del_offload() argument
70 prot, NULL) == prot) ? 0 : -1; in inet_del_offload()
/OK3568_Linux_fs/kernel/net/ipv6/
H A Dprotocol.c28 int inet6_add_protocol(const struct inet6_protocol *prot, unsigned char protocol) in inet6_add_protocol() argument
31 NULL, prot) ? 0 : -1; in inet6_add_protocol()
35 int inet6_del_protocol(const struct inet6_protocol *prot, unsigned char protocol) in inet6_del_protocol() argument
40 prot, NULL) == prot) ? 0 : -1; in inet6_del_protocol()
52 int inet6_add_offload(const struct net_offload *prot, unsigned char protocol) in inet6_add_offload() argument
55 NULL, prot) ? 0 : -1; in inet6_add_offload()
59 int inet6_del_offload(const struct net_offload *prot, unsigned char protocol) in inet6_del_offload() argument
64 prot, NULL) == prot) ? 0 : -1; in inet6_del_offload()
/OK3568_Linux_fs/kernel/arch/powerpc/mm/
H A Dioremap.c14 pgprot_t prot = pgprot_noncached(PAGE_KERNEL); in ioremap() local
18 return iowa_ioremap(addr, size, prot, caller); in ioremap()
19 return __ioremap_caller(addr, size, prot, caller); in ioremap()
25 pgprot_t prot = pgprot_noncached_wc(PAGE_KERNEL); in ioremap_wc() local
29 return iowa_ioremap(addr, size, prot, caller); in ioremap_wc()
30 return __ioremap_caller(addr, size, prot, caller); in ioremap_wc()
36 pgprot_t prot = pgprot_cached(PAGE_KERNEL); in ioremap_coherent() local
40 return iowa_ioremap(addr, size, prot, caller); in ioremap_coherent()
41 return __ioremap_caller(addr, size, prot, caller); in ioremap_coherent()
64 unsigned long size, pgprot_t prot) in early_ioremap_range() argument
[all …]
/OK3568_Linux_fs/kernel/net/tls/
H A Dtls_main.c65 static void build_protos(struct proto prot[TLS_NUM_CONFIG][TLS_NUM_CONFIG],
676 struct proto *prot = READ_ONCE(sk->sk_prot); in tls_build_proto() local
680 unlikely(prot != smp_load_acquire(&saved_tcpv6_prot))) { in tls_build_proto()
682 if (likely(prot != saved_tcpv6_prot)) { in tls_build_proto()
683 build_protos(tls_prots[TLSV6], prot); in tls_build_proto()
686 smp_store_release(&saved_tcpv6_prot, prot); in tls_build_proto()
692 unlikely(prot != smp_load_acquire(&saved_tcpv4_prot))) { in tls_build_proto()
694 if (likely(prot != saved_tcpv4_prot)) { in tls_build_proto()
695 build_protos(tls_prots[TLSV4], prot); in tls_build_proto()
698 smp_store_release(&saved_tcpv4_prot, prot); in tls_build_proto()
[all …]
H A Dtls_sw.c132 struct tls_prot_info *prot, struct sk_buff *skb) in padding_length() argument
138 if (prot->version == TLS_1_3_VERSION) { in padding_length()
144 if (back > rxm->full_len - prot->prepend_size) in padding_length()
168 struct tls_prot_info *prot; in tls_decrypt_done() local
177 prot = &tls_ctx->prot_info; in tls_decrypt_done()
190 pad = padding_length(ctx, prot, skb); in tls_decrypt_done()
196 rxm->offset += prot->prepend_size; in tls_decrypt_done()
197 rxm->full_len -= prot->overhead_size; in tls_decrypt_done()
237 struct tls_prot_info *prot = &tls_ctx->prot_info; in tls_do_decryption() local
242 aead_request_set_ad(aead_req, prot->aad_size); in tls_do_decryption()
[all …]
/OK3568_Linux_fs/kernel/arch/arm/include/asm/
H A Dpgtable.h112 #define __pgprot_modify(prot,mask,bits) \ argument
113 __pgprot((pgprot_val(prot) & ~(mask)) | (bits))
115 #define pgprot_noncached(prot) \ argument
116 __pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_UNCACHED)
118 #define pgprot_writecombine(prot) \ argument
119 __pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_BUFFERABLE)
121 #define pgprot_stronglyordered(prot) \ argument
122 __pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_UNCACHED)
124 #define pgprot_device(prot) \ argument
125 __pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_DEV_SHARED | L_PTE_SHARED | L_PTE_DIRTY | L_PTE_XN)
[all …]
/OK3568_Linux_fs/kernel/arch/m68k/include/asm/
H A Dpgtable_mm.h159 # define pgprot_noncached(prot) (__pgprot(pgprot_val(prot) | CF_PAGE_NOCACHE)) argument
166 #define pgprot_noncached(prot) \ argument
168 ? (__pgprot(pgprot_val(prot) | __SUN3_PAGE_NOCACHE)) \
170 ? (__pgprot(pgprot_val(prot) | _PAGE_NOCACHE030)) \
172 ? (__pgprot((pgprot_val(prot) & _CACHEMASK040) | _PAGE_NOCACHE_S)) \
173 : (prot)))
175 pgprot_t pgprot_dmacoherent(pgprot_t prot);
176 #define pgprot_dmacoherent(prot) pgprot_dmacoherent(prot) argument
/OK3568_Linux_fs/kernel/arch/x86/mm/
H A Diomap_32.c21 int iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot) in iomap_create_wc() argument
33 *prot = __pgprot(__PAGE_KERNEL | cachemode2protval(pcm)); in iomap_create_wc()
35 pgprot_val(*prot) &= __default_kernel_pte_mask; in iomap_create_wc()
47 void *kmap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot) in kmap_atomic_prot_pfn() argument
58 set_pte(kmap_pte - idx, pfn_pte(pfn, prot)); in kmap_atomic_prot_pfn()
68 iomap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot) in iomap_atomic_prot_pfn() argument
77 if (!pat_enabled() && pgprot2cachemode(prot) != _PAGE_CACHE_MODE_WB) in iomap_atomic_prot_pfn()
78 prot = __pgprot(__PAGE_KERNEL | in iomap_atomic_prot_pfn()
82 pgprot_val(prot) &= __default_kernel_pte_mask; in iomap_atomic_prot_pfn()
84 return (void __force __iomem *) kmap_atomic_prot_pfn(pfn, prot); in iomap_atomic_prot_pfn()
/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/
H A Dmman.h16 static inline unsigned long arch_calc_vm_prot_bits(unsigned long prot, in arch_calc_vm_prot_bits() argument
20 return (((prot & PROT_SAO) ? VM_SAO : 0) | pkey_to_vmflag_bits(pkey)); in arch_calc_vm_prot_bits()
22 return ((prot & PROT_SAO) ? VM_SAO : 0); in arch_calc_vm_prot_bits()
25 #define arch_calc_vm_prot_bits(prot, pkey) arch_calc_vm_prot_bits(prot, pkey) argument
39 static inline bool arch_validate_prot(unsigned long prot, unsigned long addr) in arch_validate_prot() argument
41 if (prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC | PROT_SEM | PROT_SAO)) in arch_validate_prot()
43 if (prot & PROT_SAO) { in arch_validate_prot()
/OK3568_Linux_fs/kernel/include/net/
H A Dprotocol.h84 struct proto *prot; member
101 int inet_add_protocol(const struct net_protocol *prot, unsigned char num);
102 int inet_del_protocol(const struct net_protocol *prot, unsigned char num);
103 int inet_add_offload(const struct net_offload *prot, unsigned char num);
104 int inet_del_offload(const struct net_offload *prot, unsigned char num);
109 int inet6_add_protocol(const struct inet6_protocol *prot, unsigned char num);
110 int inet6_del_protocol(const struct inet6_protocol *prot, unsigned char num);
114 int inet6_add_offload(const struct net_offload *prot, unsigned char num);
115 int inet6_del_offload(const struct net_offload *prot, unsigned char num);

12345678910>>...27