Lines Matching defs:regno
253 int regno; member
1122 struct bpf_reg_state *regs, u32 regno) in mark_reg_known_zero()
1456 struct bpf_reg_state *regs, u32 regno) in mark_reg_unknown()
1476 struct bpf_reg_state *regs, u32 regno) in mark_reg_not_init()
1489 struct bpf_reg_state *regs, u32 regno, in mark_btf_ld_reg()
1942 u32 regno, struct bpf_reg_state *reg, enum reg_arg_type t) in is_reg64()
2072 static int check_reg_arg(struct bpf_verifier_env *env, u32 regno, in check_reg_arg()
2386 static int __mark_chain_precision(struct bpf_verifier_env *env, int regno, in __mark_chain_precision()
2548 static int mark_chain_precision(struct bpf_verifier_env *env, int regno) in mark_chain_precision()
2998 static struct bpf_reg_state *reg_state(struct bpf_verifier_env *env, int regno) in reg_state()
3131 static int check_map_access_type(struct bpf_verifier_env *env, u32 regno, in check_map_access_type()
3154 static int __check_mem_access(struct bpf_verifier_env *env, int regno, in __check_mem_access()
3190 static int check_mem_region_access(struct bpf_verifier_env *env, u32 regno, in check_mem_region_access()
3249 static int check_map_access(struct bpf_verifier_env *env, u32 regno, in check_map_access()
3338 static int check_packet_access(struct bpf_verifier_env *env, u32 regno, int off, in check_packet_access()
3430 u32 regno, int off, int size, in check_sock_access()
3474 static bool is_pointer_value(struct bpf_verifier_env *env, int regno) in is_pointer_value()
3479 static bool is_ctx_reg(struct bpf_verifier_env *env, int regno) in is_ctx_reg()
3486 static bool is_sk_reg(struct bpf_verifier_env *env, int regno) in is_sk_reg()
3493 static bool is_pkt_reg(struct bpf_verifier_env *env, int regno) in is_pkt_reg()
3500 static bool is_flow_key_reg(struct bpf_verifier_env *env, int regno) in is_flow_key_reg()
3765 const struct bpf_reg_state *reg, int regno) in check_ctx_reg()
3791 int regno, int off, int size) in __check_buffer_access()
3814 int regno, int off, int size) in check_tp_buffer_access()
3830 int regno, int off, int size, in check_buffer_access()
3922 int regno, int off, int size, in check_ptr_to_btf_access()
3972 int regno, int off, int size, in check_ptr_to_map_access()
4054 int regno, int off, int access_size, in check_stack_access_within_bounds()
4117 static int check_mem_access(struct bpf_verifier_env *env, int insn_idx, u32 regno, in check_mem_access()
4429 struct bpf_verifier_env *env, int regno, int off, in check_stack_range_initialized()
4555 static int check_helper_mem_access(struct bpf_verifier_env *env, int regno, in check_helper_mem_access()
4611 u32 regno, u32 mem_size) in check_mem_reg()
4652 static int process_spin_lock(struct bpf_verifier_env *env, int regno, in process_spin_lock()
4714 static int process_timer_func(struct bpf_verifier_env *env, int regno, in process_timer_func()
4929 static int check_reg_type(struct bpf_verifier_env *env, u32 regno, in check_reg_type()
4991 u32 regno = BPF_REG_1 + arg; in check_func_arg() local
6461 static void mark_btf_func_reg_size(struct bpf_verifier_env *env, u32 regno, in mark_btf_func_reg_size()
6537 u32 regno = i + 1; in check_kfunc_call() local
6894 int regno, in check_stack_access_for_ptr_arithmetic()
8790 static void mark_ptr_or_null_regs(struct bpf_verifier_state *vstate, u32 regno, in mark_ptr_or_null_regs()