Lines Matching defs:dev
31 TP_PROTO(const struct net_device *dev,
34 TP_ARGS(dev, xdp, act),
45 __entry->ifindex = dev->ifindex;
56 TP_PROTO(const struct net_device *dev,
59 TP_ARGS(dev, sent, drops, err),
70 __entry->ifindex = dev->ifindex;
86 struct net_device *dev;
92 TP_PROTO(const struct net_device *dev,
98 TP_ARGS(dev, xdp, tgt, err, map_type, map_id, index),
118 ifindex = ((struct _bpf_dtab_netdev *)tgt)->dev->ifindex;
126 __entry->ifindex = dev->ifindex;
142 TP_PROTO(const struct net_device *dev,
147 TP_ARGS(dev, xdp, tgt, err, map_type, map_id, index)
151 TP_PROTO(const struct net_device *dev,
156 TP_ARGS(dev, xdp, tgt, err, map_type, map_id, index)
159 #define _trace_xdp_redirect(dev, xdp, to) \
160 trace_xdp_redirect(dev, xdp, NULL, 0, BPF_MAP_TYPE_UNSPEC, INT_MAX, to)
162 #define _trace_xdp_redirect_err(dev, xdp, to, err) \
163 trace_xdp_redirect_err(dev, xdp, NULL, err, BPF_MAP_TYPE_UNSPEC, INT_MAX, to)
165 #define _trace_xdp_redirect_map(dev, xdp, to, map_type, map_id, index) \
166 trace_xdp_redirect(dev, xdp, to, 0, map_type, map_id, index)
168 #define _trace_xdp_redirect_map_err(dev, xdp, to, map_type, map_id, index, err) \
169 trace_xdp_redirect_err(dev, xdp, to, err, map_type, map_id, index)
173 TP_PROTO(const struct net_device *dev,
178 TP_ARGS(dev, xdp, tgt, err, map_type, map_id, index)
182 TP_PROTO(const struct net_device *dev,
187 TP_ARGS(dev, xdp, tgt, err, map_type, map_id, index)
370 __entry->ifindex = rxq->dev->ifindex;