Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/scsi_scan.c scsi_scan_channel() -> __scsi_scan_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 4 | rescan | 0,2 |
| CAPPED_DATA | 1 | channel | 1 |
| CAPPED_DATA | 3 | lun | 1 |
| CAPPED_DATA | 3 | lun | 1 |
| DATA_SOURCE | 1 | channel | $1 |
| DATA_SOURCE | 3 | lun | $3 |
| DATA_SOURCE | 4 | rescan | $4 |
| NOSPEC | 1 | channel | |
| NOSPEC | 1 | channel | |
| NOSPEC | 3 | lun | |
| NOSPEC | 3 | lun | |
| HARD_MAX | 4 | rescan | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | channel | 0-s32max[c] |
| USER_DATA | 3 | lun | 0-s32max[c] |
| UNITS | 2 | id | unit_array_size |
| LOCK2 | &shost->scan_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct Scsi_Host)->scan_mutex |
drivers/scsi/scsi_scan.c scsi_scan_channel() -> __scsi_scan_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | parent->power.request | 0-4 |
| PARAM_VALUE | 0 | parent->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 2 | id | 0-4294967294 |
| PARAM_VALUE | 4 | rescan | 0,2 |
| CAPPED_DATA | 1 | channel | 1 |
| CAPPED_DATA | 2 | id | 1 |
| CAPPED_DATA | 3 | lun | 1 |
| CAPPED_DATA | 3 | lun | 1 |
| DATA_SOURCE | 1 | channel | $1 |
| DATA_SOURCE | 2 | id | $2 |
| DATA_SOURCE | 3 | lun | $3 |
| DATA_SOURCE | 4 | rescan | $4 |
| NOSPEC | 1 | channel | |
| NOSPEC | 1 | channel | |
| NOSPEC | 2 | id | |
| NOSPEC | 2 | id | |
| NOSPEC | 3 | lun | |
| NOSPEC | 3 | lun | |
| HARD_MAX | 4 | rescan | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | channel | 0-s32max[c] |
| USER_DATA | 2 | id | 0-s32max[c] |
| USER_DATA | 3 | lun | 0-s32max[c] |
| UNITS | 2 | id | unit_array_size |
| LOCK2 | &shost->scan_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct Scsi_Host)->scan_mutex |
drivers/scsi/scsi_scan.c scsi_scan_target() -> __scsi_scan_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| DATA_SOURCE | 0 | parent | $0 |
| DATA_SOURCE | 1 | channel | $1 |
| DATA_SOURCE | 2 | id | $2 |
| DATA_SOURCE | 3 | lun | $3 |
| DATA_SOURCE | 4 | rescan | $4 |
| NOSPEC | 1 | channel | |
| NOSPEC | 1 | channel | |
| NOSPEC | 2 | id | |
| NOSPEC | 2 | id | |
| NOSPEC | 3 | lun | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | channel | 0-s32max[c] |
| USER_DATA | 2 | id | 0-s32max[c] |
| USER_DATA | 3 | lun | 0-u64max |
| UNITS | 2 | id | unit_array_size |
| LOCK2 | &shost->scan_mutex | ||
| HALF_LOCKED2 | &host->add_target_mutex | ||
| HALF_LOCKED2 | &ihost->mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &sas_host->lock | ||
| TYPE_LOCK | (struct Scsi_Host)->scan_mutex |