Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c amdgpu_ras_eeprom_append_table() -> __amdgpu_ras_eeprom_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | control | 4096-ptr_max |
| PARAM_VALUE | 0 | control->is_eeprom_valid | 1 |
| PARAM_VALUE | 0 | control->ras_max_record_count | 1-u32max |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 3 | num | 1-s32max |
| BUF_SIZE | 0 | control | 480 |
| BUF_SIZE | 1 | buf | 24 |
| BUF_SIZE | 1 | buf | 24 |
| CAPPED_DATA | 3 | num | 1 |
| DATA_SOURCE | 0 | control | $0 |
| DATA_SOURCE | 1 | buf | r _kmalloc_array_noprof |
| DATA_SOURCE | 3 | num | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 3 | num | |
| UNITS | 2 | fri | unit_array_size |
| UNITS | 3 | num | unit_array_size |
| LOCK2 | 0 | &control->ras_tbl_mutex | |
| TYPE_LOCK | (struct amdgpu_ras_eeprom_control)->ras_tbl_mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c amdgpu_ras_eeprom_append_table() -> __amdgpu_ras_eeprom_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | control | 4096-ptr_max |
| PARAM_VALUE | 0 | control->is_eeprom_valid | 1 |
| PARAM_VALUE | 0 | control->ras_max_record_count | 1-u32max |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 2 | fri | 0-4294967294 |
| PARAM_VALUE | 3 | num | 1-u32max |
| BUF_SIZE | 0 | control | 480 |
| BUF_SIZE | 1 | buf | 24 |
| BUF_SIZE | 1 | buf | 24 |
| CAPPED_DATA | 0 | control->ras_max_record_count | 1 |
| CAPPED_DATA | 2 | fri | 1 |
| CAPPED_DATA | 3 | num | 1 |
| DATA_SOURCE | 0 | control | $0 |
| DATA_SOURCE | 1 | buf | r _kmalloc_array_noprof |
| PARAM_COMPARE | 2 | fri | < $0->ras_max_record_count |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | fri | unit_array_size |
| LOCK2 | 0 | &control->ras_tbl_mutex | |
| TYPE_LOCK | (struct amdgpu_ras_eeprom_control)->ras_tbl_mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c amdgpu_ras_eeprom_append_table() -> __amdgpu_ras_eeprom_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | control | 4096-ptr_max |
| PARAM_VALUE | 0 | control->is_eeprom_valid | 1 |
| PARAM_VALUE | 0 | control->ras_max_record_count | 1-u32max |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | fri | 0 |
| BUF_SIZE | 0 | control | 480 |
| CAPPED_DATA | 0 | control->ras_max_record_count | 1 |
| CAPPED_DATA | 3 | num | 1 |
| DATA_SOURCE | 0 | control | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &control->ras_tbl_mutex | |
| TYPE_LOCK | (struct amdgpu_ras_eeprom_control)->ras_tbl_mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c amdgpu_ras_eeprom_append_table() -> __amdgpu_ras_eeprom_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | control | 4096-ptr_max |
| PARAM_VALUE | 0 | control->is_eeprom_valid | 1 |
| PARAM_VALUE | 0 | control->ras_max_record_count | 1-u32max |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 2 | fri | 1-u32max |
| PARAM_VALUE | 3 | num | 1-s32max |
| BUF_SIZE | 0 | control | 480 |
| BUF_SIZE | 1 | buf | 24 |
| BUF_SIZE | 1 | buf | 24 |
| CAPPED_DATA | 0 | control->ras_max_record_count | 1 |
| CAPPED_DATA | 2 | fri | 1 |
| CAPPED_DATA | 3 | num | 1 |
| DATA_SOURCE | 0 | control | $0 |
| DATA_SOURCE | 1 | buf | r _kmalloc_array_noprof |
| DATA_SOURCE | 3 | num | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 3 | num | |
| UNITS | 2 | fri | unit_array_size |
| UNITS | 3 | num | unit_array_size |
| LOCK2 | 0 | &control->ras_tbl_mutex | |
| TYPE_LOCK | (struct amdgpu_ras_eeprom_control)->ras_tbl_mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c amdgpu_ras_eeprom_append_table() -> __amdgpu_ras_eeprom_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | control | 4096-ptr_max |
| PARAM_VALUE | 0 | control->is_eeprom_valid | 1 |
| PARAM_VALUE | 0 | control->ras_max_record_count | 1-u32max |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 2 | fri | 2-u32max |
| BUF_SIZE | 0 | control | 480 |
| BUF_SIZE | 1 | buf | 24 |
| BUF_SIZE | 1 | buf | 24 |
| CAPPED_DATA | 0 | control->ras_max_record_count | 1 |
| DATA_SOURCE | 0 | control | $0 |
| DATA_SOURCE | 1 | buf | r _kmalloc_array_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | fri | unit_array_size |
| LOCK2 | 0 | &control->ras_tbl_mutex | |
| TYPE_LOCK | (struct amdgpu_ras_eeprom_control)->ras_tbl_mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c amdgpu_ras_eeprom_append_table() -> __amdgpu_ras_eeprom_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | control | 4096-ptr_max |
| PARAM_VALUE | 0 | control->is_eeprom_valid | 1 |
| PARAM_VALUE | 0 | control->ras_max_record_count | 1-u32max |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | control->ras_tbl_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | fri | 0 |
| PARAM_VALUE | 3 | num | 2-u32max |
| BUF_SIZE | 0 | control | 480 |
| CAPPED_DATA | 0 | control->ras_max_record_count | 1 |
| CAPPED_DATA | 3 | num | 1 |
| DATA_SOURCE | 0 | control | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &control->ras_tbl_mutex | |
| TYPE_LOCK | (struct amdgpu_ras_eeprom_control)->ras_tbl_mutex |