Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/vc4/vc4_validate_shaders.c check_instruction_writes() -> check_reg_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | validated_shader | 4096-ptr_max |
| PARAM_VALUE | 1 | validation_state | 8147303303045890048 |
| PARAM_VALUE | 1 | validation_state->branch_targets | 4096-ptr_max |
| PARAM_VALUE | 1 | validation_state->ip | 0 |
| PARAM_VALUE | 1 | validation_state->max_ip | 1-u32max |
| PARAM_VALUE | 1 | validation_state->shader | 4096-ptr_max |
| PARAM_VALUE | 2 | is_mul | 0 |
| BUF_SIZE | 0 | validated_shader | 48 |
| DATA_SOURCE | 0 | validated_shader | $0 |
| DATA_SOURCE | 1 | validation_state | $1 |
| MEM_ZERO | 1 | validation_state | |
| USER_PTR | 1 | validation_state->shader |
drivers/gpu/drm/vc4/vc4_validate_shaders.c check_instruction_writes() -> check_reg_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | validated_shader | 4096-ptr_max |
| PARAM_VALUE | 1 | validation_state | 8147303303045890048 |
| PARAM_VALUE | 1 | validation_state->branch_targets | 4096-ptr_max |
| PARAM_VALUE | 1 | validation_state->ip | 0 |
| PARAM_VALUE | 1 | validation_state->max_ip | 1-u32max |
| PARAM_VALUE | 1 | validation_state->needs_uniform_address_for_loop | 0 |
| PARAM_VALUE | 1 | validation_state->needs_uniform_address_update | 0 |
| PARAM_VALUE | 1 | validation_state->shader | 4096-ptr_max |
| PARAM_VALUE | 1 | *validation_state->live_immediates | 0-4294967295 |
| PARAM_VALUE | 2 | is_mul | 1 |
| BUF_SIZE | 0 | validated_shader | 48 |
| DATA_SOURCE | 0 | validated_shader | $0 |
| DATA_SOURCE | 1 | validation_state | $1 |
| MEM_ZERO | 1 | validation_state | |
| USER_PTR | 1 | validation_state->shader |