Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/scsi_dh.c scsi_dh_add_device() -> scsi_dh_handler_attach()

Type Parameter Key Value
PARAM_VALUE 0 sdev 4096-ptr_max
PARAM_VALUE 0 sdev->handler->activate 3600842718638694400,5243147847518916608,6496534065377783808,7898610171885281280
PARAM_VALUE 0 sdev->handler->attach 2746902616992653312,5132065149155708928,7564096471920857088,9118315553196937216
PARAM_VALUE 0 sdev->handler->check_sense 0,701326664625311744,716319328914759680,8493182162192814080
PARAM_VALUE 0 sdev->handler->detach 2239460665994428416,7541542956768612352,7758210456396615680,8395656600214880256
PARAM_VALUE 0 sdev->handler->module 0
PARAM_VALUE 0 sdev->handler->name 1287730336579219456,1722257511912083456,4936889561651781632,8213573606272856064
PARAM_VALUE 0 sdev->handler->prep_fn 2073699460252585984,2725122490299138048,6040602161116102656,8939971808867581952
PARAM_VALUE 0 sdev->handler->rescan 0,3606729598493151232
PARAM_VALUE 0 sdev->handler->set_params 0,3196262558016962560,4603352741667606528
PARAM_VALUE 0 sdev->host->hostt->module->refcnt.counter 0-s32max
PARAM_VALUE 0 sdev->inquiry 0,4096-ptr_max
PARAM_VALUE 0 sdev->lun 0-18446744073709551614
PARAM_VALUE 0 sdev->request_queue->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 sdev->sdev_dev.dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 sdev->sdev_dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 sdev->sdev_dev.dma_io_tlb_mem->nslabs 0-s64max
PARAM_VALUE 0 sdev->sdev_dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 sdev->sdev_dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 sdev->sdev_gendev.bus 0,4096-ptr_max
PARAM_VALUE 0 sdev->sdev_gendev.dma_io_tlb_mem->nslabs 0-s64max
PARAM_VALUE 0 sdev->sdev_gendev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 sdev->sdev_gendev.power.async_suspend 1
PARAM_VALUE 0 sdev->sdev_gendev.power.last_status (-1)
PARAM_VALUE 0 sdev->sdev_gendev.power.request 0-4
PARAM_VALUE 0 sdev->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 sdev->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 sdev->sdev_gendev.type 0,4096-ptr_max
PARAM_VALUE 0 sdev->sdev_target 4096-ptr_max
PARAM_VALUE 0 sdev->sdev_target->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 sdev->sdev_target->dev.power.runtime_status 0,2
PARAM_VALUE 0 sdev->sdev_target->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 sdev->sdev_target->dev.type 0,4096-ptr_max
PARAM_VALUE 0 sdev->sdev_target->state 0,2-u32max
PARAM_VALUE 1 scsi_dh 4096-ptr_max
BUF_SIZE 0 sdev (-1),4232-s32max
BUF_SIZE 0 sdev (-1),4232-s32max
BUF_SIZE 0 sdev->inquiry (-1),36-255
DATA_SOURCE 0 sdev $0
DATA_SOURCE 1 scsi_dh r __scsi_dh_lookup
NOSPEC 0 sdev->channel
NOSPEC 0 sdev->id
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-18446744073709551614[c]
USER_DATA 0 sdev->max_queue_depth 1-4095[c]
USER_DATA 0 sdev->queue_depth 1-4095[c]
USER_DATA 0 sdev->request_queue->limits.alignment_offset 0-u32max[c][u]
USER_DATA 0 sdev->request_queue->limits.atomic_write_max_sectors 0-8388607[c]
USER_DATA 0 sdev->request_queue->limits.discard_granularity 512-u32max[c]
USER_DATA 0 sdev->request_queue->limits.io_min 512-u32max[c]
USER_DATA 0 sdev->request_queue->limits.logical_block_size 512-65536[c]
USER_DATA 0 sdev->request_queue->limits.max_hw_wzeroes_unmap_sectors 0-u32max[c]
USER_DATA 0 sdev->request_queue->limits.max_sectors 0-s32max[c]
USER_DATA 0 sdev->request_queue->limits.max_write_zeroes_sectors 0-u32max[c]
USER_DATA 0 sdev->request_queue->limits.max_wzeroes_unmap_sectors 0-s32max[c]
USER_DATA 0 sdev->request_queue->limits.max_zone_append_sectors 0-s32max[c]
USER_DATA 0 sdev->request_queue->limits.physical_block_size 512-u32max[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->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_requests
LOCK2 &shost->scan_mutex
TYPE_LOCK (struct Scsi_Host)->scan_mutex

drivers/scsi/scsi_dh.c scsi_dh_attach() -> scsi_dh_handler_attach()

Type Parameter Key Value
PARAM_VALUE 0 sdev 4096-ptr_max
PARAM_VALUE 0 sdev->handler 0
PARAM_VALUE 1 scsi_dh 4096-ptr_max
BUF_SIZE 0 sdev 736,792,816,1000-s32max
BUF_SIZE 0 sdev 736,792,816,1000-s32max
DATA_SOURCE 0 sdev r scsi_device_from_queue
DATA_SOURCE 1 scsi_dh r scsi_dh_lookup
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex