Home
last modified time | relevance | path

Searched refs:bpf_ops (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/net/sched/
H A Dact_bpf.c27 struct sock_filter *bpf_ops; member
96 return !prog->bpf_ops; in tcf_bpf_is_ebpf()
189 struct sock_filter *bpf_ops; in tcf_bpf_init_from_ops() local
199 bpf_size = bpf_num_ops * sizeof(*bpf_ops); in tcf_bpf_init_from_ops()
204 if (bpf_ops == NULL) in tcf_bpf_init_from_ops()
208 fprog_tmp.filter = bpf_ops; in tcf_bpf_init_from_ops()
212 kfree(bpf_ops); in tcf_bpf_init_from_ops()
216 cfg->bpf_ops = bpf_ops; in tcf_bpf_init_from_ops()
262 kfree(cfg->bpf_ops); in tcf_bpf_cfg_cleanup()
275 cfg->bpf_ops = prog->bpf_ops; in tcf_bpf_prog_fill_cfg()
[all …]
H A Dcls_bpf.c48 struct sock_filter *bpf_ops; member
142 return !prog->bpf_ops; in cls_bpf_is_ebpf()
266 kfree(prog->bpf_ops); in cls_bpf_free_parms()
341 struct sock_filter *bpf_ops; in cls_bpf_prog_from_ops() local
351 bpf_size = bpf_num_ops * sizeof(*bpf_ops); in cls_bpf_prog_from_ops()
356 if (bpf_ops == NULL) in cls_bpf_prog_from_ops()
360 fprog_tmp.filter = bpf_ops; in cls_bpf_prog_from_ops()
364 kfree(bpf_ops); in cls_bpf_prog_from_ops()
368 prog->bpf_ops = bpf_ops; in cls_bpf_prog_from_ops()
399 prog->bpf_ops = NULL; in cls_bpf_prog_from_efd()
[all …]
/openbmc/linux/include/net/tc_act/
H A Dtc_bpf.h19 struct sock_filter *bpf_ops; member