Home
last modified time | relevance | path

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

/linux/net/sched/
A Dact_bpf.c26 struct sock_filter *bpf_ops; member
93 return !prog->bpf_ops; in tcf_bpf_is_ebpf()
186 struct sock_filter *bpf_ops; in tcf_bpf_init_from_ops() local
196 bpf_size = bpf_num_ops * sizeof(*bpf_ops); in tcf_bpf_init_from_ops()
201 if (bpf_ops == NULL) in tcf_bpf_init_from_ops()
205 fprog_tmp.filter = bpf_ops; in tcf_bpf_init_from_ops()
209 kfree(bpf_ops); in tcf_bpf_init_from_ops()
213 cfg->bpf_ops = bpf_ops; in tcf_bpf_init_from_ops()
259 kfree(cfg->bpf_ops); in tcf_bpf_cfg_cleanup()
272 cfg->bpf_ops = prog->bpf_ops; in tcf_bpf_prog_fill_cfg()
[all …]
A Dcls_bpf.c47 struct sock_filter *bpf_ops; member
138 return !prog->bpf_ops; in cls_bpf_is_ebpf()
262 kfree(prog->bpf_ops); in cls_bpf_free_parms()
337 struct sock_filter *bpf_ops; in cls_bpf_prog_from_ops() local
347 bpf_size = bpf_num_ops * sizeof(*bpf_ops); in cls_bpf_prog_from_ops()
352 if (bpf_ops == NULL) in cls_bpf_prog_from_ops()
356 fprog_tmp.filter = bpf_ops; in cls_bpf_prog_from_ops()
360 kfree(bpf_ops); in cls_bpf_prog_from_ops()
364 prog->bpf_ops = bpf_ops; in cls_bpf_prog_from_ops()
395 prog->bpf_ops = NULL; in cls_bpf_prog_from_efd()
[all …]
/linux/include/net/tc_act/
A Dtc_bpf.h19 struct sock_filter *bpf_ops; member

Completed in 6 milliseconds