Searched refs:new_insn_cnt (Results 1 – 2 of 2) sorted by relevance
384 struct bpf_insn *new_insns, size_t new_insn_cnt);
9203 struct bpf_insn *new_insns, size_t new_insn_cnt) in bpf_program__set_insns() argument9210 insns = libbpf_reallocarray(prog->insns, new_insn_cnt, sizeof(*insns)); in bpf_program__set_insns()9212 if (!insns && new_insn_cnt) { in bpf_program__set_insns()9216 memcpy(insns, new_insns, new_insn_cnt * sizeof(*insns)); in bpf_program__set_insns()9219 prog->insns_cnt = new_insn_cnt; in bpf_program__set_insns()