Lines Matching defs:bpf_cpu_map_entry
43 * which queue in bpf_cpu_map_entry contains packets.
47 struct bpf_cpu_map_entry;
53 struct bpf_cpu_map_entry *obj;
58 struct bpf_cpu_map_entry {
80 struct bpf_cpu_map_entry __rcu **cpu_map;
107 sizeof(struct bpf_cpu_map_entry *),
137 static u32 cpu_map_bpf_prog_run_skb(struct bpf_cpu_map_entry *rcpu,
181 static int cpu_map_bpf_prog_run_xdp(struct bpf_cpu_map_entry *rcpu,
245 static void cpu_map_bpf_prog_run(struct bpf_cpu_map_entry *rcpu, void **frames,
275 static void cpu_map_gro_flush(struct bpf_cpu_map_entry *rcpu, bool empty)
290 struct bpf_cpu_map_entry *rcpu = data;
328 * The bpf_cpu_map_entry is single consumer, with this
408 static int __cpu_map_load_bpf_program(struct bpf_cpu_map_entry *rcpu,
429 static struct bpf_cpu_map_entry *
435 struct bpf_cpu_map_entry *rcpu;
511 struct bpf_cpu_map_entry *rcpu;
518 rcpu = container_of(to_rcu_work(work), struct bpf_cpu_map_entry, free_work);
537 /* After the xchg of the bpf_cpu_map_entry pointer, we need to make sure the old
546 u32 key_cpu, struct bpf_cpu_map_entry *rcpu)
548 struct bpf_cpu_map_entry *old_rcpu;
575 struct bpf_cpu_map_entry *rcpu;
597 /* Updating qsize cause re-allocation of bpf_cpu_map_entry */
623 /* The only possible user of bpf_cpu_map_entry is
627 struct bpf_cpu_map_entry *rcpu;
647 struct bpf_cpu_map_entry *rcpu;
659 struct bpf_cpu_map_entry *rcpu =
693 usage += (u64)map->max_entries * sizeof(struct bpf_cpu_map_entry *);
714 struct bpf_cpu_map_entry *rcpu = bq->obj;
749 static void bq_enqueue(struct bpf_cpu_map_entry *rcpu, struct xdp_frame *xdpf)
774 int cpu_map_enqueue(struct bpf_cpu_map_entry *rcpu, struct xdp_frame *xdpf,
784 int cpu_map_generic_redirect(struct bpf_cpu_map_entry *rcpu,