Lines Matching refs:fp
180 struct bpf_prog *fp; in tcf_bpf_init_from_ops() local
201 ret = bpf_prog_create(&fp, &fprog_tmp); in tcf_bpf_init_from_ops()
209 cfg->filter = fp; in tcf_bpf_init_from_ops()
217 struct bpf_prog *fp; in tcf_bpf_init_from_efd() local
223 fp = bpf_prog_get(bpf_fd); in tcf_bpf_init_from_efd()
224 if (IS_ERR(fp)) in tcf_bpf_init_from_efd()
225 return PTR_ERR(fp); in tcf_bpf_init_from_efd()
227 if (fp->type != BPF_PROG_TYPE_SCHED_ACT) { in tcf_bpf_init_from_efd()
228 bpf_prog_put(fp); in tcf_bpf_init_from_efd()
237 bpf_prog_put(fp); in tcf_bpf_init_from_efd()
244 cfg->filter = fp; in tcf_bpf_init_from_efd()