Home
last modified time | relevance | path

Searched defs:insns (Results 1 – 25 of 105) sorted by relevance

12345

/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
Dtest_tag.c27 static void bpf_gen_imm_prog(unsigned int insns, int fd_map) in bpf_gen_imm_prog()
37 static void bpf_gen_map_prog(unsigned int insns, int fd_map) in bpf_gen_map_prog()
53 static int bpf_try_load_prog(int insns, int fd_map, in bpf_try_load_prog()
54 void (*bpf_filler)(unsigned int insns, in bpf_try_load_prog()
114 static void tag_from_alg(int insns, uint8_t *tag, uint32_t len) in tag_from_alg()
154 static void tag_exit_report(int insns, int fd_map, uint8_t *ftag, in tag_exit_report()
166 void (*bpf_filler)(unsigned int insns, int fd)) in do_test()
Dtest_sock_addr.c645 const struct bpf_insn *insns, size_t insns_cnt) in load_insns()
720 struct bpf_insn insns[] = { in xmsg_ret_only_prog_load() local
763 struct bpf_insn insns[] = { in sendmsg4_rw_asm_prog_load() local
826 struct bpf_insn insns[] = { in sendmsg6_rw_dst_asm_prog_load() local
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_tag.c27 static void bpf_gen_imm_prog(unsigned int insns, int fd_map) in bpf_gen_imm_prog()
37 static void bpf_gen_map_prog(unsigned int insns, int fd_map) in bpf_gen_map_prog()
53 static int bpf_try_load_prog(int insns, int fd_map, in bpf_try_load_prog()
54 void (*bpf_filler)(unsigned int insns, in bpf_try_load_prog()
114 static void tag_from_alg(int insns, uint8_t *tag, uint32_t len) in tag_from_alg()
154 static void tag_exit_report(int insns, int fd_map, uint8_t *ftag, in tag_exit_report()
166 void (*bpf_filler)(unsigned int insns, int fd)) in do_test()
Dtest_sock_addr.c642 const struct bpf_insn *insns, size_t insns_cnt) in load_insns()
695 struct bpf_insn insns[] = { in bind4_prog_load() local
796 struct bpf_insn insns[] = { in bind6_prog_load() local
881 struct bpf_insn insns[] = { in xmsg_ret_only_prog_load() local
924 struct bpf_insn insns[] = { in sendmsg4_rw_asm_prog_load() local
970 struct bpf_insn insns[] = { in recvmsg4_rw_asm_prog_load() local
1023 struct bpf_insn insns[] = { in sendmsg6_rw_dst_asm_prog_load() local
1074 struct bpf_insn insns[] = { in recvmsg6_rw_asm_prog_load() local
Dtest_stub.c25 int bpf_test_load_program(enum bpf_prog_type type, const struct bpf_insn *insns, in bpf_test_load_program()
/kernel/linux/linux-5.10/tools/lib/bpf/
Dlibbpf_probes.c68 probe_load(enum bpf_prog_type prog_type, const struct bpf_insn *insns, in probe_load()
131 struct bpf_insn insns[2] = { in bpf_probe_prog_type() local
315 struct bpf_insn insns[2] = { in bpf_probe_helper() local
347 struct bpf_insn insns[BPF_MAXINSNS + 1]; in bpf_probe_large_insn_limit() local
/kernel/linux/linux-6.6/arch/sparc/kernel/
Dentry.h50 unsigned int insns[3]; member
57 unsigned int insns[6]; member
64 unsigned int insns[3]; member
Dsignal_32.c40 unsigned long insns[2] __attribute__ ((aligned (8))); member
52 unsigned int insns[2]; member
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dentry.h50 unsigned int insns[3]; member
57 unsigned int insns[6]; member
64 unsigned int insns[3]; member
Dsignal_32.c40 unsigned long insns[2] __attribute__ ((aligned (8))); member
52 unsigned int insns[2]; member
/kernel/linux/linux-6.6/tools/bpf/bpftool/
Dfeature.c518 const struct bpf_insn *insns, size_t insns_cnt, in probe_prog_load_ifindex()
541 struct bpf_insn insns[2] = { in probe_prog_type_ifindex() local
662 struct bpf_insn insns[2] = { in probe_helper_ifindex() local
784 probe_misc_feature(struct bpf_insn *insns, size_t len, in probe_misc_feature()
814 struct bpf_insn insns[BPF_MAXINSNS + 1]; in probe_large_insn_limit() local
835 struct bpf_insn insns[4] = { in probe_bounded_loops() local
856 struct bpf_insn insns[4] = { in probe_v2_isa_extension() local
877 struct bpf_insn insns[4] = { in probe_v3_isa_extension() local
/kernel/linux/linux-6.6/tools/lib/bpf/
Dlibbpf_probes.c104 const struct bpf_insn *insns, size_t insns_cnt, in probe_prog_load()
207 struct bpf_insn insns[] = { in libbpf_probe_bpf_prog_type() local
406 struct bpf_insn insns[] = { in libbpf_probe_bpf_helper() local
Dgen_loader.c867 static void emit_relo(struct bpf_gen *gen, struct ksym_relo_desc *relo, int insns) in emit_relo()
885 static void emit_relos(struct bpf_gen *gen, int insns) in emit_relos()
902 static void cleanup_relos(struct bpf_gen *gen, int insns) in cleanup_relos()
936 const char *license, struct bpf_insn *insns, size_t insn_cnt, in bpf_gen__prog_load()
/kernel/linux/linux-5.10/arch/s390/kernel/
Dalternative.c36 static void __init_or_module add_jump_padding(void *insns, unsigned int len) in add_jump_padding()
54 static void __init_or_module add_padding(void *insns, unsigned int len) in add_padding()
/kernel/linux/linux-6.6/arch/riscv/kernel/
Dpatch.c21 u32 *insns; member
212 int patch_text_nosync(void *addr, const void *insns, size_t len) in patch_text_nosync()
249 int patch_text(void *addr, u32 *insns, int ninsns) in patch_text()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dsockopt.c20 const struct bpf_insn insns[64]; member
852 static int load_prog(const struct bpf_insn *insns, in load_prog()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
Dsockopt.c25 const struct bpf_insn insns[64]; member
919 static int load_prog(const struct bpf_insn *insns, in load_prog()
Dxdp_dev_bound_only.c10 struct bpf_insn insns[] = { BPF_MOV64_IMM(BPF_REG_0, 0), BPF_EXIT_INSN() }; in load_dummy_prog() local
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dstatic_call.h34 #define __ARCH_DEFINE_STATIC_CALL_TRAMP(name, insns) \ argument
/kernel/linux/linux-6.6/lib/
Dtest_bpf.c68 struct sock_filter insns[MAX_INSNS]; member
71 void *insns; member
483 struct bpf_insn *insns; in __bpf_fill_max_jmp() local
827 struct bpf_insn *insns; in __bpf_fill_pattern() local
917 struct bpf_insn *insns, s64 dst, s64 imm) in __bpf_emit_alu64_imm()
938 struct bpf_insn *insns, s64 dst, s64 imm) in __bpf_emit_alu32_imm()
959 struct bpf_insn *insns, s64 dst, s64 src) in __bpf_emit_alu64_reg()
981 struct bpf_insn *insns, s64 dst, s64 src) in __bpf_emit_alu32_reg()
1221 struct bpf_insn *insns; in __bpf_fill_alu_imm_regs() local
1405 struct bpf_insn *insns; in __bpf_fill_alu_reg_pairs() local
[all …]
/kernel/linux/linux-6.6/arch/x86/include/asm/
Dstatic_call.h34 #define __ARCH_DEFINE_STATIC_CALL_TRAMP(name, insns) \ argument
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/mm/
Dexec_prot.c30 static unsigned int *insns; variable
Dpkey_exec_prot.c28 static unsigned int *insns; variable
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/
Dpkey_exec_prot.c28 static unsigned int *insns; variable
/kernel/linux/linux-6.6/net/netfilter/
Dxt_bpf.c24 static int __bpf_mt_check_bytecode(struct sock_filter *insns, __u16 len, in __bpf_mt_check_bytecode()

12345