| /linux/tools/testing/selftests/bpf/ |
| H A D | test_tag.c | 27 static void bpf_gen_imm_prog(unsigned int insns, int fd_map) in bpf_gen_imm_prog() argument 37 static void bpf_gen_map_prog(unsigned int insns, int fd_map) in bpf_gen_map_prog() argument 53 static int bpf_try_load_prog(int insns, int fd_map, in bpf_try_load_prog() argument 54 void (*bpf_filler)(unsigned int insns, in bpf_try_load_prog() argument 114 tag_from_alg(int insns,uint8_t * tag,uint32_t len) tag_from_alg() argument 154 tag_exit_report(int insns,int fd_map,uint8_t * ftag,uint8_t * atag,uint32_t len) tag_exit_report() argument 166 do_test(uint32_t * tests,int start_insns,int fd_map,void (* bpf_filler)(unsigned int insns,int fd)) do_test() argument [all...] |
| H A D | testing_helpers.c | 261 static struct bpf_insn insns[] = { testing_prog_flags() local 325 bpf_test_load_program(enum bpf_prog_type type,const struct bpf_insn * insns,size_t insns_cnt,const char * license,__u32 kern_version,char * log_buf,size_t log_buf_sz) bpf_test_load_program() argument
|
| /linux/tools/lib/bpf/ |
| H A D | features.c | 25 struct bpf_insn insns[] = { in probe_kern_prog_name() local 49 struct bpf_insn insns[] = { in probe_kern_global_data() local 230 struct bpf_insn insns[] = { in probe_kern_exp_attach_type() local 251 struct bpf_insn insns[] = { in probe_kern_probe_read_kernel() local 267 struct bpf_insn insns[] = { in probe_prog_bind_map() local 334 struct bpf_insn insns[] = { in probe_perf_link() local 370 struct bpf_insn insns[] = { in probe_uprobe_multi_link() local 429 struct bpf_insn insns[] = { in probe_kern_bpf_cookie() local 475 const struct bpf_insn insns[] = { in probe_kern_arg_ctx_tag() local 524 struct bpf_insn insns[] = { in probe_ldimm64_full_range_off() local [all …]
|
| H A D | libbpf_probes.c | 104 const struct bpf_insn *insns, size_t insns_cnt, in probe_prog_load() argument 207 struct bpf_insn insns[] = { in libbpf_probe_bpf_prog_type() local 419 struct bpf_insn insns[] = { libbpf_probe_bpf_helper() local
|
| H A D | gen_loader.c | 917 static void emit_relo(struct bpf_gen *gen, struct ksym_relo_desc *relo, int insns) in emit_relo() 935 static void emit_relos(struct bpf_gen *gen, int insns) in emit_relos() 952 static void cleanup_relos(struct bpf_gen *gen, int insns) in cleanup_relos() 1005 const char *license, struct bpf_insn *insns, size_t insn_cnt, in bpf_gen__prog_load()
|
| /linux/arch/sparc/kernel/ |
| H A D | entry.h | 50 unsigned int insns[3]; member 57 unsigned int insns[6]; member 64 unsigned int insns[3]; member
|
| H A D | signal_32.c | 40 unsigned long insns[2] __attribute__ ((aligned (8))); member 52 unsigned int insns[2]; member
|
| H A D | signal32.c | 49 unsigned int insns[2]; member 63 unsigned int insns[2]; member
|
| /linux/arch/riscv/kernel/ |
| H A D | patch.c | 21 u32 *insns; member 240 int patch_text_nosync(void *addr, const void *insns, size_t len) in patch_text_nosync() 278 int patch_text(void *addr, u32 *insns, size_t len) in patch_text()
|
| H A D | traps.c | 40 static int copy_code(struct pt_regs *regs, u16 *val, const u16 *insns) in copy_code() 57 const u16 *insns = (u16 *)instruction_pointer(regs); in dump_instr() local
|
| /linux/kernel/bpf/ |
| H A D | const_fold.c | 51 struct bpf_insn *insn, struct bpf_insn *insns, int idx) in const_reg_xfer() 236 struct bpf_insn *insns = env->prog->insnsi; in bpf_compute_const_regs() local 342 struct bpf_insn *insns = env->prog->insnsi; in bpf_prune_dead_branches() local
|
| H A D | cfg.c | 160 static int visit_func_call_insn(int t, struct bpf_insn *insns, in visit_func_call_insn() 453 struct bpf_insn *insns = env->prog->insnsi, *insn = &insns[t]; in visit_insn() local
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | signed_loader.c | 37 static int load_loader(const void *insns, __u32 insns_sz, int map_fd, in load_loader() 63 static int run_gen_loader(const void *insns, __u32 insns_sz, in run_gen_loader() 821 unsigned char *insns = NULL, *tampered = NULL, *blob = NULL; in signature_authenticates_insns() local 921 unsigned char *insns = NULL, *blob = NULL; in signature_authenticates_metadata() local 1348 static int loadtime_drive(const char *dir, const void *insns, __u32 insns_sz, in loadtime_drive() 1536 struct bpf_insn insns[] = { in signed_no_fd_array() local 1601 struct bpf_insn insns[] = { in signed_map_by_fd_rejected() local 1664 struct bpf_insn insns[] = { in signed_sparse_fd_array_rejected() local 1721 struct bpf_insn insns[] = { in signed_module_kfunc_rejected() local
|
| H A D | global_data_init.c | 275 struct bpf_insn insns[] = { in test_global_percpu_data_rdonly_direct_read() local 298 struct bpf_insn insns[] = { in test_global_percpu_data_rdonly_direct_write() local
|
| H A D | xdp_dev_bound_only.c | 10 struct bpf_insn insns[] = { BPF_MOV64_IMM(BPF_REG_0, 0), BPF_EXIT_INSN() }; in load_dummy_prog() local
|
| H A D | arena_direct_value.c | 17 struct bpf_insn insns[] = { in test_arena_direct_value_one_past_end() local
|
| H A D | core_reloc_raw.c | 52 struct bpf_insn insns[] = { in test_bad_local_id() local
|
| H A D | sockopt.c | 27 const struct bpf_insn insns[64]; member 986 static int load_prog(const struct bpf_insn *insns, in load_prog()
|
| H A D | align.c | |
| /linux/arch/x86/include/asm/ |
| H A D | static_call.h | 34 #define __ARCH_DEFINE_STATIC_CALL_TRAMP(name, insns) \ argument
|
| /linux/tools/testing/selftests/powerpc/mm/ |
| H A D | exec_prot.c | 30 static unsigned int *insns; variable
|
| /linux/net/netfilter/ |
| H A D | xt_bpf.c | 24 static int __bpf_mt_check_bytecode(struct sock_filter *insns, __u16 len, in __bpf_mt_check_bytecode()
|
| /linux/arch/x86/tools/ |
| H A D | insn_decoder_test.c | 115 int insns = 0; in main() local
|
| H A D | insn_sanity.c | 221 int insns = 0, ret; in main() local
|
| /linux/samples/bpf/ |
| H A D | fds_example.c | 52 static struct bpf_insn insns[] = { in bpf_prog_create() local
|