Lines Matching refs:insns

514 			const struct bpf_insn *insns, size_t insns_cnt,  in probe_prog_load_ifindex()  argument
527 fd = bpf_prog_load(prog_type, NULL, "GPL", insns, insns_cnt, &opts); in probe_prog_load_ifindex()
537 struct bpf_insn insns[2] = { in probe_prog_type_ifindex() local
542 return probe_prog_load_ifindex(prog_type, insns, ARRAY_SIZE(insns), in probe_prog_type_ifindex()
658 struct bpf_insn insns[2] = { in probe_helper_ifindex() local
665 probe_prog_load_ifindex(prog_type, insns, ARRAY_SIZE(insns), buf, in probe_helper_ifindex()
781 probe_misc_feature(struct bpf_insn *insns, size_t len, in probe_misc_feature() argument
794 insns, len, &opts); in probe_misc_feature()
811 struct bpf_insn insns[BPF_MAXINSNS + 1]; in probe_large_insn_limit() local
815 insns[i] = BPF_MOV64_IMM(BPF_REG_0, 1); in probe_large_insn_limit()
816 insns[BPF_MAXINSNS] = BPF_EXIT_INSN(); in probe_large_insn_limit()
818 probe_misc_feature(insns, ARRAY_SIZE(insns), in probe_large_insn_limit()
832 struct bpf_insn insns[4] = { in probe_bounded_loops() local
839 probe_misc_feature(insns, ARRAY_SIZE(insns), in probe_bounded_loops()
853 struct bpf_insn insns[4] = { in probe_v2_isa_extension() local
860 probe_misc_feature(insns, ARRAY_SIZE(insns), in probe_v2_isa_extension()
874 struct bpf_insn insns[4] = { in probe_v3_isa_extension() local
881 probe_misc_feature(insns, ARRAY_SIZE(insns), in probe_v3_isa_extension()
895 struct bpf_insn insns[5] = { in probe_v4_isa_extension() local
903 probe_misc_feature(insns, ARRAY_SIZE(insns), in probe_v4_isa_extension()