Searched refs:new_insn_cnt (Results 1 – 2 of 2) sorted by relevance
384 struct bpf_insn *new_insns, size_t new_insn_cnt);
9248 struct bpf_insn *new_insns, size_t new_insn_cnt) in bpf_program__set_insns() argument9255 insns = libbpf_reallocarray(prog->insns, new_insn_cnt, sizeof(*insns)); in bpf_program__set_insns()9257 if (!insns && new_insn_cnt) { in bpf_program__set_insns()9261 memcpy(insns, new_insns, new_insn_cnt * sizeof(*insns)); in bpf_program__set_insns()9264 prog->insns_cnt = new_insn_cnt; in bpf_program__set_insns()