Lines Matching refs:bpf
48 nfp_record_adjust_head(struct nfp_app_bpf *bpf, struct nfp_prog *nfp_prog, in nfp_record_adjust_head() argument
65 if (imm > (int)bpf->adjust_head.guaranteed_add || in nfp_record_adjust_head()
66 imm < -bpf->adjust_head.guaranteed_sub) in nfp_record_adjust_head()
177 struct nfp_app_bpf *bpf = nfp_prog->bpf; in nfp_bpf_check_helper_call() local
182 if (!bpf->adjust_head.off_max) { in nfp_bpf_check_helper_call()
186 if (!(bpf->adjust_head.flags & NFP_BPF_ADJUST_HEAD_NO_META)) { in nfp_bpf_check_helper_call()
191 nfp_record_adjust_head(bpf, nfp_prog, meta, reg2); in nfp_bpf_check_helper_call()
195 if (!bpf->adjust_tail) { in nfp_bpf_check_helper_call()
203 bpf->helpers.map_lookup, reg1) || in nfp_bpf_check_helper_call()
211 bpf->helpers.map_update, reg1) || in nfp_bpf_check_helper_call()
221 bpf->helpers.map_delete, reg1) || in nfp_bpf_check_helper_call()
228 if (bpf->pseudo_random) in nfp_bpf_check_helper_call()
239 if (!bpf->helpers.perf_event_output) { in nfp_bpf_check_helper_call()
284 dev_warn_once(&nfp_prog->bpf->app->pf->pdev->dev, in nfp_bpf_check_helper_call()
512 if (nfp_prog->bpf->queue_select) in nfp_bpf_check_store()