Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/scsi/scsi_devinfo.c scsi_get_device_flags() -> scsi_get_device_flags_keyed()

Type Parameter Key Value
PARAM_VALUE 0 sdev 4096-ptr_max
PARAM_VALUE 0 sdev->host->hostt->module->refcnt.counter 0-s32max
PARAM_VALUE 0 sdev->host->hostt->module->state 0-1,3-4294967295
PARAM_VALUE 0 sdev->request_queue->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 sdev->sdev_dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 3 key 0
BUF_SIZE 0 sdev (-1),4232-s32max
BUF_SIZE 0 sdev (-1),4232-s32max
BUF_SIZE 1 vendor 9,248
BUF_SIZE 1 vendor 9,248
BUF_SIZE 2 model 17,240
BUF_SIZE 2 model 17,240
DATA_SOURCE 0 sdev $0
DATA_SOURCE 1 vendor $1
DATA_SOURCE 2 model $2
NOSPEC 0 sdev->sdev_target->channel
NOSPEC 0 sdev->sdev_target->id
RX_PATH
TASK_NOT_RUNNING
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->request_queue->async_depth
NO_OVERFLOW_SIMPLE 0 sdev->request_queue->nr_requests
LOCK2 &shost->scan_mutex
TYPE_LOCK (struct Scsi_Host)->scan_mutex

drivers/scsi/scsi_transport_spi.c spi_device_configure() -> scsi_get_device_flags_keyed()

Type Parameter Key Value
PARAM_VALUE 0 sdev 4096-ptr_max
PARAM_VALUE 0 sdev->inquiry 4096-ptr_max
PARAM_VALUE 1 vendor 4096-ptr_max
PARAM_VALUE 2 model 4096-ptr_max
PARAM_VALUE 3 key 1