Lines Matching refs:cls_bpf_prog
38 struct cls_bpf_prog { struct
87 struct cls_bpf_prog *prog; in cls_bpf_classify()
140 static bool cls_bpf_is_ebpf(const struct cls_bpf_prog *prog) in cls_bpf_is_ebpf()
145 static int cls_bpf_offload_cmd(struct tcf_proto *tp, struct cls_bpf_prog *prog, in cls_bpf_offload_cmd()
146 struct cls_bpf_prog *oldprog, in cls_bpf_offload_cmd()
151 struct cls_bpf_prog *obj; in cls_bpf_offload_cmd()
197 static int cls_bpf_offload(struct tcf_proto *tp, struct cls_bpf_prog *prog, in cls_bpf_offload()
198 struct cls_bpf_prog *oldprog, in cls_bpf_offload()
217 struct cls_bpf_prog *prog, in cls_bpf_stop_offload()
228 struct cls_bpf_prog *prog) in cls_bpf_offload_update_stats()
258 static void cls_bpf_free_parms(struct cls_bpf_prog *prog) in cls_bpf_free_parms()
269 static void __cls_bpf_delete_prog(struct cls_bpf_prog *prog) in __cls_bpf_delete_prog()
280 struct cls_bpf_prog *prog = container_of(to_rcu_work(work), in cls_bpf_delete_prog_work()
281 struct cls_bpf_prog, in cls_bpf_delete_prog_work()
288 static void __cls_bpf_delete(struct tcf_proto *tp, struct cls_bpf_prog *prog, in __cls_bpf_delete()
317 struct cls_bpf_prog *prog, *tmp; in cls_bpf_destroy()
329 struct cls_bpf_prog *prog; in cls_bpf_get()
339 static int cls_bpf_prog_from_ops(struct nlattr **tb, struct cls_bpf_prog *prog) in cls_bpf_prog_from_ops()
376 static int cls_bpf_prog_from_efd(struct nlattr **tb, struct cls_bpf_prog *prog, in cls_bpf_prog_from_efd()
417 struct cls_bpf_prog *oldprog = *arg; in cls_bpf_change()
420 struct cls_bpf_prog *prog; in cls_bpf_change()
538 static int cls_bpf_dump_bpf_info(const struct cls_bpf_prog *prog, in cls_bpf_dump_bpf_info()
556 static int cls_bpf_dump_ebpf_info(const struct cls_bpf_prog *prog, in cls_bpf_dump_ebpf_info()
580 struct cls_bpf_prog *prog = fh; in cls_bpf_dump()
633 struct cls_bpf_prog *prog = fh; in cls_bpf_bind_class()
642 struct cls_bpf_prog *prog; in cls_bpf_walk()
656 struct cls_bpf_prog *prog; in cls_bpf_reoffload()