Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/scsi/scsi_transport_iscsi.c iscsi_bsg_host_add() -> scsi_init_limits()

Type Parameter Key Value
PARAM_VALUE 0 shost 4096-ptr_max
PARAM_VALUE 1 lim 8161045853112573952
DATA_SOURCE 0 shost $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &attribute_container_mutex
HALF_LOCKED2 &host->add_target_mutex
HALF_LOCKED2 &of->mutex

drivers/scsi/scsi_scan.c scsi_alloc_sdev() -> scsi_init_limits()

Type Parameter Key Value
PARAM_VALUE 0 shost 4096-ptr_max
PARAM_VALUE 0 shost->transportt 4096-ptr_max
PARAM_VALUE 0 shost->transportt->device_size (-4232)-3995768
PARAM_VALUE 1 lim 3124984178300604416
DATA_SOURCE 0 shost r dev_to_shost
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &shost->scan_mutex
HALF_LOCKED2 _T->lock

drivers/scsi/scsi_transport_fc.c fc_bsg_hostadd() -> scsi_init_limits()

Type Parameter Key Value
PARAM_VALUE 0 shost 4096-ptr_max
PARAM_VALUE 0 shost->shost_data 4096-ptr_max
PARAM_VALUE 1 lim 3068378589148450816
DATA_SOURCE 0 shost $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &attribute_container_mutex
HALF_LOCKED2 &host->add_target_mutex
HALF_LOCKED2 &of->mutex

drivers/scsi/scsi_transport_fc.c fc_bsg_rportadd() -> scsi_init_limits()

Type Parameter Key Value
PARAM_VALUE 0 shost 4096-ptr_max
PARAM_VALUE 0 shost->host_lock 4096-ptr_max
PARAM_VALUE 0 shost->host_lock->rlock.dep_map->name 0-255
PARAM_VALUE 0 shost->shost_data 4096-ptr_max
PARAM_VALUE 0 shost->shost_dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 shost->shost_dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 shost->shost_dev.p->dead 0-1
PARAM_VALUE 0 shost->shost_dev.parent->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 shost->shost_dev.parent->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 shost->shost_dev.parent->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 shost->shost_dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 shost->shost_gendev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 shost->shost_gendev.p->dead 0-1
PARAM_VALUE 0 shost->shost_gendev.p->deferred_probe_reason 0-s64max
PARAM_VALUE 0 shost->shost_gendev.parent->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 shost->shost_gendev.parent->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 shost->shost_gendev.parent->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 shost->shost_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 shost->work_q->flags 0-4294967295
PARAM_VALUE 1 lim 8412741157706010624
BUF_SIZE 0 shost (-1),4600-s32max
BUF_SIZE 0 shost (-1),4600-s32max
BUF_SIZE 0 shost->hostt (-1),360
DATA_SOURCE 0 shost $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 shost->pseudo_sdev->request_queue->async_depth
NO_OVERFLOW_SIMPLE 0 shost->pseudo_sdev->request_queue->limits.max_discard_sectors
NO_OVERFLOW_SIMPLE 0 shost->pseudo_sdev->request_queue->nr_hw_queues
NO_OVERFLOW_SIMPLE 0 shost->pseudo_sdev->request_queue->nr_requests
HALF_LOCKED2 &fnic->fnic_lock
HALF_LOCKED2 &pool->lock