/third_party/libbpf/src/ |
D | libbpf_probes.c | 211 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()
|
D | bpf.c | 113 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()
|
D | gen_loader.c | 936 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()
|
D | bpf_gen_internal.h | 64 const char *license, struct bpf_insn *insns, size_t insn_cnt,
|
D | skel_internal.h | 333 attr.insn_cnt = opts->insns_sz / sizeof(struct bpf_insn); in bpf_load_and_run()
|
D | bpf.h | 111 const struct bpf_insn *insns, size_t insn_cnt,
|
D | libbpf.c | 4917 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/ |
D | bpf_common.c | 101 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/ |
D | Host.cpp | 368 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/ |
D | bpf.h | 214 uint32_t insn_cnt; member
|
/third_party/libbpf/include/uapi/linux/ |
D | bpf.h | 1435 __u32 insn_cnt; member
|
/third_party/libbpf/.github/actions/build-selftests/ |
D | vmlinux.h | 25392 __u32 insn_cnt; member
|
/third_party/libabigail/tests/data/test-diff-filter/ |
D | test-PR27569-v0.abi | 55488 …<var-decl name="insn_cnt" type-id="3f1a6b60" visibility="default" filepath="include/uapi/linux/bpf…
|
D | test-PR27569-v1.abi | 55517 …<var-decl name="insn_cnt" type-id="3f1a6b60" visibility="default" filepath="include/uapi/linux/bpf…
|