Searched refs:bpf_ops (Results 1 – 3 of 3) sorted by relevance
28 struct sock_filter *bpf_ops; member95 return !prog->bpf_ops; in tcf_bpf_is_ebpf()111 memcpy(nla_data(nla), prog->bpf_ops, nla_len(nla)); in tcf_bpf_dump_bpf_info()188 struct sock_filter *bpf_ops; in tcf_bpf_init_from_ops() local198 bpf_size = bpf_num_ops * sizeof(*bpf_ops); in tcf_bpf_init_from_ops()202 bpf_ops = kmemdup(nla_data(tb[TCA_ACT_BPF_OPS]), bpf_size, GFP_KERNEL); in tcf_bpf_init_from_ops()203 if (bpf_ops == NULL) in tcf_bpf_init_from_ops()207 fprog_tmp.filter = bpf_ops; in tcf_bpf_init_from_ops()211 kfree(bpf_ops); in tcf_bpf_init_from_ops()215 cfg->bpf_ops = bpf_ops; in tcf_bpf_init_from_ops()[all …]
50 struct sock_filter *bpf_ops; member144 return !prog->bpf_ops; in cls_bpf_is_ebpf()263 kfree(prog->bpf_ops); in cls_bpf_free_parms()338 struct sock_filter *bpf_ops; in cls_bpf_prog_from_ops() local348 bpf_size = bpf_num_ops * sizeof(*bpf_ops); in cls_bpf_prog_from_ops()352 bpf_ops = kmemdup(nla_data(tb[TCA_BPF_OPS]), bpf_size, GFP_KERNEL); in cls_bpf_prog_from_ops()353 if (bpf_ops == NULL) in cls_bpf_prog_from_ops()357 fprog_tmp.filter = bpf_ops; in cls_bpf_prog_from_ops()361 kfree(bpf_ops); in cls_bpf_prog_from_ops()365 prog->bpf_ops = bpf_ops; in cls_bpf_prog_from_ops()[all …]
23 struct sock_filter *bpf_ops; member