H A D | verifier.c | 188 int insn_idx; member 555 static bool is_may_goto_insn_at(struct bpf_verifier_env *env, int insn_idx) in is_may_goto_insn_at() argument 732 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 1029 mark_stack_slots_iter(struct bpf_verifier_env * env,struct bpf_kfunc_call_arg_meta * meta,struct bpf_reg_state * reg,int insn_idx,struct btf * btf,u32 btf_id,int nr_slots) mark_stack_slots_iter() argument 1166 mark_stack_slot_irq_flag(struct bpf_verifier_env * env,struct bpf_kfunc_call_arg_meta * meta,struct bpf_reg_state * reg,int insn_idx,int kfunc_class) mark_stack_slot_irq_flag() argument 1225 int insn_idx = 0; unmark_stack_slot_irq_flag() local 1500 acquire_reference_state(struct bpf_verifier_env * env,int insn_idx) acquire_reference_state() argument 1514 acquire_reference(struct bpf_verifier_env * env,int insn_idx) acquire_reference() argument 1526 acquire_lock_state(struct bpf_verifier_env * env,int insn_idx,enum ref_state_type type,int id,void * ptr) acquire_lock_state() argument 1545 acquire_irq_state(struct bpf_verifier_env * env,int insn_idx) acquire_irq_state() argument 1833 u32 i, scc, insn_idx; compute_scc_callchain() local 2054 pop_stack(struct bpf_verifier_env * env,int * prev_insn_idx,int * insn_idx,bool pop_log) pop_stack() argument 2095 push_stack(struct bpf_verifier_env * env,int insn_idx,int prev_insn_idx,bool speculative) push_stack() argument 2907 push_async_cb(struct bpf_verifier_env * env,int insn_idx,int prev_insn_idx,int subprog,bool is_sleepable) push_async_cb() argument 3874 is_jmp_point(struct bpf_verifier_env * env,int insn_idx) is_jmp_point() argument 4001 get_jmp_hist_entry(struct bpf_verifier_state * st,u32 hist_end,int insn_idx) get_jmp_hist_entry() argument 5083 check_fastcall_stack_contract(struct bpf_verifier_env * env,struct bpf_func_state * state,int insn_idx,int off) check_fastcall_stack_contract() argument 5113 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 5258 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 5662 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 6012 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 6229 check_ctx_access(struct bpf_verifier_env * env,int insn_idx,int off,int size,enum bpf_access_type t,struct bpf_insn_access_aux * info) check_ctx_access() argument 6273 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 7535 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 8649 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 8769 process_iter_arg(struct bpf_verifier_env * env,int regno,int insn_idx,struct bpf_kfunc_call_arg_meta * meta) process_iter_arg() argument 8860 find_prev_entry(struct bpf_verifier_env * env,struct bpf_verifier_state * cur,int insn_idx) find_prev_entry() argument 9019 process_iter_next_call(struct bpf_verifier_env * env,int insn_idx,struct bpf_kfunc_call_arg_meta * meta) process_iter_next_call() argument 9652 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 10587 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 10656 check_func_call(struct bpf_verifier_env * env,struct bpf_insn * insn,int * insn_idx) check_func_call() argument 10763 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 10778 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 10804 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 10826 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 10856 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 10884 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 10907 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 10970 prepare_func_exit(struct bpf_verifier_env * env,int * insn_idx) prepare_func_exit() argument 11101 record_func_map(struct bpf_verifier_env * env,struct bpf_call_arg_meta * meta,int func_id,int insn_idx) record_func_map() argument 11147 record_func_key(struct bpf_verifier_env * env,struct bpf_call_arg_meta * meta,int func_id,int insn_idx) record_func_key() argument 11374 int insn_idx = *insn_idx_p; check_helper_call() local 13010 check_kfunc_args(struct bpf_verifier_env * env,struct bpf_kfunc_call_arg_meta * meta,int insn_idx) check_kfunc_args() argument 13760 int err, insn_idx = *insn_idx_p; check_kfunc_call() local 16614 check_cond_jmp_op(struct bpf_verifier_env * env,struct bpf_insn * insn,int * insn_idx) check_cond_jmp_op() argument 17338 is_prune_point(struct bpf_verifier_env * env,int insn_idx) is_prune_point() argument 17348 is_force_checkpoint(struct bpf_verifier_env * env,int insn_idx) is_force_checkpoint() argument 17358 calls_callback(struct bpf_verifier_env * env,int insn_idx) calls_callback() argument 17591 mark_fastcall_pattern_for_call(struct bpf_verifier_env * env,struct bpf_subprog_info * subprog,int insn_idx,s16 lowest_off) mark_fastcall_pattern_for_call() argument 18935 func_states_equal(struct bpf_verifier_env * env,struct bpf_func_state * old,struct bpf_func_state * cur,u32 insn_idx,enum exact_level exact) func_states_equal() argument 18966 u32 insn_idx; states_equal() local 19203 is_iter_next_insn(struct bpf_verifier_env * env,int insn_idx) is_iter_next_insn() argument 19290 is_state_visited(struct bpf_verifier_env * env,int insn_idx) is_state_visited() argument 21874 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 24343 int insn_idx = env->cfg.insn_postorder[i]; compute_live_registers() local [all...] |
H A D | libbpf.c | 379 int insn_idx; global() member 4490 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 4660 prog_contains_insn(const struct bpf_program * prog,size_t insn_idx) prog_contains_insn() argument 4667 find_prog_by_sec_insn(const struct bpf_object * obj,size_t sec_idx,size_t insn_idx) find_prog_by_sec_insn() argument 4703 __u32 insn_idx; bpf_object__collect_prog_relos() local 5845 record_relo_core(struct bpf_program * prog,const struct bpf_core_relo * core_relo,int insn_idx) record_relo_core() argument 5862 find_relo_core(struct bpf_program * prog,int insn_idx) find_relo_core() argument 5933 int i, err = 0, insn_idx, sec_idx, sec_num; bpf_object__relocate_core() local 6045 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 6075 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 6337 size_t insn_idx = *(const size_t *)key; cmp_relo_by_insn_idx() local 6345 find_prog_insn_relo(const struct bpf_program * prog,size_t insn_idx) find_prog_insn_relo() argument 6418 size_t sub_insn_idx, insn_idx; bpf_object__reloc_code() local 7722 int insn_idx, err, spec_len; fixup_log_failed_core_relo() local 7758 int insn_idx, map_idx; fixup_log_missing_map_load() local 7791 int insn_idx, ext_idx; fixup_log_missing_kfunc_call() local 9886 unsigned int moff, insn_idx; bpf_object__collect_st_ops_relos() local [all...] |