Home
last modified time | relevance | path

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

/tools/lib/bpf/
Dbpf.h32 size_t insns_cnt, char *license,
Dbpf.c72 size_t insns_cnt, char *license, in bpf_load_program() argument
80 attr.insn_cnt = (__u32)insns_cnt; in bpf_load_program()
Dlibbpf.c165 size_t insns_cnt; member
275 prog->insns_cnt = 0; in bpf_program__exit()
302 prog->insns_cnt = size / sizeof(struct bpf_insn); in bpf_program__init()
304 prog->insns_cnt * sizeof(struct bpf_insn)); in bpf_program__init()
831 if (insn_idx >= (int)prog->insns_cnt) { in bpf_program__relocate()
906 int insns_cnt, char *license, u32 kern_version, int *pfd) in load_program() argument
911 if (!insns || !insns_cnt) in load_program()
918 ret = bpf_load_program(type, insns, insns_cnt, license, in load_program()
935 } else if (insns_cnt >= BPF_MAXINSNS) { in load_program()
937 insns_cnt, BPF_MAXINSNS); in load_program()
[all …]
Dlibbpf.h160 struct bpf_insn *insns, int insns_cnt,