Home
last modified time | relevance | path

Searched refs:prog_len (Results 1 – 8 of 8) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_verifier.c92 int prog_len; member
177 self->prog_len = len; in bpf_fill_ld_abs_vlan_push_pop()
199 self->prog_len = i + 1; in bpf_fill_jump_around_ld_abs()
222 self->prog_len = i + 1; in bpf_fill_rand_ld_dw()
251 self->prog_len = i + 1; in bpf_fill_scale1()
280 self->prog_len = i + 1; in bpf_fill_scale2()
292 self->prog_len = 0; in bpf_fill_scale()
899 int prog_len, prog_type = test->prog_type; in do_test_single() local
918 prog_len = test->prog_len; in do_test_single()
920 prog_len = probe_filter_length(prog); in do_test_single()
[all …]
Dtest_align.c617 int prog_len, i; in do_test_single() local
621 prog_len = probe_filter_length(prog); in do_test_single()
623 prog, prog_len, BPF_F_STRICT_ALIGNMENT, in do_test_single()
/external/bcc/src/cc/
Dlibbpf.c390 int bpf_prog_compute_tag(const struct bpf_insn *insns, int prog_len, in bpf_prog_compute_tag() argument
415 struct bpf_insn prog[prog_len / 8]; in bpf_prog_compute_tag()
418 for (i = 0; i < prog_len / 8; i++) { in bpf_prog_compute_tag()
432 ret = write(shafd2, prog, prog_len); in bpf_prog_compute_tag()
433 if (ret != prog_len) { in bpf_prog_compute_tag()
485 const struct bpf_insn *insns, int prog_len, in bpf_prog_load() argument
502 attr.insn_cnt = prog_len / sizeof(struct bpf_insn); in bpf_prog_load()
Dbpf_module.h97 struct bpf_insn *insn, int prog_len);
Dbpf_module.cc313 struct bpf_insn *insns, int prog_len) { in annotate_prog_tag() argument
317 err = bpf_prog_compute_tag(insns, prog_len, &tag1); in annotate_prog_tag()
Dlibbpf.h112 int bpf_prog_compute_tag(const struct bpf_insn *insns, int prog_len,
/external/bcc/src/cc/includes/
Dbpf_module.h97 struct bpf_insn *insn, int prog_len);
Dlibbpf.h112 int bpf_prog_compute_tag(const struct bpf_insn *insns, int prog_len,