Home
last modified time | relevance | path

Searched refs:new_prog (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/tools/perf/util/
Dbpf-prologue.h19 struct bpf_insn *new_prog, size_t *new_cnt,
27 struct bpf_insn *new_prog __maybe_unused, in bpf__gen_prologue()
Dbpf-prologue.c359 struct bpf_insn *new_prog, size_t *new_cnt, in bpf__gen_prologue() argument
369 if (!new_prog || !new_cnt) in bpf__gen_prologue()
375 pos.begin = new_prog; in bpf__gen_prologue()
376 pos.end = new_prog + cnt_space; in bpf__gen_prologue()
377 pos.pos = new_prog; in bpf__gen_prologue()
/Linux-v4.19/kernel/bpf/
Dverifier.c5293 struct bpf_prog *new_prog; in bpf_patch_insn_data() local
5295 new_prog = bpf_patch_insn_single(env->prog, off, patch, len); in bpf_patch_insn_data()
5296 if (!new_prog) in bpf_patch_insn_data()
5298 if (adjust_insn_aux_data(env, new_prog->len, off, len)) in bpf_patch_insn_data()
5301 return new_prog; in bpf_patch_insn_data()
5339 struct bpf_prog *new_prog; in convert_ctx_accesses() local
5351 new_prog = bpf_patch_insn_data(env, 0, insn_buf, cnt); in convert_ctx_accesses()
5352 if (!new_prog) in convert_ctx_accesses()
5355 env->prog = new_prog; in convert_ctx_accesses()
5397 new_prog = bpf_patch_insn_data(env, i + delta, patch, cnt); in convert_ctx_accesses()
[all …]
/Linux-v4.19/drivers/net/ethernet/qlogic/qede/
Dqede.h485 struct bpf_prog *new_prog; member
Dqede_filter.c1097 old = xchg(&edev->xdp_prog, args->u.new_prog); in qede_xdp_reload_func()
1108 args.u.new_prog = prog; in qede_xdp_set()
/Linux-v4.19/net/core/
Dfilter.c535 struct bpf_prog *new_prog, int *new_len, in bpf_convert_filter() argument
550 if (new_prog) { in bpf_convert_filter()
551 first_insn = new_prog->insnsi; in bpf_convert_filter()
563 if (new_prog) { in bpf_convert_filter()
799 if (new_prog && new_prog->aux->stack_depth < stack_off) in bpf_convert_filter()
800 new_prog->aux->stack_depth = stack_off; in bpf_convert_filter()
849 if (new_prog) in bpf_convert_filter()
855 if (!new_prog) { in bpf_convert_filter()