Lines Matching refs:min_off
2774 int min_off, max_off; in check_stack_write_var_off() local
2785 min_off = ptr_reg->smin_value + off; in check_stack_write_var_off()
2792 err = grow_stack_state(state, round_up(-min_off, BPF_REG_SIZE)); in check_stack_write_var_off()
2798 for (i = min_off; i < max_off; i++) { in check_stack_write_var_off()
2864 int min_off, int max_off, int dst_regno) in mark_reg_stack_read() argument
2872 for (i = min_off; i < max_off; i++) { in mark_reg_stack_read()
2880 if (zeros == max_off - min_off) { in mark_reg_stack_read()
3023 int min_off, max_off; in check_stack_read_var_off() local
3032 min_off = reg->smin_value + off; in check_stack_read_var_off()
3034 mark_reg_stack_read(env, ptr_state, min_off, max_off + size, dst_regno); in check_stack_read_var_off()
4060 int min_off, max_off; in check_stack_access_within_bounds() local
4073 min_off = reg->var_off.value + off; in check_stack_access_within_bounds()
4075 max_off = min_off + access_size - 1; in check_stack_access_within_bounds()
4077 max_off = min_off; in check_stack_access_within_bounds()
4085 min_off = reg->smin_value + off; in check_stack_access_within_bounds()
4089 max_off = min_off; in check_stack_access_within_bounds()
4092 err = check_stack_slot_within_bounds(min_off, state, type); in check_stack_access_within_bounds()
4435 int err, min_off, max_off, i, j, slot, spi; in check_stack_range_initialized() local
4465 min_off = max_off = reg->var_off.value + off; in check_stack_range_initialized()
4489 min_off = reg->smin_value + off; in check_stack_range_initialized()
4499 for (i = min_off; i < max_off + access_size; i++) { in check_stack_range_initialized()
4535 err_extra, regno, min_off, i - min_off, access_size); in check_stack_range_initialized()
4541 err_extra, regno, tn_buf, i - min_off, access_size); in check_stack_range_initialized()
4552 return update_stack_depth(env, state, min_off); in check_stack_range_initialized()