Lines Matching defs:regno
276 int regno; member
2026 struct bpf_reg_state *regs, u32 regno) in mark_reg_known_zero()
2082 static void mark_reg_graph_node(struct bpf_reg_state *regs, u32 regno, in mark_reg_graph_node()
2577 struct bpf_reg_state *regs, u32 regno) in mark_reg_unknown()
2591 u32 regno, in __mark_reg_s32_range()
2616 struct bpf_reg_state *regs, u32 regno) in mark_reg_not_init()
2629 struct bpf_reg_state *regs, u32 regno, in mark_btf_ld_reg()
3437 u32 regno, struct bpf_reg_state *reg, enum reg_arg_type t) in is_reg64()
3570 static int __check_reg_arg(struct bpf_verifier_env *env, struct bpf_reg_state *regs, u32 regno, in __check_reg_arg()
3615 static int check_reg_arg(struct bpf_verifier_env *env, u32 regno, in check_reg_arg()
3664 u8 regno; member
4528 static int __mark_chain_precision(struct bpf_verifier_env *env, int regno) in __mark_chain_precision()
4708 int mark_chain_precision(struct bpf_verifier_env *env, int regno) in mark_chain_precision()
5312 static struct bpf_reg_state *reg_state(struct bpf_verifier_env *env, int regno) in reg_state()
5442 static int check_map_access_type(struct bpf_verifier_env *env, u32 regno, in check_map_access_type()
5465 static int __check_mem_access(struct bpf_verifier_env *env, int regno, in __check_mem_access()
5501 static int check_mem_region_access(struct bpf_verifier_env *env, u32 regno, in check_mem_region_access()
5557 const struct bpf_reg_state *reg, int regno, in __check_ptr_off_reg()
5589 const struct bpf_reg_state *reg, int regno) in check_ptr_off_reg()
5596 struct bpf_reg_state *reg, u32 regno) in map_kptr_match_type()
5754 static int mark_uptr_ld_reg(struct bpf_verifier_env *env, u32 regno, in mark_uptr_ld_reg()
5770 static int check_map_kptr_access(struct bpf_verifier_env *env, u32 regno, in check_map_kptr_access()
5831 static int check_map_access(struct bpf_verifier_env *env, u32 regno, in check_map_access()
5941 static int check_packet_access(struct bpf_verifier_env *env, u32 regno, int off, in check_packet_access()
6036 u32 regno, int off, int size, in check_sock_access()
6080 static bool is_pointer_value(struct bpf_verifier_env *env, int regno) in is_pointer_value()
6085 static bool is_ctx_reg(struct bpf_verifier_env *env, int regno) in is_ctx_reg()
6092 static bool is_sk_reg(struct bpf_verifier_env *env, int regno) in is_sk_reg()
6099 static bool is_pkt_reg(struct bpf_verifier_env *env, int regno) in is_pkt_reg()
6106 static bool is_flow_key_reg(struct bpf_verifier_env *env, int regno) in is_flow_key_reg()
6114 static bool is_arena_reg(struct bpf_verifier_env *env, int regno) in is_arena_reg()
6550 int regno, int off, int size) in __check_buffer_access()
6573 int regno, int off, int size) in check_tp_buffer_access()
6589 int regno, int off, int size, in check_buffer_access()
6957 int regno, int off, int size, in check_ptr_to_btf_access()
7107 int regno, int off, int size, in check_ptr_to_map_access()
7195 int regno, int off, int access_size, in check_stack_access_within_bounds()
7270 static int check_mem_access(struct bpf_verifier_env *env, int insn_idx, u32 regno, in check_mem_access()
7641 struct bpf_verifier_env *env, int regno, int off, in check_stack_range_initialized()
7786 static int check_helper_mem_access(struct bpf_verifier_env *env, int regno, in check_helper_mem_access()
7884 struct bpf_reg_state *reg, u32 regno, in check_mem_size_reg()
7934 u32 regno, u32 mem_size) in check_mem_reg()
7962 u32 regno) in check_kfunc_mem_size_reg()
8010 static int process_spin_lock(struct bpf_verifier_env *env, int regno, in process_spin_lock()
8092 static int process_timer_func(struct bpf_verifier_env *env, int regno, in process_timer_func()
8129 static int process_wq_func(struct bpf_verifier_env *env, int regno, in process_wq_func()
8146 static int process_kptr_func(struct bpf_verifier_env *env, int regno, in process_kptr_func()
8219 static int process_dynptr_func(struct bpf_verifier_env *env, int regno, int insn_idx, in process_dynptr_func()
8339 static int process_iter_arg(struct bpf_verifier_env *env, int regno, int insn_idx, in process_iter_arg()
8805 static int check_reg_type(struct bpf_verifier_env *env, u32 regno, in check_reg_type()
8970 const struct bpf_reg_state *reg, int regno, in check_func_arg_reg_off()
9107 struct bpf_reg_state *reg, u32 regno) in check_reg_const_str()
9222 u32 regno = BPF_REG_1 + arg; in check_func_arg() local
10043 u32 regno = i + 1; in btf_check_func_arg_match() local
11462 static void mark_btf_func_reg_size(struct bpf_verifier_env *env, u32 regno, in mark_btf_func_reg_size()
11900 u32 regno = argno + 1; in get_kfunc_ptr_arg_type() local
12058 static int process_irq_flag(struct bpf_verifier_env *env, int regno, in process_irq_flag()
12352 struct bpf_reg_state *reg, u32 regno, in __process_kf_arg_ptr_to_graph_root()
12402 struct bpf_reg_state *reg, u32 regno, in process_kf_arg_ptr_to_list_head()
12410 struct bpf_reg_state *reg, u32 regno, in process_kf_arg_ptr_to_rbtree_root()
12419 struct bpf_reg_state *reg, u32 regno, in __process_kf_arg_ptr_to_graph_node()
12483 struct bpf_reg_state *reg, u32 regno, in process_kf_arg_ptr_to_list_node()
12492 struct bpf_reg_state *reg, u32 regno, in process_kf_arg_ptr_to_rbtree_node()
12547 u32 regno = i + 1, ref_id, type_size; in check_kfunc_args() local
13498 u32 regno = i + 1; in check_kfunc_call() local
13816 int regno, in check_stack_access_for_ptr_arithmetic()
15746 static void mark_ptr_or_null_regs(struct bpf_verifier_state *vstate, u32 regno, in mark_ptr_or_null_regs()
16397 static int check_return_code(struct bpf_verifier_env *env, int regno, const char *reg_name) in check_return_code()