/include/trace/ |
D | define_trace.h | 27 #define TRACE_EVENT(name, proto, args, tstruct, assign, print) \ argument 28 DEFINE_TRACE(name, PARAMS(proto), PARAMS(args)) 31 #define TRACE_EVENT_CONDITION(name, proto, args, cond, tstruct, assign, print) \ argument 33 PARAMS(proto), \ 40 #define TRACE_EVENT_FN(name, proto, args, tstruct, \ argument 42 DEFINE_TRACE_FN(name, reg, unreg, PARAMS(proto), PARAMS(args)) 45 #define TRACE_EVENT_FN_COND(name, proto, args, cond, tstruct, \ argument 47 DEFINE_TRACE_FN(name, reg, unreg, PARAMS(proto), PARAMS(args)) 50 #define TRACE_EVENT_NOP(name, proto, args, struct, assign, print) argument 53 #define DEFINE_EVENT_NOP(template, name, proto, args) argument [all …]
|
D | bpf_probe.h | 80 #define __BPF_DECLARE_TRACE(call, proto, args) \ argument 82 __bpf_trace_##call(void *__data, proto) \ 89 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument 90 __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args)) 97 #define __DEFINE_EVENT(template, call, proto, args, size) \ argument 102 typedef void (*btf_trace_##call)(void *__data, proto); \ 119 #define DEFINE_EVENT_WRITABLE(template, call, proto, args, size) \ argument 126 FIRST(proto); \ 129 __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), size) 132 #define DEFINE_EVENT(template, call, proto, args) \ argument [all …]
|
D | perf.h | 54 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument 56 perf_trace_##call(void *__data, proto) \ 102 #define DEFINE_EVENT(template, call, proto, args) \ argument 110 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument 111 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
|
D | trace_events.h | 74 #define TRACE_EVENT(name, proto, args, tstruct, assign, print) \ argument 76 PARAMS(proto), \ 81 DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args)); 133 #define DECLARE_EVENT_CLASS(name, proto, args, tstruct, assign, print) \ argument 143 #define DEFINE_EVENT(template, name, proto, args) \ argument 148 #define DEFINE_EVENT_FN(template, name, proto, args, reg, unreg) \ argument 149 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args)) 152 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument 153 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args)) 157 #define TRACE_EVENT_FN(name, proto, args, tstruct, \ argument [all …]
|
/include/linux/ |
D | tracepoint.h | 217 #define __DECLARE_TRACE_RCU(name, proto, args, cond) \ argument 218 static inline void trace_##name##_rcuidle(proto) \ 226 #define __DECLARE_TRACE_RCU(name, proto, args, cond) argument 240 #define __DECLARE_TRACE(name, proto, args, cond, data_proto) \ argument 244 static inline void __nocfi trace_##name(proto) \ 254 __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \ 290 #define DEFINE_TRACE_FN(_name, _reg, _unreg, proto, args) \ argument 294 int __traceiter_##_name(void *__data, proto); \ 306 int __nocfi __traceiter_##_name(void *__data, proto) \ 317 ((void(*)(void *, proto))(it_func))(__data, args); \ [all …]
|
D | if_pppox.h | 52 } proto; member 55 #define pppoe_dev proto.pppoe.dev 56 #define pppoe_ifindex proto.pppoe.ifindex 57 #define pppoe_pa proto.pppoe.pa 58 #define pppoe_relay proto.pppoe.relay
|
D | hdlc.h | 44 const struct hdlc_proto *proto; member 64 void register_hdlc_protocol(struct hdlc_proto *proto); 65 void unregister_hdlc_protocol(struct hdlc_proto *proto); 96 int attach_hdlc_protocol(struct net_device *dev, struct hdlc_proto *proto, 109 if (hdlc->proto->type_trans) in hdlc_type_trans() 110 return hdlc->proto->type_trans(skb, dev); in hdlc_type_trans()
|
D | if_bridge.h | 30 __be16 proto; member 74 bool br_multicast_has_querier_anywhere(struct net_device *dev, int proto); 75 bool br_multicast_has_querier_adjacent(struct net_device *dev, int proto); 76 bool br_multicast_has_router_adjacent(struct net_device *dev, int proto); 86 int proto) in br_multicast_has_querier_anywhere() argument 91 int proto) in br_multicast_has_querier_adjacent() argument 97 int proto) in br_multicast_has_router_adjacent() argument
|
D | net.h | 235 int __sock_create(struct net *net, int family, int type, int proto, 237 int sock_create(int family, int type, int proto, struct socket **res); 238 int sock_create_kern(struct net *net, int family, int type, int proto, struct socket **res); 239 int sock_create_lite(int family, int type, int proto, struct socket **res); 334 #define MODULE_ALIAS_NETPROTO(proto) \ argument 335 MODULE_ALIAS("net-pf-" __stringify(proto)) 337 #define MODULE_ALIAS_NET_PF_PROTO(pf, proto) \ argument 338 MODULE_ALIAS("net-pf-" __stringify(pf) "-proto-" __stringify(proto)) 340 #define MODULE_ALIAS_NET_PF_PROTO_TYPE(pf, proto, type) \ argument 341 MODULE_ALIAS("net-pf-" __stringify(pf) "-proto-" __stringify(proto) \ [all …]
|
/include/linux/netfilter/ipset/ |
D | ip_set_getport.h | 10 __be16 *port, u8 *proto); 14 __be16 *port, u8 *proto); 17 __be16 *port, u8 *proto) in ip_set_get_ip6_port() argument 23 static inline bool ip_set_proto_with_ports(u8 proto) in ip_set_proto_with_ports() argument 25 switch (proto) { in ip_set_proto_with_ports()
|
/include/trace/hooks/ |
D | vendor_hooks.h | 22 #define DEFINE_HOOK_FN(_name, _reg, _unreg, proto, args) \ argument 26 int __traceiter_##_name(void *__data, proto); \ 38 int __nocfi __traceiter_##_name(void *__data, proto) \ 47 ((void(*)(void *, proto))(it_func))(__data, args); \ 55 #define DECLARE_RESTRICTED_HOOK(name, proto, args, cond) \ argument 56 DEFINE_HOOK_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args)) 85 #define __DECLARE_RESTRICTED_HOOK(name, proto, args, cond, data_proto) \ argument 89 static inline void __nocfi trace_##name(proto) \ 110 #define DECLARE_RESTRICTED_HOOK(name, proto, args, cond) \ argument 111 __DECLARE_RESTRICTED_HOOK(name, PARAMS(proto), PARAMS(args), \ [all …]
|
/include/net/ |
D | tun_proto.h | 15 static inline __be16 tun_p_to_eth_p(u8 proto) in tun_p_to_eth_p() argument 17 switch (proto) { in tun_p_to_eth_p() 32 static inline u8 tun_p_from_eth_p(__be16 proto) in tun_p_from_eth_p() argument 34 switch (proto) { in tun_p_from_eth_p()
|
D | transp_v6.h | 8 extern struct proto rawv6_prot; 9 extern struct proto udpv6_prot; 10 extern struct proto udplitev6_prot; 11 extern struct proto tcpv6_prot; 12 extern struct proto pingv6_prot;
|
D | ip6_checksum.h | 36 __u32 len, __u8 proto, __wsum csum); 39 static inline __wsum ip6_compute_pseudo(struct sk_buff *skb, int proto) in ip6_compute_pseudo() argument 43 skb->len, proto, 0)); in ip6_compute_pseudo() 46 static inline __wsum ip6_gro_compute_pseudo(struct sk_buff *skb, int proto) in ip6_gro_compute_pseudo() argument 51 skb_gro_len(skb), proto, 0)); in ip6_gro_compute_pseudo() 100 int udp6_csum_init(struct sk_buff *skb, struct udphdr *uh, int proto);
|
D | ncsi.h | 32 int ncsi_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid); 33 int ncsi_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid); 40 static inline int ncsi_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid) in ncsi_vlan_rx_add_vid() argument 45 static inline int ncsi_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid) in ncsi_vlan_rx_kill_vid() argument
|
D | stp.h | 12 int stp_proto_register(const struct stp_proto *proto); 13 void stp_proto_unregister(const struct stp_proto *proto);
|
D | gre.h | 32 int gre_add_protocol(const struct gre_protocol *proto, u8 version); 33 int gre_del_protocol(const struct gre_protocol *proto, u8 version); 38 bool *csum_err, __be16 proto, int nhs); 110 __be16 flags, __be16 proto, in gre_build_header() argument 117 skb_set_inner_protocol(skb, proto); in gre_build_header() 121 greh->protocol = proto; in gre_build_header()
|
D | esp.h | 14 static inline void esp_output_fill_trailer(u8 *tail, int tfclen, int plen, __u8 proto) in esp_output_fill_trailer() argument 27 tail[plen - 1] = proto; in esp_output_fill_trailer() 39 __u8 proto; member
|
/include/trace/events/ |
D | bpf_test_run.h | 29 #define BPF_TEST_RUN_DEFINE_EVENT(template, call, proto, args, size) \ argument 30 DEFINE_EVENT_WRITABLE(template, call, PARAMS(proto), \ 34 #define BPF_TEST_RUN_DEFINE_EVENT(template, call, proto, args, size) \ argument 35 DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args))
|
D | fib6.h | 32 __field( u8, proto ) 55 __entry->proto = flp->flowi6_proto; 56 if (__entry->proto == IPPROTO_TCP || 57 __entry->proto == IPPROTO_UDP) { 83 __entry->tb_id, __entry->oif, __entry->iif, __entry->proto,
|
D | nbd.h | 85 #define NBD_DEFINE_EVENT(template, call, proto, args, size) \ argument 86 DEFINE_EVENT_WRITABLE(template, call, PARAMS(proto), \ 90 #define NBD_DEFINE_EVENT(template, call, proto, args, size) \ argument 91 DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args))
|
/include/uapi/linux/ |
D | if_arcnet.h | 60 __u8 proto; /* protocol ID field - varies */ member 71 __u8 proto; /* ARC_P_RFC1051_ARP/RFC1051_IP */ member 81 __u8 proto; /* Always ARC_P_ETHER */ member 88 __u8 proto; member
|
/include/net/netfilter/ |
D | nf_reject.h | 8 static inline bool nf_reject_verify_csum(__u8 proto) in nf_reject_verify_csum() argument 13 switch (proto) { in nf_reject_verify_csum()
|
/include/asm-generic/ |
D | checksum.h | 47 __u8 proto, __wsum sum); 53 __u8 proto, __wsum sum) in csum_tcpudp_magic() argument 55 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
|
/include/linux/mtd/ |
D | spi-nor.h | 199 static inline bool spi_nor_protocol_is_dtr(enum spi_nor_protocol proto) in spi_nor_protocol_is_dtr() argument 201 return !!(proto & SNOR_PROTO_IS_DTR); in spi_nor_protocol_is_dtr() 204 static inline u8 spi_nor_get_protocol_inst_nbits(enum spi_nor_protocol proto) in spi_nor_get_protocol_inst_nbits() argument 206 return ((unsigned long)(proto & SNOR_PROTO_INST_MASK)) >> in spi_nor_get_protocol_inst_nbits() 210 static inline u8 spi_nor_get_protocol_addr_nbits(enum spi_nor_protocol proto) in spi_nor_get_protocol_addr_nbits() argument 212 return ((unsigned long)(proto & SNOR_PROTO_ADDR_MASK)) >> in spi_nor_get_protocol_addr_nbits() 216 static inline u8 spi_nor_get_protocol_data_nbits(enum spi_nor_protocol proto) in spi_nor_get_protocol_data_nbits() argument 218 return ((unsigned long)(proto & SNOR_PROTO_DATA_MASK)) >> in spi_nor_get_protocol_data_nbits() 222 static inline u8 spi_nor_get_protocol_width(enum spi_nor_protocol proto) in spi_nor_get_protocol_width() argument 224 return spi_nor_get_protocol_data_nbits(proto); in spi_nor_get_protocol_width()
|