Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/scsi_scan.c scsi_probe_and_add_lun() -> scsi_device_created()

Type Parameter Key Value
PARAM_VALUE 0 sdev 4096-ptr_max
PARAM_VALUE 0 sdev->sdev_state 0-2,5-u32max
CAPPED_DATA 0 sdev->lun 1
DATA_SOURCE 0 sdev r scsi_device_lookup_by_target
RX_PATH
TASK_NOT_RUNNING
LOCK2 &shost->scan_mutex
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct Scsi_Host)->scan_mutex

drivers/scsi/scsi_scan.c scsi_report_lun_scan() -> scsi_device_created()

Type Parameter Key Value
PARAM_VALUE 0 sdev 4096-ptr_max
BUF_SIZE 0 sdev (-1),4232-s32max
BUF_SIZE 0 sdev (-1),4232-s32max
NOSPEC 0 sdev->channel
NOSPEC 0 sdev->id
NOSPEC 0 sdev->lun
NOSPEC 0 sdev->sdev_target->channel
NOSPEC 0 sdev->sdev_target->id
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 sdev->budget_map.depth 1-4095[c]
USER_DATA 0 sdev->channel 1-s32max[c]
USER_DATA 0 sdev->id 0-s32max[c]
USER_DATA 0 sdev->lun 0[c]
USER_DATA 0 sdev->queue_depth 1-4095[c]
USER_DATA 0 sdev->request_queue->queue_depth 1-4095[c]
USER_DATA 0 sdev->sdev_target->channel 1-s32max[c]
USER_DATA 0 sdev->sdev_target->id 0-s32max[c]
NO_OVERFLOW_SIMPLE 0 sdev->budget_map.depth
NO_OVERFLOW_SIMPLE 0 sdev->request_queue->async_depth
NO_OVERFLOW_SIMPLE 0 sdev->request_queue->limits.max_discard_sectors
NO_OVERFLOW_SIMPLE 0 sdev->request_queue->limits.max_open_zones
NO_OVERFLOW_SIMPLE 0 sdev->request_queue->nr_hw_queues
NO_OVERFLOW_SIMPLE 0 sdev->request_queue->nr_requests
LOCK2 &shost->scan_mutex
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct Scsi_Host)->scan_mutex