Lines Matching refs:reg_state
2914 struct bpf_func_state *reg_state, in check_stack_read_fixed_off() argument
2923 stype = reg_state->stack[spi].slot_type; in check_stack_read_fixed_off()
2924 reg = ®_state->stack[spi].spilled_ptr; in check_stack_read_fixed_off()
2982 mark_reg_stack_read(env, reg_state, off, off + size, dst_regno); in check_stack_read_fixed_off()
2998 static struct bpf_reg_state *reg_state(struct bpf_verifier_env *env, int regno) in reg_state() function
3020 struct bpf_reg_state *reg = reg_state(env, ptr_regno); in check_stack_read_var_off()
3051 struct bpf_reg_state *reg = reg_state(env, ptr_regno); in check_stack_read()
3112 struct bpf_reg_state *reg = reg_state(env, ptr_regno); in check_stack_write()
3476 return __is_pointer_value(env->allow_ptr_leaks, reg_state(env, regno)); in is_pointer_value()
3481 const struct bpf_reg_state *reg = reg_state(env, regno); in is_ctx_reg()
3488 const struct bpf_reg_state *reg = reg_state(env, regno); in is_sk_reg()
3495 const struct bpf_reg_state *reg = reg_state(env, regno); in is_pkt_reg()
3502 const struct bpf_reg_state *reg = reg_state(env, regno); in is_flow_key_reg()
4383 reg_type_str[reg_state(env, insn->dst_reg)->type]); in check_atomic()
4433 struct bpf_reg_state *reg = reg_state(env, regno); in check_stack_range_initialized()
11062 reg_type_str[reg_state(env, insn->dst_reg)->type]); in do_check()