| /kernel/linux/linux-6.6/arch/powerpc/net/ |
| H A D | bpf_jit_comp.c | 233 bpf_add_extable_entry(struct bpf_prog *fp, u32 *image, int pass, struct codegen_context *ctx, int insn_idx, int jmp_off, int dst_reg) bpf_add_extable_entry() argument
|
| H A D | bpf_jit_comp32.c | 981 int insn_idx = ctx->idx - 1; in bpf_jit_build_body() local
|
| /kernel/linux/linux-6.6/tools/lib/bpf/ |
| H A D | bpf_gen_internal.h | 11 int insn_idx; member
|
| H A D | gen_loader.c | 562 bpf_gen__record_extern(struct bpf_gen *gen, const char *name, bool is_weak, bool is_typeless, bool is_ld64, int kind, int insn_idx) bpf_gen__record_extern() argument [all...] |
| H A D | relo_core.c | 969 bpf_core_poison_insn(const char *prog_name, int relo_idx, int insn_idx, struct bpf_insn *insn) bpf_core_poison_insn() argument 1024 bpf_core_patch_insn(const char *prog_name, struct bpf_insn *insn, int insn_idx, const struct bpf_core_relo *relo, int relo_idx, const struct bpf_core_relo_res *res) bpf_core_patch_insn() argument [all...] |
| H A D | libbpf.c | 339 int insn_idx; member 4048 bpf_program__record_reloc(struct bpf_program *prog, struct reloc_desc *reloc_desc, __u32 insn_idx, const char *sym_name, const Elf64_Sym *sym, const Elf64_Rel *rel) bpf_program__record_reloc() argument 4201 prog_contains_insn(const struct bpf_program *prog, size_t insn_idx) prog_contains_insn() argument 4207 find_prog_by_sec_insn(const struct bpf_object *obj, size_t sec_idx, size_t insn_idx) find_prog_by_sec_insn() argument 4244 __u32 insn_idx; bpf_object__collect_prog_relos() local 5705 record_relo_core(struct bpf_program *prog, const struct bpf_core_relo *core_relo, int insn_idx) record_relo_core() argument 5723 find_relo_core(struct bpf_program *prog, int insn_idx) find_relo_core() argument 5794 int i, err = 0, insn_idx, sec_idx, sec_num; bpf_object__relocate_core() local 5905 poison_map_ldimm64(struct bpf_program *prog, int relo_idx, int insn_idx, struct bpf_insn *insn, int map_idx, const struct bpf_map *map) poison_map_ldimm64() argument 5935 poison_kfunc_call(struct bpf_program *prog, int relo_idx, int insn_idx, struct bpf_insn *insn, int ext_idx, const struct extern_desc *ext) poison_kfunc_call() argument 6198 size_t insn_idx = *(const size_t *)key; cmp_relo_by_insn_idx() local 6206 find_prog_insn_relo(const struct bpf_program *prog, size_t insn_idx) find_prog_insn_relo() argument 6247 size_t sub_insn_idx, insn_idx, new_cnt; bpf_object__reloc_code() local 7121 int insn_idx, err, spec_len; fixup_log_failed_core_relo() local 7157 int insn_idx, map_idx; fixup_log_missing_map_load() local 7190 int insn_idx, ext_idx; fixup_log_missing_kfunc_call() local 9134 unsigned int moff, insn_idx; bpf_object__collect_st_ops_relos() local [all...] |
| /kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/bpf/ |
| H A D | verifier.c | 626 int nfp_verify_insn(struct bpf_verifier_env *env, int insn_idx, in nfp_verify_insn() argument 20 nfp_bpf_goto_meta(struct nfp_prog *nfp_prog, struct nfp_insn_meta *meta, unsigned int insn_idx) nfp_bpf_goto_meta() argument [all...] |
| /kernel/linux/linux-5.10/drivers/net/netdevsim/ |
| H A D | bpf.c | 63 nsim_bpf_verify_insn(struct bpf_verifier_env *env, int insn_idx, int prev_insn) in nsim_bpf_verify_insn() argument
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/bpf/ |
| H A D | verifier.c | 631 int nfp_verify_insn(struct bpf_verifier_env *env, int insn_idx, in nfp_verify_insn() argument 20 nfp_bpf_goto_meta(struct nfp_prog *nfp_prog, struct nfp_insn_meta *meta, unsigned int insn_idx) nfp_bpf_goto_meta() argument [all...] |
| /kernel/linux/linux-6.6/drivers/net/netdevsim/ |
| H A D | bpf.c | 63 nsim_bpf_verify_insn(struct bpf_verifier_env *env, int insn_idx, int prev_insn) in nsim_bpf_verify_insn() argument
|
| /kernel/linux/linux-5.10/samples/bpf/ |
| H A D | bpf_load.c | 350 unsigned int insn_idx; in parse_relo_and_apply() local
|
| /kernel/linux/linux-5.10/kernel/bpf/ |
| H A D | offload.c | 143 bpf_prog_offload_verify_insn(struct bpf_verifier_env *env, int insn_idx, int prev_insn_idx) bpf_prog_offload_verify_insn() argument
|
| H A D | verifier.c | 171 int insn_idx; member 787 static int acquire_reference_state(struct bpf_verifier_env *env, int insn_idx) in acquire_reference_state() argument 943 pop_stack(struct bpf_verifier_env *env, int *prev_insn_idx, int *insn_idx, bool pop_log) pop_stack() argument 972 push_stack(struct bpf_verifier_env *env, int insn_idx, int prev_insn_idx, bool speculative) push_stack() argument 2468 check_stack_write_fixed_off(struct bpf_verifier_env *env, struct bpf_func_state *state, int off, int size, int value_regno, int insn_idx) check_stack_write_fixed_off() argument 2607 check_stack_write_var_off(struct bpf_verifier_env *env, struct bpf_func_state *state, int ptr_regno, int off, int size, int value_regno, int insn_idx) check_stack_write_var_off() argument 2967 check_stack_write(struct bpf_verifier_env *env, int ptr_regno, int off, int size, int value_regno, int insn_idx) check_stack_write() argument 3227 check_ctx_access(struct bpf_verifier_env *env, int insn_idx, int off, int size, enum bpf_access_type t, enum bpf_reg_type *reg_type, u32 *btf_id) check_ctx_access() argument 3273 check_sock_access(struct bpf_verifier_env *env, int insn_idx, u32 regno, int off, int size, enum bpf_access_type t) check_sock_access() argument 3971 check_mem_access(struct bpf_verifier_env *env, int insn_idx, u32 regno, int off, int bpf_size, enum bpf_access_type t, int value_regno, bool strict_alignment_once) check_mem_access() argument 4186 check_xadd(struct bpf_verifier_env *env, int insn_idx, struct bpf_insn *insn) check_xadd() argument 5349 check_func_call(struct bpf_verifier_env *env, struct bpf_insn *insn, int *insn_idx) check_func_call() argument 5449 prepare_func_exit(struct bpf_verifier_env *env, int *insn_idx) prepare_func_exit() argument 5513 record_func_map(struct bpf_verifier_env *env, struct bpf_call_arg_meta *meta, int func_id, int insn_idx) record_func_map() argument 5556 record_func_key(struct bpf_verifier_env *env, struct bpf_call_arg_meta *meta, int func_id, int insn_idx) record_func_key() argument 5604 check_helper_call(struct bpf_verifier_env *env, int func_id, int insn_idx) check_helper_call() argument 8214 check_cond_jmp_op(struct bpf_verifier_env *env, struct bpf_insn *insn, int *insn_idx) check_cond_jmp_op() argument 9809 is_state_visited(struct bpf_verifier_env *env, int insn_idx) is_state_visited() argument [all...] |
| /kernel/linux/linux-6.6/kernel/bpf/ |
| H A D | offload.c | 305 bpf_prog_offload_verify_insn(struct bpf_verifier_env *env, int insn_idx, int prev_insn_idx) bpf_prog_offload_verify_insn() argument
|
| H A D | verifier.c | 176 int insn_idx; member 1674 static int acquire_reference_state(struct bpf_verifier_env *env, int insn_idx) in acquire_reference_state() argument 894 mark_stack_slots_dynptr(struct bpf_verifier_env *env, struct bpf_reg_state *reg, enum bpf_arg_type arg_type, int insn_idx, int clone_ref_obj_id) mark_stack_slots_dynptr() argument 1186 mark_stack_slots_iter(struct bpf_verifier_env *env, struct bpf_reg_state *reg, int insn_idx, struct btf *btf, u32 btf_id, int nr_slots) mark_stack_slots_iter() argument 2012 pop_stack(struct bpf_verifier_env *env, int *prev_insn_idx, int *insn_idx, bool pop_log) pop_stack() argument 2041 push_stack(struct bpf_verifier_env *env, int insn_idx, int prev_insn_idx, bool speculative) push_stack() argument 2578 push_async_cb(struct bpf_verifier_env *env, int insn_idx, int prev_insn_idx, int subprog) push_async_cb() argument 3395 is_jmp_point(struct bpf_verifier_env *env, int insn_idx) is_jmp_point() argument 4542 check_stack_write_fixed_off(struct bpf_verifier_env *env, struct bpf_func_state *state, int off, int size, int value_regno, int insn_idx) check_stack_write_fixed_off() argument 4682 check_stack_write_var_off(struct bpf_verifier_env *env, struct bpf_func_state *state, int ptr_regno, int off, int size, int value_regno, int insn_idx) check_stack_write_var_off() argument 5055 check_stack_write(struct bpf_verifier_env *env, int ptr_regno, int off, int size, int value_regno, int insn_idx) check_stack_write() argument 5336 check_map_kptr_access(struct bpf_verifier_env *env, u32 regno, int value_regno, int insn_idx, struct btf_field *kptr_field) check_map_kptr_access() argument 5542 check_ctx_access(struct bpf_verifier_env *env, int insn_idx, int off, int size, enum bpf_access_type t, enum bpf_reg_type *reg_type, struct btf **btf, u32 *btf_id) check_ctx_access() argument 5590 check_sock_access(struct bpf_verifier_env *env, int insn_idx, u32 regno, int off, int size, enum bpf_access_type t) check_sock_access() argument 6664 check_mem_access(struct bpf_verifier_env *env, int insn_idx, u32 regno, int off, int bpf_size, enum bpf_access_type t, int value_regno, bool strict_alignment_once, bool is_ldsx) check_mem_access() argument 6900 check_atomic(struct bpf_verifier_env *env, int insn_idx, struct bpf_insn *insn) check_atomic() argument 7578 process_dynptr_func(struct bpf_verifier_env *env, int regno, int insn_idx, enum bpf_arg_type arg_type, int clone_ref_obj_id) process_dynptr_func() argument 7686 process_iter_arg(struct bpf_verifier_env *env, int regno, int insn_idx, struct bpf_kfunc_call_arg_meta *meta) process_iter_arg() argument 7753 find_prev_entry(struct bpf_verifier_env *env, struct bpf_verifier_state *cur, int insn_idx) find_prev_entry() argument 7903 process_iter_next_call(struct bpf_verifier_env *env, int insn_idx, struct bpf_kfunc_call_arg_meta *meta) process_iter_next_call() argument 8426 check_func_arg(struct bpf_verifier_env *env, u32 arg, struct bpf_call_arg_meta *meta, const struct bpf_func_proto *fn, int insn_idx) check_func_arg() argument 9240 push_callback_call(struct bpf_verifier_env *env, struct bpf_insn *insn, int insn_idx, int subprog, set_callee_state_fn set_callee_state_cb) push_callback_call() argument 9309 check_func_call(struct bpf_verifier_env *env, struct bpf_insn *insn, int *insn_idx) check_func_call() argument 9394 set_callee_state(struct bpf_verifier_env *env, struct bpf_func_state *caller, struct bpf_func_state *callee, int insn_idx) set_callee_state() argument 9408 set_map_elem_callback_state(struct bpf_verifier_env *env, struct bpf_func_state *caller, struct bpf_func_state *callee, int insn_idx) set_map_elem_callback_state() argument 9438 set_loop_callback_state(struct bpf_verifier_env *env, struct bpf_func_state *caller, struct bpf_func_state *callee, int insn_idx) set_loop_callback_state() argument 9460 set_timer_callback_state(struct bpf_verifier_env *env, struct bpf_func_state *caller, struct bpf_func_state *callee, int insn_idx) set_timer_callback_state() argument 9490 set_find_vma_callback_state(struct bpf_verifier_env *env, struct bpf_func_state *caller, struct bpf_func_state *callee, int insn_idx) set_find_vma_callback_state() argument 9518 set_user_ringbuf_callback_state(struct bpf_verifier_env *env, struct bpf_func_state *caller, struct bpf_func_state *callee, int insn_idx) set_user_ringbuf_callback_state() argument 9541 set_rbtree_add_callback_state(struct bpf_verifier_env *env, struct bpf_func_state *caller, struct bpf_func_state *callee, int insn_idx) set_rbtree_add_callback_state() argument 9598 prepare_func_exit(struct bpf_verifier_env *env, int *insn_idx) prepare_func_exit() argument 9737 record_func_map(struct bpf_verifier_env *env, struct bpf_call_arg_meta *meta, int func_id, int insn_idx) record_func_map() argument 9783 record_func_key(struct bpf_verifier_env *env, struct bpf_call_arg_meta *meta, int func_id, int insn_idx) record_func_key() argument 9941 int insn_idx = *insn_idx_p; check_helper_call() local 11251 check_kfunc_args(struct bpf_verifier_env *env, struct bpf_kfunc_call_arg_meta *meta, int insn_idx) check_kfunc_args() argument 11713 int err, insn_idx = *insn_idx_p; check_kfunc_call() local 14457 check_cond_jmp_op(struct bpf_verifier_env *env, struct bpf_insn *insn, int *insn_idx) check_cond_jmp_op() argument 15116 is_prune_point(struct bpf_verifier_env *env, int insn_idx) is_prune_point() argument 15126 is_force_checkpoint(struct bpf_verifier_env *env, int insn_idx) is_force_checkpoint() argument 15136 calls_callback(struct bpf_verifier_env *env, int insn_idx) calls_callback() argument 16467 is_iter_next_insn(struct bpf_verifier_env *env, int insn_idx) is_iter_next_insn() argument 16554 is_state_visited(struct bpf_verifier_env *env, int insn_idx) is_state_visited() argument 18769 fixup_kfunc_call(struct bpf_verifier_env *env, struct bpf_insn *insn, struct bpf_insn *insn_buf, int insn_idx, int *cnt) fixup_kfunc_call() argument [all...] |
| /kernel/linux/linux-5.10/include/linux/ |
| H A D | bpf_verifier.h | 177 int insn_idx; member 267 u32 insn_idx; member 416 u32 insn_idx; member
|
| H A D | bpf.h | 831 u32 insn_idx; member
|
| /kernel/linux/linux-6.6/include/linux/ |
| H A D | bpf_verifier.h | 264 int insn_idx; member 380 u32 insn_idx; member 606 u32 insn_idx; member
|
| H A D | bpf.h | 1372 u32 insn_idx; member
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
| H A D | test_verifier.c | 83 int insn_idx; member
|
| /kernel/linux/linux-5.10/tools/lib/bpf/ |
| H A D | libbpf.c | 193 int insn_idx; member 3335 bpf_program__record_reloc(struct bpf_program *prog, struct reloc_desc *reloc_desc, __u32 insn_idx, const char *sym_name, const GElf_Sym *sym, const GElf_Rel *rel) bpf_program__record_reloc() argument 3470 prog_contains_insn(const struct bpf_program *prog, size_t insn_idx) prog_contains_insn() argument 3476 find_prog_by_sec_insn(const struct bpf_object *obj, size_t sec_idx, size_t insn_idx) find_prog_by_sec_insn() argument 3514 __u32 insn_idx; bpf_object__collect_prog_relos() local 5411 bpf_core_poison_insn(struct bpf_program *prog, int relo_idx, int insn_idx, struct bpf_insn *insn) bpf_core_poison_insn() argument 5478 int insn_idx; bpf_core_patch_insn() local 5904 int i, err = 0, insn_idx, sec_idx; bpf_object__relocate_core() local 6198 size_t insn_idx = *(const size_t *)key; cmp_relo_by_insn_idx() local 6206 find_prog_insn_relo(const struct bpf_program *prog, size_t insn_idx) find_prog_insn_relo() argument 6216 size_t sub_insn_idx, insn_idx, new_cnt; bpf_object__reloc_code() local 8567 unsigned int moff, insn_idx; bpf_object__collect_st_ops_relos() local [all...] |