Searched refs:bpf_ops (Results 1 – 3 of 3) sorted by relevance
26 struct sock_filter *bpf_ops; member94 return !prog->bpf_ops; in tcf_bpf_is_ebpf()110 memcpy(nla_data(nla), prog->bpf_ops, nla_len(nla)); in tcf_bpf_dump_bpf_info()187 struct sock_filter *bpf_ops; in tcf_bpf_init_from_ops() local197 bpf_size = bpf_num_ops * sizeof(*bpf_ops); in tcf_bpf_init_from_ops()201 bpf_ops = kmemdup(nla_data(tb[TCA_ACT_BPF_OPS]), bpf_size, GFP_KERNEL); in tcf_bpf_init_from_ops()202 if (bpf_ops == NULL) in tcf_bpf_init_from_ops()206 fprog_tmp.filter = bpf_ops; in tcf_bpf_init_from_ops()210 kfree(bpf_ops); in tcf_bpf_init_from_ops()214 cfg->bpf_ops = bpf_ops; in tcf_bpf_init_from_ops()[all …]
47 struct sock_filter *bpf_ops; member140 return !prog->bpf_ops; in cls_bpf_is_ebpf()264 kfree(prog->bpf_ops); in cls_bpf_free_parms()339 struct sock_filter *bpf_ops; in cls_bpf_prog_from_ops() local349 bpf_size = bpf_num_ops * sizeof(*bpf_ops); in cls_bpf_prog_from_ops()353 bpf_ops = kmemdup(nla_data(tb[TCA_BPF_OPS]), bpf_size, GFP_KERNEL); in cls_bpf_prog_from_ops()354 if (bpf_ops == NULL) in cls_bpf_prog_from_ops()358 fprog_tmp.filter = bpf_ops; in cls_bpf_prog_from_ops()362 kfree(bpf_ops); in cls_bpf_prog_from_ops()366 prog->bpf_ops = bpf_ops; in cls_bpf_prog_from_ops()[all …]
19 struct sock_filter *bpf_ops; member