Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/scsi_transport_spi.c spi_dv_device_internal() -> (struct spi_function_template)->set_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | target | 4096-ptr_max |
| PARAM_VALUE | 0 | target->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | target->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | target->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | target->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0 |
| NOSPEC | 0 | target->channel | |
| NOSPEC | 0 | target->id | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | target->channel | 1-s32max[c] |
| USER_DATA | 0 | target->id | 0-s32max[c] |
| LOCK2 | &(&starget->starget_data)->dv_mutex | ||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | &sdev->request_queue->limits_lock | ||
| HALF_LOCKED2 | &shost->scan_mutex |
drivers/scsi/scsi_transport_spi.c spi_dv_device_internal() -> (struct spi_function_template)->set_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOSPEC | 0 | target->channel | |
| NOSPEC | 0 | target->id | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | target->channel | 1-s32max[c] |
| USER_DATA | 0 | target->id | 0-s32max[c] |
| LOCK2 | &(&starget->starget_data)->dv_mutex | ||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | &sdev->request_queue->limits_lock | ||
| HALF_LOCKED2 | &shost->scan_mutex |
drivers/scsi/scsi_transport_spi.c spi_dv_retrain() -> (struct spi_function_template)->set_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 0 |
| NOSPEC | 0 | target->channel | |
| NOSPEC | 0 | target->id | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | target->channel | 1-s32max[c] |
| USER_DATA | 0 | target->id | 0-s32max[c] |
| LOCK2 | &(&starget->starget_data)->dv_mutex | ||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | &sdev->request_queue->limits_lock | ||
| HALF_LOCKED2 | &shost->scan_mutex |
drivers/scsi/scsi_transport_spi.c store_spi_transport_offset() -> (struct spi_function_template)->set_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | target | 4096-ptr_max |
| PARAM_VALUE | 0 | target->dev.parent | 4096-ptr_max |
| CAPPED_DATA | 1 | offset | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | offset | s32min-s32max[c] |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |