Lines Matching refs:fp
174 struct bpf_prog *fp; in tcf_bpf_init_from_ops() local
195 ret = bpf_prog_create(&fp, &fprog_tmp); in tcf_bpf_init_from_ops()
203 cfg->filter = fp; in tcf_bpf_init_from_ops()
211 struct bpf_prog *fp; in tcf_bpf_init_from_efd() local
217 fp = bpf_prog_get(bpf_fd); in tcf_bpf_init_from_efd()
218 if (IS_ERR(fp)) in tcf_bpf_init_from_efd()
219 return PTR_ERR(fp); in tcf_bpf_init_from_efd()
221 if (fp->type != BPF_PROG_TYPE_SCHED_ACT) { in tcf_bpf_init_from_efd()
222 bpf_prog_put(fp); in tcf_bpf_init_from_efd()
231 bpf_prog_put(fp); in tcf_bpf_init_from_efd()
238 cfg->filter = fp; in tcf_bpf_init_from_efd()