Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/scsi/bfa/bfad_bsg.c bfad_reset_sdev_bflags() -> __scsi_device_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost | 4096-ptr_max |
| PARAM_VALUE | 3 | lun | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &bfad->bfad_lock | ||
| LOCK2 | flags | ||
| LOCK2 | flags | ||
| LOCK2 | 0 | shost->host_lock | |
| TYPE_LOCK | (struct bfad_s)->bfad_lock |
drivers/scsi/scsi.c scsi_device_lookup() -> __scsi_device_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shost | 4096-ptr_max |
| BUF_SIZE | 0 | shost | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | shost | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | shost | $0 |
| DATA_SOURCE | 1 | channel | $1 |
| DATA_SOURCE | 2 | id | $2 |
| DATA_SOURCE | 3 | lun | $3 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | shost->irq | 0-255 |
| USER_DATA | 1 | channel | 0-u32max |
| USER_DATA | 2 | id | 0-u32max |
| USER_DATA | 3 | lun | 0-u32max |
| UNITS | 0 | shost | unit_byte |
| UNITS | 2 | id | unit_array_size |
| LOCK2 | flags | ||
| LOCK2 | 0 | shost->host_lock | |
| HALF_LOCKED2 | &ch->lock | ||
| HALF_LOCKED2 | &dev->scan_mutex | ||
| HALF_LOCKED2 | &instance->reset_mutex | ||
| HALF_LOCKED2 | &ioc->sas_device_info_mutex | ||
| HALF_LOCKED2 | &mhba->device_lock | ||
| HALF_LOCKED2 | global &xenwatch_mutex |