Home
last modified time | relevance | path

Searched defs:insns_cnt (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dcgroup_attach_override.c19 size_t insns_cnt = sizeof(prog) / sizeof(struct bpf_insn); in prog_load() local
Dcgroup_attach_autodetach.c17 size_t insns_cnt = sizeof(prog) / sizeof(struct bpf_insn); in prog_load() local
Dcgroup_attach_multi.c66 size_t insns_cnt = sizeof(prog) / sizeof(struct bpf_insn); in prog_load_cnt() local
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_stub.c26 size_t insns_cnt, const char *license, in bpf_test_load_program()
Dtest_cgroup_storage.c38 size_t insns_cnt = sizeof(prog) / sizeof(struct bpf_insn); in main() local
Dtest_sock_addr.c642 const struct bpf_insn *insns, size_t insns_cnt) in load_insns()
/kernel/linux/linux-5.10/samples/bpf/
Dsock_example.c61 size_t insns_cnt = sizeof(prog) / sizeof(struct bpf_insn); in test_sock() local
Dtest_cgrp2_attach.c72 size_t insns_cnt = sizeof(prog) / sizeof(struct bpf_insn); in prog_load() local
Dfds_example.c61 size_t insns_cnt = sizeof(insns) / sizeof(struct bpf_insn); in bpf_prog_create() local
Dtest_cgrp2_sock.c75 size_t insns_cnt; in prog_load() local
Dbpf_load.c90 size_t insns_cnt = size / sizeof(struct bpf_insn); in load_and_attach() local
/kernel/linux/linux-5.10/tools/lib/bpf/
Dlibbpf_probes.c69 size_t insns_cnt, char *buf, size_t buf_len, __u32 ifindex) in probe_load()
Dbpf.c330 size_t insns_cnt, const char *license, in bpf_load_program()
349 size_t insns_cnt, __u32 prog_flags, const char *license, in bpf_verify_program()
Dbpf.h79 size_t insns_cnt; member
Dxsk.c419 size_t insns_cnt = sizeof(prog) / sizeof(struct bpf_insn); in xsk_load_xdp_prog() local
Dbtf.c2560 const char *sec_name, __u32 insns_cnt, in btf_ext_reloc_info()
2608 const char *sec_name, __u32 insns_cnt, in btf_ext__reloc_func_info()
2617 const char *sec_name, __u32 insns_cnt, in btf_ext__reloc_line_info()
Dlibbpf.c259 size_t insns_cnt; member
6683 load_program(struct bpf_program *prog, struct bpf_insn *insns, int insns_cnt, in load_program()