Searched refs:prog_len (Results 1 – 8 of 8) sorted by relevance
/external/bcc/src/cc/ |
D | libbpf.c | 380 int bpf_prog_compute_tag(const struct bpf_insn *insns, int prog_len, in bpf_prog_compute_tag() argument 405 struct bpf_insn prog[prog_len / 8]; in bpf_prog_compute_tag() 408 for (i = 0; i < prog_len / 8; i++) { in bpf_prog_compute_tag() 422 ret = write(shafd2, prog, prog_len); in bpf_prog_compute_tag() 423 if (ret != prog_len) { in bpf_prog_compute_tag() 475 const struct bpf_insn *insns, int prog_len, in bpf_prog_load() argument 492 attr.insn_cnt = prog_len / sizeof(struct bpf_insn); in bpf_prog_load()
|
D | bpf_module.h | 93 struct bpf_insn *insn, int prog_len);
|
D | libbpf.h | 112 int bpf_prog_compute_tag(const struct bpf_insn *insns, int prog_len,
|
D | bpf_module.cc | 711 struct bpf_insn *insns, int prog_len) { in annotate_prog_tag() argument 715 err = bpf_prog_compute_tag(insns, prog_len, &tag1); in annotate_prog_tag()
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_align.c | 617 int prog_len, i; in do_test_single() local 621 prog_len = probe_filter_length(prog); in do_test_single() 623 prog, prog_len, 1, "GPL", 0, in do_test_single()
|
D | test_verifier.c | 14232 int prog_len, prog_type = test->prog_type; in do_test_single() local 14246 prog_len = probe_filter_length(prog); in do_test_single() 14248 fd_prog = bpf_verify_program(prog_type, prog, prog_len, in do_test_single()
|
/external/bcc/src/cc/includes/ |
D | bpf_module.h | 93 struct bpf_insn *insn, int prog_len);
|
D | libbpf.h | 112 int bpf_prog_compute_tag(const struct bpf_insn *insns, int prog_len,
|