Lines Matching defs:regno
269 int regno; member
780 static void mark_reg_scratched(struct bpf_verifier_env *env, u32 regno) in mark_reg_scratched()
790 static bool reg_scratched(const struct bpf_verifier_env *env, u32 regno) in reg_scratched()
795 static bool stack_slot_scratched(const struct bpf_verifier_env *env, u64 regno) in stack_slot_scratched()
1931 struct bpf_reg_state *regs, u32 regno) in mark_reg_known_zero()
1985 static void mark_reg_graph_node(struct bpf_reg_state *regs, u32 regno, in mark_reg_graph_node()
2281 struct bpf_reg_state *regs, u32 regno) in mark_reg_unknown()
2301 struct bpf_reg_state *regs, u32 regno) in mark_reg_not_init()
2314 struct bpf_reg_state *regs, u32 regno, in mark_btf_ld_reg()
2989 u32 regno, struct bpf_reg_state *reg, enum reg_arg_type t) in is_reg64()
3121 static int check_reg_arg(struct bpf_verifier_env *env, u32 regno, in check_reg_arg()
3967 static int __mark_chain_precision(struct bpf_verifier_env *env, int regno) in __mark_chain_precision()
4181 int mark_chain_precision(struct bpf_verifier_env *env, int regno) in mark_chain_precision()
4705 static struct bpf_reg_state *reg_state(struct bpf_verifier_env *env, int regno) in reg_state()
4834 static int check_map_access_type(struct bpf_verifier_env *env, u32 regno, in check_map_access_type()
4857 static int __check_mem_access(struct bpf_verifier_env *env, int regno, in __check_mem_access()
4893 static int check_mem_region_access(struct bpf_verifier_env *env, u32 regno, in check_mem_region_access()
4949 const struct bpf_reg_state *reg, int regno, in __check_ptr_off_reg()
4981 const struct bpf_reg_state *reg, int regno) in check_ptr_off_reg()
4988 struct bpf_reg_state *reg, u32 regno) in map_kptr_match_type()
5092 static int check_map_kptr_access(struct bpf_verifier_env *env, u32 regno, in check_map_kptr_access()
5151 static int check_map_access(struct bpf_verifier_env *env, u32 regno, in check_map_access()
5255 static int check_packet_access(struct bpf_verifier_env *env, u32 regno, int off, in check_packet_access()
5347 u32 regno, int off, int size, in check_sock_access()
5391 static bool is_pointer_value(struct bpf_verifier_env *env, int regno) in is_pointer_value()
5396 static bool is_ctx_reg(struct bpf_verifier_env *env, int regno) in is_ctx_reg()
5403 static bool is_sk_reg(struct bpf_verifier_env *env, int regno) in is_sk_reg()
5410 static bool is_pkt_reg(struct bpf_verifier_env *env, int regno) in is_pkt_reg()
5417 static bool is_flow_key_reg(struct bpf_verifier_env *env, int regno) in is_flow_key_reg()
5745 int regno, int off, int size) in __check_buffer_access()
5768 int regno, int off, int size) in check_tp_buffer_access()
5784 int regno, int off, int size, in check_buffer_access()
6139 int regno, int off, int size, in check_ptr_to_btf_access()
6287 int regno, int off, int size, in check_ptr_to_map_access()
6374 int regno, int off, int access_size, in check_stack_access_within_bounds()
6437 static int check_mem_access(struct bpf_verifier_env *env, int insn_idx, u32 regno, in check_mem_access()
6793 struct bpf_verifier_env *env, int regno, int off, in check_stack_range_initialized()
6946 static int check_helper_mem_access(struct bpf_verifier_env *env, int regno, in check_helper_mem_access()
7040 struct bpf_reg_state *reg, u32 regno, in check_mem_size_reg()
7095 u32 regno, u32 mem_size) in check_mem_reg()
7127 u32 regno) in check_kfunc_mem_size_reg()
7176 static int process_spin_lock(struct bpf_verifier_env *env, int regno, in process_spin_lock()
7253 static int process_timer_func(struct bpf_verifier_env *env, int regno, in process_timer_func()
7290 static int process_kptr_func(struct bpf_verifier_env *env, int regno, in process_kptr_func()
7354 static int process_dynptr_func(struct bpf_verifier_env *env, int regno, int insn_idx, in process_dynptr_func()
7462 static int process_iter_arg(struct bpf_verifier_env *env, int regno, int insn_idx, in process_iter_arg()
7797 static int check_reg_type(struct bpf_verifier_env *env, u32 regno, in check_reg_type()
7955 const struct bpf_reg_state *reg, int regno, in check_func_arg_reg_off()
8095 u32 regno = BPF_REG_1 + arg; in check_func_arg() local
9980 static void mark_btf_func_reg_size(struct bpf_verifier_env *env, u32 regno, in mark_btf_func_reg_size()
10339 u32 regno = argno + 1; in get_kfunc_ptr_arg_type() local
10687 struct bpf_reg_state *reg, u32 regno, in __process_kf_arg_ptr_to_graph_root()
10737 struct bpf_reg_state *reg, u32 regno, in process_kf_arg_ptr_to_list_head()
10745 struct bpf_reg_state *reg, u32 regno, in process_kf_arg_ptr_to_rbtree_root()
10754 struct bpf_reg_state *reg, u32 regno, in __process_kf_arg_ptr_to_graph_node()
10818 struct bpf_reg_state *reg, u32 regno, in process_kf_arg_ptr_to_list_node()
10827 struct bpf_reg_state *reg, u32 regno, in process_kf_arg_ptr_to_rbtree_node()
10860 u32 regno = i + 1, ref_id, type_size; in check_kfunc_args() local
11609 u32 regno = i + 1; in check_kfunc_call() local
11967 int regno, in check_stack_access_for_ptr_arithmetic()
13895 static void mark_ptr_or_null_regs(struct bpf_verifier_state *vstate, u32 regno, in mark_ptr_or_null_regs()