Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/scsi_scan.c __scsi_add_device() -> scsi_alloc_target()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
BUF_SIZE 0 parent 1616
DATA_SOURCE 1 channel $1
DATA_SOURCE 2 id $2
RX_PATH
TASK_NOT_RUNNING
UNITS 2 id unit_array_size

drivers/scsi/scsi_scan.c __scsi_scan_target() -> scsi_alloc_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
NOSPEC 1 channel
NOSPEC 1 channel
NOSPEC 2 id
NOSPEC 2 id
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 channel 1-s32max[c]
USER_DATA 2 id 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_get_pseudo_sdev() -> scsi_alloc_target()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 1 channel 0
UNITS 2 id unit_array_size
LOCK2 _T->lock