Home
last modified time | relevance | path

Searched refs:insns_cnt (Results 1 – 2 of 2) sorted by relevance

/third_party/libbpf/src/
Dlibbpf_probes.c104 const struct bpf_insn *insns, size_t insns_cnt, in probe_prog_load() argument
191 fd = bpf_prog_load(prog_type, NULL, "GPL", insns, insns_cnt, &opts); in probe_prog_load()
Dlibbpf.c436 size_t insns_cnt; member
765 prog->insns_cnt = 0; in bpf_program__exit()
807 prog->insns_cnt = prog->sec_insn_cnt; in bpf_object__init_prog()
6262 if (insn_idx >= prog->insns_cnt)
6656 subprog->sub_insn_off = main_prog->insns_cnt;
6658 new_cnt = main_prog->insns_cnt + subprog->insns_cnt;
6665 main_prog->insns_cnt = new_cnt;
6668 subprog->insns_cnt * sizeof(*insns));
6671 main_prog->name, subprog->insns_cnt, subprog->name);
7237 for (i = 0; i < prog->insns_cnt; i++, insn++) {
[all …]