Home
last modified time | relevance | path

Searched refs:proto (Results 1 – 25 of 1111) sorted by relevance

12345678910>>...45

/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dproto.c26 proto = kzalloc(sizeof(*proto), GFP_ATOMIC); in brcmf_proto_attach()
27 if (!proto) in brcmf_proto_attach()
30 drvr->proto = proto; in brcmf_proto_attach()
43 if (!proto->tx_queue_data || (proto->hdrpull == NULL) || in brcmf_proto_attach()
44 (proto->query_dcmd == NULL) || (proto->set_dcmd == NULL) || in brcmf_proto_attach()
46 (proto->delete_peer == NULL) || (proto->add_tdls_peer == NULL) || in brcmf_proto_attach()
54 kfree(proto); in brcmf_proto_attach()
55 drvr->proto = NULL; in brcmf_proto_attach()
63 if (drvr->proto) { in brcmf_proto_detach()
68 kfree(drvr->proto); in brcmf_proto_detach()
[all …]
H A Dproto.h96 drvr->proto->delete_peer(drvr, ifidx, peer); in brcmf_proto_delete_peer()
114 ifp->drvr->proto->rxreorder(ifp, skb); in brcmf_proto_rxreorder()
120 if (!drvr->proto->add_if) in brcmf_proto_add_if()
122 drvr->proto->add_if(ifp); in brcmf_proto_add_if()
128 if (!drvr->proto->del_if) in brcmf_proto_del_if()
130 drvr->proto->del_if(ifp); in brcmf_proto_del_if()
136 if (!drvr->proto->reset_if) in brcmf_proto_reset_if()
138 drvr->proto->reset_if(ifp); in brcmf_proto_reset_if()
144 if (!drvr->proto->init_done) in brcmf_proto_init_done()
146 return drvr->proto->init_done(drvr); in brcmf_proto_init_done()
[all …]
/openbmc/linux/net/802/
H A Dp8022.c38 struct datalink_proto *proto; in register_8022_client() local
40 proto = kmalloc(sizeof(*proto), GFP_ATOMIC); in register_8022_client()
41 if (proto) { in register_8022_client()
42 proto->type[0] = type; in register_8022_client()
43 proto->header_length = 3; in register_8022_client()
46 if (!proto->sap) { in register_8022_client()
47 kfree(proto); in register_8022_client()
48 proto = NULL; in register_8022_client()
51 return proto; in register_8022_client()
56 llc_sap_put(proto->sap); in unregister_8022_client()
[all …]
H A Dpsnap.c35 proto = p; in find_snap_client()
39 return proto; in find_snap_client()
49 struct datalink_proto *proto; in snap_rcv() local
59 if (proto) { in snap_rcv()
67 if (unlikely(!proto)) in snap_rcv()
135 proto = kmalloc(sizeof(*proto), GFP_ATOMIC); in register_snap_client()
136 if (proto) { in register_snap_client()
138 proto->rcvfunc = rcvfunc; in register_snap_client()
146 return proto; in register_snap_client()
155 list_del_rcu(&proto->node); in unregister_snap_client()
[all …]
H A Dstp.c35 const struct stp_proto *proto; in stp_pdu_rcv() local
43 proto = rcu_dereference(garp_protos[eh->h_dest[5] - in stp_pdu_rcv()
45 if (proto && in stp_pdu_rcv()
49 proto = rcu_dereference(stp_proto); in stp_pdu_rcv()
51 if (!proto) in stp_pdu_rcv()
54 proto->rcv(proto, skb, dev); in stp_pdu_rcv()
62 int stp_proto_register(const struct stp_proto *proto) in stp_proto_register() argument
74 if (is_zero_ether_addr(proto->group_address)) in stp_proto_register()
75 rcu_assign_pointer(stp_proto, proto); in stp_proto_register()
78 GARP_ADDR_MIN], proto); in stp_proto_register()
[all …]
/openbmc/linux/include/linux/
H A Dtracepoint.h255 static inline void trace_##name(proto) \
319 int __traceiter_##_name(void *__data, proto) \
340 #define DEFINE_TRACE(name, proto, args) \ argument
355 static inline void trace_##name(proto) \
381 #define DEFINE_TRACE(name, proto, args) argument
431 #define DECLARE_TRACE(name, proto, args) \ argument
434 PARAMS(void *__data, proto))
439 PARAMS(void *__data, proto))
562 DECLARE_TRACE_CONDITION(name, PARAMS(proto), \
572 DECLARE_TRACE_CONDITION(name, PARAMS(proto), \
[all …]
/openbmc/linux/drivers/net/wan/
H A Dhdlc.c71 if (hdlc->proto->xmit) in hdlc_start_xmit()
82 if (hdlc->proto->start) in hdlc_proto_start()
90 if (hdlc->proto->stop) in hdlc_proto_stop()
151 if (!hdlc->proto) in hdlc_open()
212 while (proto) { in hdlc_ioctl()
216 proto = proto->next; in hdlc_ioctl()
291 dev_to_hdlc(dev)->proto = proto; in attach_hdlc_protocol()
302 if (hdlc->proto) { in detach_hdlc_protocol()
313 hdlc->proto = NULL; in detach_hdlc_protocol()
327 first_proto = proto; in register_hdlc_protocol()
[all …]
H A Dhdlc_ppp.c62 struct proto { struct
304 struct proto *proto = get_proto(dev, pid); in ppp_cp_event() local
319 mod_timer(&proto->timer, proto->timeout = in ppp_cp_event()
324 proto->restart_counter = (proto->state == STOPPING) ? in ppp_cp_event()
348 mod_timer(&proto->timer, proto->timeout = in ppp_cp_event()
438 struct proto *proto; in ppp_rx() local
564 struct proto *proto = from_timer(proto, t, timer); in ppp_timer() local
582 ppp_cp_event(proto->dev, proto->pid, TO_GOOD, 0, 0, in ppp_timer()
589 ppp_cp_event(proto->dev, proto->pid, TO_BAD, 0, 0, in ppp_timer()
621 struct proto *proto = &ppp->protos[i]; in ppp_start() local
[all …]
/openbmc/linux/drivers/ata/pata_parport/
H A Dpata_parport.c31 pi->proto->connect(pi); in pi_connect()
36 pi->proto->disconnect(pi); in pi_disconnect()
358 pi->proto->connect(pi); in default_test_proto()
369 pi->proto->disconnect(pi); in default_test_proto()
382 if (pi->proto->test_proto) in pi_test_proto()
428 e = pi->proto->max_units; in pi_probe_unit()
431 if (pi->proto->test_port) { in pi_probe_unit()
482 struct pi_protocol *proto; member
490 return pi->pardev->port == match->parport && pi->proto == match->proto; in pi_find_dev()
533 pi->proto = pr; in pi_init_one()
[all …]
/openbmc/linux/include/trace/
H A Ddefine_trace.h28 DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
33 PARAMS(proto), \
40 #define TRACE_EVENT_FN(name, proto, args, tstruct, \ argument
53 #define DEFINE_EVENT_NOP(template, name, proto, args) argument
56 #define DEFINE_EVENT(template, name, proto, args) \ argument
57 DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
65 DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
69 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
72 #define DECLARE_TRACE(name, proto, args) \ argument
73 DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
[all …]
H A Dtrace_events.h41 PARAMS(proto), \
46 DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
61 #define DEFINE_EVENT(template, name, proto, args) \ argument
75 #define TRACE_EVENT_FN(name, proto, args, tstruct, \ argument
77 TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \
121 #define DEFINE_EVENT(template, name, proto, args) argument
366 #define _TRACE_PERF_PROTO(call, proto) \ argument
368 perf_trace_##call(void *__data, proto);
374 #define _TRACE_PERF_PROTO(call, proto) argument
415 trace_event_raw_event_##call(void *__data, proto) \
[all …]
H A Dbpf_probe.h45 #define __BPF_DECLARE_TRACE(call, proto, args) \ argument
47 __bpf_trace_##call(void *__data, proto) \
55 __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args))
67 typedef void (*btf_trace_##call)(void *__data, proto); \
90 FIRST(proto); \
100 #define DEFINE_EVENT(template, call, proto, args) \ argument
105 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
108 #define DECLARE_TRACE(call, proto, args) \ argument
109 __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args)) \
113 #define DECLARE_TRACE_WRITABLE(call, proto, args, size) \ argument
[all …]
H A Dtrace_custom_events.h27 #define TRACE_CUSTOM_EVENT(name, proto, args, tstruct, assign, print) \ argument
29 PARAMS(proto), \
34 DEFINE_CUSTOM_EVENT(name, name, PARAMS(proto), PARAMS(args));
41 #define DECLARE_CUSTOM_EVENT_CLASS(name, proto, args, tstruct, assign, print) \ argument
51 #define DEFINE_CUSTOM_EVENT(template, name, proto, args) \ argument
68 #define DEFINE_CUSTOM_EVENT(template, name, proto, args) argument
108 #define DECLARE_CUSTOM_EVENT_CLASS(call, proto, args, tstruct, func, print) \ argument
122 struct trace_custom_event_data_offsets_##call *__data_offsets, proto) \
143 trace_custom_event_raw_event_##call(void *__data, proto) \
175 #define DEFINE_CUSTOM_EVENT(template, call, proto, args) \ argument
[all …]
/openbmc/linux/net/netfilter/
H A Dnf_conntrack_proto_tcp.c856 memset(&ct->proto.tcp, 0, sizeof(ct->proto.tcp)); in tcp_new()
872 memset(&ct->proto.tcp, 0, sizeof(ct->proto.tcp)); in tcp_new()
1054 ct->proto.tcp.seen[ct->proto.tcp.last_dir].td_end = in nf_conntrack_tcp_packet()
1055 ct->proto.tcp.last_end; in nf_conntrack_tcp_packet()
1056 ct->proto.tcp.seen[ct->proto.tcp.last_dir].td_maxend = in nf_conntrack_tcp_packet()
1057 ct->proto.tcp.last_end; in nf_conntrack_tcp_packet()
1058 ct->proto.tcp.seen[ct->proto.tcp.last_dir].td_maxwin = in nf_conntrack_tcp_packet()
1061 ct->proto.tcp.seen[ct->proto.tcp.last_dir].td_scale = in nf_conntrack_tcp_packet()
1064 ct->proto.tcp.seen[ct->proto.tcp.last_dir].flags = in nf_conntrack_tcp_packet()
1072 ct->proto.tcp.last_end = in nf_conntrack_tcp_packet()
[all …]
H A Dnf_conntrack_proto_sctp.c253 memset(&ct->proto.sctp, 0, sizeof(ct->proto.sctp)); in sctp_new()
416 ct->proto.sctp.init[dir] = 0; in nf_conntrack_sctp_packet()
417 ct->proto.sctp.init[!dir] = 0; in nf_conntrack_sctp_packet()
427 ct->proto.sctp.last_dir = dir; in nf_conntrack_sctp_packet()
448 ct->proto.sctp.vtag[!dir] = 0; in nf_conntrack_sctp_packet()
454 old_state = ct->proto.sctp.state; in nf_conntrack_sctp_packet()
474 if (ct->proto.sctp.init[dir] && ct->proto.sctp.init[!dir]) in nf_conntrack_sctp_packet()
475 ct->proto.sctp.init[!dir] = 0; in nf_conntrack_sctp_packet()
476 ct->proto.sctp.init[dir] = 1; in nf_conntrack_sctp_packet()
501 if (ct->proto.sctp.init[dir] && ct->proto.sctp.init[!dir] && in nf_conntrack_sctp_packet()
[all …]
/openbmc/linux/net/8021q/
H A Dvlan_core.c164 __be16 proto; member
171 if (proto == htons(ETH_P_8021Q) && in vlan_hw_filter_capable()
174 if (proto == htons(ETH_P_8021AD) && in vlan_hw_filter_capable()
181 __be16 proto, u16 vid) in vlan_vid_info_get() argument
186 if (vid_info->proto == proto && vid_info->vid == vid) in vlan_vid_info_get()
199 vid_info->proto = proto; in vlan_vid_info_alloc()
261 if (vlan_vid_info->proto == proto) { in vlan_filter_push_vids()
274 if (vlan_vid_info->proto == proto) in vlan_filter_push_vids()
288 if (vlan_vid_info->proto == proto) in vlan_filter_drop_vids()
290 vlan_vid_info->proto, in vlan_filter_drop_vids()
[all …]
/openbmc/linux/net/ipv4/
H A Dgre_demux.c48 ret = (cmpxchg((const struct gre_protocol **)&gre_proto[version], proto, NULL) == proto) ? in gre_del_protocol()
83 tpi->proto = greh->protocol; in gre_parse_header()
121 tpi->proto = proto; in gre_parse_header()
148 const struct gre_protocol *proto; in gre_rcv() local
160 proto = rcu_dereference(gre_proto[ver]); in gre_rcv()
161 if (!proto || !proto->handler) in gre_rcv()
163 ret = proto->handler(skb); in gre_rcv()
176 const struct gre_protocol *proto; in gre_err() local
185 proto = rcu_dereference(gre_proto[ver]); in gre_err()
186 if (proto && proto->err_handler) in gre_err()
[all …]
/openbmc/qemu/python/tests/
H A Dprotocol.py163 self.proto = NullProtocol()
167 repr(self.proto),
173 self.proto.runstate,
179 self.proto.name,
185 self.proto.logger.name,
193 self.proto.name,
198 self.proto.logger.name,
203 repr(self.proto),
290 await self.proto.disconnect()
450 await self.proto.disconnect()
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A Dreuseport_addr_any.c75 rcv_fds[i] = socket(family, proto, 0); in build_rcv_fd()
89 else if (proto == SOCK_DCCP) { in build_rcv_fd()
147 fd = socket(family, proto, 0); in connect_and_send()
151 if (proto == SOCK_DCCP && in connect_and_send()
168 static int receive_once(int epfd, int proto) in receive_once() argument
178 if (proto == SOCK_STREAM || proto == SOCK_DCCP) { in receive_once()
210 send_fd = connect_and_send(family, proto); in test()
212 recv_fd = receive_once(epfd, proto); in test()
238 test(rcv_fds, 9, fam_send, proto, rcv_fds[4]); in run_one_test()
246 if (proto == SOCK_DCCP) { in test_proto()
[all …]
/openbmc/linux/net/nfc/
H A Daf_nfc.c18 static int nfc_sock_create(struct net *net, struct socket *sock, int proto, in nfc_sock_create() argument
26 if (proto < 0 || proto >= NFC_SOCKPROTO_MAX) in nfc_sock_create()
30 if (proto_tab[proto] && try_module_get(proto_tab[proto]->owner)) { in nfc_sock_create()
31 rc = proto_tab[proto]->create(net, sock, proto_tab[proto], kern); in nfc_sock_create()
32 module_put(proto_tab[proto]->owner); in nfc_sock_create()
52 rc = proto_register(nfc_proto->proto, 0); in nfc_proto_register()
64 proto_unregister(nfc_proto->proto); in nfc_proto_register()
76 proto_unregister(nfc_proto->proto); in nfc_proto_unregister()
/openbmc/linux/drivers/s390/net/
H A Dqeth_l3.h33 enum qeth_prot_versions proto; member
48 enum qeth_prot_versions proto) in qeth_l3_init_ipaddr() argument
52 addr->proto = proto; in qeth_l3_init_ipaddr()
60 if (a1->proto != a2->proto) in qeth_l3_addr_match_ip()
62 if (a1->proto == QETH_PROT_IPV6) in qeth_l3_addr_match_ip()
82 if (a1->proto == QETH_PROT_IPV6) in qeth_l3_addr_match_all()
89 if (addr->proto == QETH_PROT_IPV6) in qeth_l3_ipaddr_hash()
97 enum qeth_prot_versions proto; member
104 int qeth_l3_ipaddr_to_string(enum qeth_prot_versions proto, const u8 *addr,
110 enum qeth_prot_versions proto, u8 *addr,
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D08347 local event export_name=foo extra_args nbd_addr nbd_url proto when
58 proto=tcp
62 proto=unix
81 if [ "$proto" = "tcp" ]; then
101 if [ "$proto" = "tcp" ]; then
112 for proto in tcp unix; do
115 check_disconnect "--$proto" "$event" "$when"
122 check_disconnect "--$proto" "$event" "$when"
127 check_disconnect "--$proto" "$event" "$when"
132 check_disconnect "--$proto" "$event" "$when"
[all …]
/openbmc/linux/scripts/
H A Dbpf_doc.py41 self.proto = proto
105 proto = self.parse_symbol()
107 ret = self.parse_ret(proto)
108 return APIElement(proto=proto, desc=desc, ret=ret)
111 proto = self.parse_proto()
114 return Helper(proto=proto, desc=desc, ret=ret)
143 def parse_desc(self, proto): argument
169 def parse_ret(self, proto): argument
290 name = proto['name']
597 for a in proto['args']:
[all …]
/openbmc/openbmc/poky/meta/recipes-graphics/xorg-proto/xcb-proto/
H A D0001-xcb-proto.pc.in-reinstate-libdir.patch4 Subject: [PATCH] xcb-proto.pc.in: reinstate libdir
7 | checking for xcb-proto >= 1.14... no
8 | configure: error: Package requirements (xcb-proto >= 1.14) were not met:
10 …64-alt/tmp/work/core2-64-poky-linux/libxcb/1.15-r0/recipe-sysroot/usr/share/pkgconfig/xcb-proto.pc'
12 Upstream-Status: Submitted [https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/merge_requests/31]
15 xcb-proto.pc.in | 1 +
18 diff --git a/xcb-proto.pc.in b/xcb-proto.pc.in
20 --- a/xcb-proto.pc.in
21 +++ b/xcb-proto.pc.in
/openbmc/linux/samples/bpf/
H A Dsockex2_kern.c31 switch (proto) { in proto_ports_offset()
108 if (proto == ETH_P_8021AD) { in flow_dissector()
114 if (proto == ETH_P_8021Q) { in flow_dissector()
120 if (likely(proto == ETH_P_IP)) in flow_dissector()
122 else if (proto == ETH_P_IPV6) in flow_dissector()
131 __be16 proto; in flow_dissector() member
142 proto = gre_proto; in flow_dissector()
151 if (proto == ETH_P_8021Q) { in flow_dissector()
152 proto = load_half(skb, in flow_dissector()
158 if (proto == ETH_P_IP) in flow_dissector()
[all …]

12345678910>>...45