Home
last modified time | relevance | path

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

123

/linux/tools/testing/selftests/bpf/ !
H A Dtest_tag.c27 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 Dtesting_helpers.c260 static struct bpf_insn insns[] = { in testing_prog_flags() local
324 int bpf_test_load_program(enum bpf_prog_type type, const struct bpf_insn *insns, in bpf_test_load_program() argument
/linux/tools/lib/bpf/ !
H A Dfeatures.c26 struct bpf_insn insns[] = { in probe_kern_prog_name() local
50 struct bpf_insn insns[] = { in probe_kern_global_data() local
231 struct bpf_insn insns[] = { in probe_kern_exp_attach_type() local
252 struct bpf_insn insns[] = { probe_kern_probe_read_kernel() local
268 struct bpf_insn insns[] = { probe_prog_bind_map() local
335 struct bpf_insn insns[] = { probe_perf_link() local
371 struct bpf_insn insns[] = { probe_uprobe_multi_link() local
430 struct bpf_insn insns[] = { probe_kern_bpf_cookie() local
476 const struct bpf_insn insns[] = { probe_kern_arg_ctx_tag() local
[all...]
H A Dgen_loader.c901 static void emit_relo(struct bpf_gen *gen, struct ksym_relo_desc *relo, int insns) in emit_relo() argument
919 static void emit_relos(struct bpf_gen *gen, int insns) in emit_relos() argument
936 cleanup_relos(struct bpf_gen * gen,int insns) cleanup_relos() argument
989 bpf_gen__prog_load(struct bpf_gen * gen,enum bpf_prog_type prog_type,const char * prog_name,const char * license,struct bpf_insn * insns,size_t insn_cnt,struct bpf_prog_load_opts * load_attr,int prog_idx) bpf_gen__prog_load() argument
[all...]
/linux/tools/bpf/bpftool/ !
H A Dfeature.c514 const struct bpf_insn *insns, size_t insns_cnt, in probe_prog_load_ifindex() argument
537 struct bpf_insn insns[2] = { in probe_prog_type_ifindex() local
658 struct bpf_insn insns[2] = { in probe_helper_ifindex() local
781 probe_misc_feature(struct bpf_insn *insns, size_t len, in probe_misc_feature() argument
811 struct bpf_insn insns[BPF_MAXINSNS + 1]; probe_large_insn_limit() local
832 struct bpf_insn insns[4] = { probe_bounded_loops() local
853 struct bpf_insn insns[4] = { probe_v2_isa_extension() local
874 struct bpf_insn insns[4] = { probe_v3_isa_extension() local
895 struct bpf_insn insns[5] = { probe_v4_isa_extension() local
[all...]
/linux/arch/sparc/kernel/ !
H A Dentry.h50 unsigned int insns[3]; member
57 unsigned int insns[6]; member
64 unsigned int insns[3]; member
H A Dsignal_32.c40 unsigned long insns[2] __attribute__ ((aligned (8))); member
52 unsigned int insns[2]; member
[all...]
H A Dsignal32.c49 unsigned int insns[2]; member
63 unsigned int insns[2]; member
[all...]
/linux/arch/riscv/kernel/ !
H A Dpatch.c21 u32 *insns; member
239 int patch_text_nosync(void *addr, const void *insns, size_t len) in patch_text_nosync() argument
277 int patch_text(void *addr, u32 *insns, size_t len) in patch_text() argument
/linux/tools/testing/selftests/bpf/prog_tests/ !
H A Dsock_create.c16 const struct bpf_insn insns[64]; member
255 load_prog(const struct bpf_insn * insns,enum bpf_attach_type expected_attach_type) load_prog() argument
[all...]
H A Dsock_post_bind.c13 const struct bpf_insn insns[64]; member
280 load_prog(const struct bpf_insn * insns,enum bpf_attach_type expected_attach_type) load_prog() argument
[all...]
H A Dxdp_dev_bound_only.c10 struct bpf_insn insns[] = { BPF_MOV64_IMM(BPF_REG_0, 0), BPF_EXIT_INSN() }; in load_dummy_prog() local
H A Dcore_reloc_raw.c52 struct bpf_insn insns[] = { in test_bad_local_id() local
H A Dsockopt.c26 const struct bpf_insn insns[64]; member
964 load_prog(const struct bpf_insn * insns,enum bpf_prog_type prog_type,enum bpf_attach_type expected_attach_type) load_prog() argument
[all...]
H A Dalign.c15 struct bpf_insn insns[MAX_INSNS]; member
[all...]
H A Dverifier_log.c33 static const struct bpf_insn *insns; variable
/linux/lib/ !
H A Dtest_bpf.c68 struct sock_filter insns[MAX_INSNS]; member
71 void *insns; member
483 struct bpf_insn *insns; __bpf_fill_max_jmp() local
847 struct bpf_insn *insns; __bpf_fill_pattern() local
937 __bpf_emit_alu64_imm(struct bpf_test * self,void * arg,struct bpf_insn * insns,s64 dst,s64 imm) __bpf_emit_alu64_imm() argument
958 __bpf_emit_alu32_imm(struct bpf_test * self,void * arg,struct bpf_insn * insns,s64 dst,s64 imm) __bpf_emit_alu32_imm() argument
979 __bpf_emit_alu64_reg(struct bpf_test * self,void * arg,struct bpf_insn * insns,s64 dst,s64 src) __bpf_emit_alu64_reg() argument
1001 __bpf_emit_alu32_reg(struct bpf_test * self,void * arg,struct bpf_insn * insns,s64 dst,s64 src) __bpf_emit_alu32_reg() argument
1241 struct bpf_insn *insns; __bpf_fill_alu_imm_regs() local
1425 struct bpf_insn *insns; __bpf_fill_alu_reg_pairs() local
1615 __bpf_emit_atomic64(struct bpf_test * self,void * arg,struct bpf_insn * insns,s64 dst,s64 src) __bpf_emit_atomic64() argument
1662 __bpf_emit_atomic32(struct bpf_test * self,void * arg,struct bpf_insn * insns,s64 dst,s64 src) __bpf_emit_atomic32() argument
1709 __bpf_emit_cmpxchg64(struct bpf_test * self,void * arg,struct bpf_insn * insns,s64 dst,s64 src) __bpf_emit_cmpxchg64() argument
1749 __bpf_emit_cmpxchg32(struct bpf_test * self,void * arg,struct bpf_insn * insns,s64 dst,s64 src) __bpf_emit_cmpxchg32() argument
2323 __bpf_emit_jmp_imm(struct bpf_test * self,void * arg,struct bpf_insn * insns,s64 dst,s64 imm) __bpf_emit_jmp_imm() argument
2346 __bpf_emit_jmp32_imm(struct bpf_test * self,void * arg,struct bpf_insn * insns,s64 dst,s64 imm) __bpf_emit_jmp32_imm() argument
2367 __bpf_emit_jmp_reg(struct bpf_test * self,void * arg,struct bpf_insn * insns,s64 dst,s64 src) __bpf_emit_jmp_reg() argument
2389 __bpf_emit_jmp32_reg(struct bpf_test * self,void * arg,struct bpf_insn * insns,s64 dst,s64 src) __bpf_emit_jmp32_reg() argument
2724 struct bpf_insn *insns; __bpf_fill_staggered_jumps() local
15248 struct bpf_insn insns[MAX_INSNS]; global() member
[all...]
/linux/tools/testing/selftests/powerpc/mm/ !
H A Dexec_prot.c30 static unsigned int *insns; variable
[all...]
H A Dpkey_exec_prot.c28 static unsigned int *insns; variable
[all...]
/linux/arch/arm64/include/asm/ !
H A Druntime-const.h52 static inline void __runtime_fixup_caches(void *where, unsigned int insns) in __runtime_fixup_caches() argument
/linux/net/netfilter/ !
H A Dxt_bpf.c24 static int __bpf_mt_check_bytecode(struct sock_filter *insns, __u16 len, in __bpf_mt_check_bytecode() argument
/linux/arch/x86/tools/ !
H A Dinsn_decoder_test.c115 int insns = 0; in main() local
H A Dinsn_sanity.c221 int insns = 0, ret; in main() local
/linux/samples/bpf/ !
H A Dfds_example.c52 static struct bpf_insn insns[] = { in bpf_prog_create() local
/linux/arch/riscv/include/asm/ !
H A Druntime-const.h166 static inline void __runtime_fixup_caches(void *where, unsigned int insns) in __runtime_fixup_caches() argument

123