Home
last modified time | relevance | path

Searched refs:insn_cnt (Results 1 – 14 of 14) sorted by relevance

/third_party/libbpf/src/
Dlibbpf_probes.c211 const size_t insn_cnt = ARRAY_SIZE(insns); in libbpf_probe_bpf_prog_type() local
217 ret = probe_prog_load(prog_type, insns, insn_cnt, NULL, 0); in libbpf_probe_bpf_prog_type()
410 const size_t insn_cnt = ARRAY_SIZE(insns); in libbpf_probe_bpf_helper() local
431 ret = probe_prog_load(prog_type, insns, insn_cnt, buf, sizeof(buf)); in libbpf_probe_bpf_helper()
Dbpf.c113 size_t insn_cnt = ARRAY_SIZE(insns); in probe_memcg_account() local
121 attr.insn_cnt = insn_cnt; in probe_memcg_account()
232 const struct bpf_insn *insns, size_t insn_cnt, in bpf_prog_load() argument
269 if (insn_cnt > UINT_MAX) in bpf_prog_load()
273 attr.insn_cnt = (__u32)insn_cnt; in bpf_prog_load()
Dgen_loader.c936 const char *license, struct bpf_insn *insns, size_t insn_cnt, in bpf_gen__prog_load() argument
945 prog_type, insn_cnt, prog_idx); in bpf_gen__prog_load()
949 insns_off = add_data(gen, insns, insn_cnt * sizeof(struct bpf_insn)); in bpf_gen__prog_load()
956 attr.insn_cnt = (__u32)insn_cnt; in bpf_gen__prog_load()
1019 debug_ret(gen, "prog_load %s insn_cnt %d", attr.prog_name, attr.insn_cnt); in bpf_gen__prog_load()
Dbpf_gen_internal.h64 const char *license, struct bpf_insn *insns, size_t insn_cnt,
Dskel_internal.h333 attr.insn_cnt = opts->insns_sz / sizeof(struct bpf_insn); in bpf_load_and_run()
Dbpf.h111 const struct bpf_insn *insns, size_t insn_cnt,
Dlibbpf.c4917 int ret, insn_cnt = ARRAY_SIZE(insns); local
4927 ret = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, NULL, "GPL", insns, insn_cnt, NULL);
4929 ret = bpf_prog_load(BPF_PROG_TYPE_TRACEPOINT, NULL, "GPL", insns, insn_cnt, NULL);
4965 attr.insn_cnt = (__u32)ARRAY_SIZE(insns);
4982 int ret, map, insn_cnt = ARRAY_SIZE(insns); local
4995 ret = bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, NULL, "GPL", insns, insn_cnt, NULL);
5128 int fd, insn_cnt = ARRAY_SIZE(insns); local
5135 fd = bpf_prog_load(BPF_PROG_TYPE_CGROUP_SOCK, NULL, "GPL", insns, insn_cnt, &opts);
5149 int fd, insn_cnt = ARRAY_SIZE(insns); local
5151 fd = bpf_prog_load(BPF_PROG_TYPE_TRACEPOINT, NULL, "GPL", insns, insn_cnt, NULL);
[all …]
/third_party/ltp/testcases/kernel/syscalls/bpf/
Dbpf_common.c101 attr->insn_cnt = prog_len; in bpf_init_prog_attr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DHost.cpp368 uint32_t insn_cnt; in getHostCPUNameForBPF()
378 attr.insn_cnt = 5; in getHostCPUNameForBPF()
392 attr.insn_cnt = 5; in getHostCPUNameForBPF()
/third_party/ltp/include/lapi/
Dbpf.h214 uint32_t insn_cnt; member
/third_party/libbpf/include/uapi/linux/
Dbpf.h1435 __u32 insn_cnt; member
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h25392 __u32 insn_cnt; member
/third_party/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v0.abi55488 …<var-decl name="insn_cnt" type-id="3f1a6b60" visibility="default" filepath="include/uapi/linux/bpf…
Dtest-PR27569-v1.abi55517 …<var-decl name="insn_cnt" type-id="3f1a6b60" visibility="default" filepath="include/uapi/linux/bpf…