Lines Matching defs:insn
246 static bool bpf_helper_call(const struct bpf_insn *insn) in bpf_helper_call()
252 static bool bpf_pseudo_call(const struct bpf_insn *insn) in bpf_pseudo_call()
258 static bool bpf_pseudo_kfunc_call(const struct bpf_insn *insn) in bpf_pseudo_kfunc_call()
584 static bool is_cmpxchg_insn(const struct bpf_insn *insn) in is_cmpxchg_insn()
2777 const struct bpf_insn *insn) in bpf_jit_find_kfunc_model()
2796 struct bpf_insn *insn = env->prog->insnsi; in add_subprog_and_kfunc() local
2839 struct bpf_insn *insn = env->prog->insnsi; in check_subprogs() local
2988 static bool is_reg64(struct bpf_verifier_env *env, struct bpf_insn *insn, in is_reg64()
3075 static int insn_def_regno(const struct bpf_insn *insn) in insn_def_regno()
3098 static bool insn_has_def32(struct bpf_verifier_env *env, struct bpf_insn *insn) in insn_has_def32()
3126 struct bpf_insn *insn = env->prog->insnsi + env->insn_idx; in check_reg_arg() local
3218 static const char *disasm_kfunc_name(void *data, const struct bpf_insn *insn) in disasm_kfunc_name()
3406 struct bpf_insn *insn = env->prog->insnsi + idx; in backtrack_insn() local
4283 static bool is_bpf_st_mem(struct bpf_insn *insn) in is_bpf_st_mem()
4299 struct bpf_insn *insn = &env->prog->insnsi[insn_idx]; in check_stack_write_fixed_off() local
4444 struct bpf_insn *insn = &env->prog->insnsi[insn_idx]; in check_stack_write_var_off() local
5096 struct bpf_insn *insn = &env->prog->insnsi[insn_idx]; in check_map_kptr_access() local
5602 struct bpf_insn *insn = env->prog->insnsi; in check_max_stack_depth_subprog() local
5728 const struct bpf_insn *insn, int idx) in get_callee_stack_depth()
6679 static int check_atomic(struct bpf_verifier_env *env, int insn_idx, struct bpf_insn *insn) in check_atomic()
8853 static int __check_func_call(struct bpf_verifier_env *env, struct bpf_insn *insn, in __check_func_call()
9029 static int check_func_call(struct bpf_verifier_env *env, struct bpf_insn *insn, in check_func_call()
9219 struct bpf_insn *insn = env->prog->insnsi; in in_rbtree_lock_required_cb() local
9529 static int check_helper_call(struct bpf_verifier_env *env, struct bpf_insn *insn, in check_helper_call()
11242 struct bpf_insn *insn, in fetch_kfunc_meta()
11283 static int check_kfunc_call(struct bpf_verifier_env *env, struct bpf_insn *insn, in check_kfunc_call()
11743 const struct bpf_insn *insn) in can_skip_alu_sanitation()
11766 struct bpf_insn *insn) in sanitize_val_alu()
11788 const struct bpf_insn *insn, in sanitize_speculative_path()
11808 struct bpf_insn *insn, in sanitize_ptr_alu()
11917 const struct bpf_insn *insn, int reason, in sanitize_err()
11990 const struct bpf_insn *insn, in sanitize_check_bounds()
12027 struct bpf_insn *insn, in adjust_ptr_min_max_vals()
12824 struct bpf_insn *insn, in adjust_scalar_min_max_vals()
12985 struct bpf_insn *insn) in adjust_reg_min_max_vals()
13070 static int check_alu_op(struct bpf_verifier_env *env, struct bpf_insn *insn) in check_alu_op()
13915 static bool try_match_pkt_pointers(const struct bpf_insn *insn, in try_match_pkt_pointers()
14033 struct bpf_insn *insn, int *insn_idx) in check_cond_jmp_op()
14276 static int check_ld_imm(struct bpf_verifier_env *env, struct bpf_insn *insn) in check_ld_imm()
14395 static int check_ld_abs(struct bpf_verifier_env *env, struct bpf_insn *insn) in check_ld_abs()
14810 struct bpf_insn *insns = env->prog->insnsi, *insn = &insns[t]; in visit_insn() local
15493 static void clean_live_states(struct bpf_verifier_env *env, int insn, in clean_live_states()
16441 struct bpf_insn *insn; in do_check() local
16805 struct bpf_insn *insn, in check_pseudo_btf_id()
17039 struct bpf_insn *insn = env->prog->insnsi; in resolve_pseudo_ldimm64() local
17238 struct bpf_insn *insn = env->prog->insnsi; in convert_pseudo_ld_imm64() local
17260 struct bpf_insn *insn = new_prog->insnsi; in adjust_insn_aux_data() local
17505 struct bpf_insn *insn = env->prog->insnsi; in sanitize_dead_code() local
17535 struct bpf_insn *insn = env->prog->insnsi; in opt_hard_wire_dead_code_branches() local
17584 struct bpf_insn *insn = env->prog->insnsi; in opt_remove_nops() local
17619 struct bpf_insn insn; in opt_subreg_zext_lo32_rnd_hi32() local
17711 struct bpf_insn insn_buf[16], *insn; in convert_ctx_accesses() local
17910 struct bpf_insn *insn; in jit_subprogs() local
18141 struct bpf_insn *insn = prog->insnsi; in fixup_call_args() local
18226 struct bpf_insn *insn, in __fixup_collection_insert_kfunc()
18240 static int fixup_kfunc_call(struct bpf_verifier_env *env, struct bpf_insn *insn, in fixup_kfunc_call()
18330 struct bpf_insn *insn = prog->insnsi; in do_misc_fixups() local
18927 static bool is_bpf_loop_call(struct bpf_insn *insn) in is_bpf_loop_call()
18947 struct bpf_insn *insn = env->prog->insnsi; in optimize_bpf_loop() local