Searched refs:from_dev (Results 1 – 6 of 6) sorted by relevance
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | core_kern.c | 44 *from_dev, const struct net_device *to_dev, int sent, int drops, in BPF_PROG() 47 return randmap(from_dev->ifindex, from_dev); in BPF_PROG()
|
| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | mirror_lib.sh | 5 local from_dev=$1; shift 10 tc filter add dev $from_dev $direction \ 17 local from_dev=$1; shift
|
| /linux/samples/bpf/ |
| H A D | xdp_sample.bpf.c | 206 int BPF_PROG(tp_xdp_devmap_xmit, const struct net_device *from_dev, in BPF_PROG() argument 213 idx_in = from_dev->ifindex; in BPF_PROG() 237 int BPF_PROG(tp_xdp_devmap_xmit_multi, const struct net_device *from_dev, in BPF_PROG() argument 245 idx_in = from_dev->ifindex; in BPF_PROG()
|
| /linux/include/trace/events/ |
| H A D | xdp.h | 252 TP_PROTO(const struct net_device *from_dev, 256 TP_ARGS(from_dev, to_dev, sent, drops, err), 268 __entry->from_ifindex = from_dev->ifindex;
|
| /linux/rust/kernel/ |
| H A D | opp.rs | 641 pub fn from_dev(dev: &Device) -> Result<Self> { in from_dev() method 670 let mut table = Self::from_dev(dev)?; in from_of() 698 let mut table = Self::from_dev(dev)?; in from_of_cpumask()
|
| /linux/drivers/cpufreq/ |
| H A D | rcpufreq_dt.rs | 107 opp::Table::from_dev(dev)? in init()
|