Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/smartpqi/smartpqi_init.c pqi_lun_reset_with_retries() -> pqi_device_wait_for_pending_io()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl_info | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl_info->block_requests | 0 |
| PARAM_VALUE | 0 | ctrl_info->controller_online | 0 |
| PARAM_VALUE | 0 | ctrl_info->ctrl_offline_work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl_info->lun_reset_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctrl_info->lun_reset_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl_info->lun_reset_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctrl_info->lun_reset_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ctrl_info->lun_reset_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ctrl_info->lun_reset_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctrl_info->lun_reset_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctrl_info->lun_reset_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ctrl_info->pci_dev->bus->parent | 0 |
| PARAM_VALUE | 0 | ctrl_info->pci_dev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl_info->pci_dev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl_info->pci_dev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl_info->pci_dev->is_busmaster | 0 |
| PARAM_VALUE | 0 | ctrl_info->pci_dev->is_virtfn | 0 |
| PARAM_VALUE | 0 | ctrl_info->pqi_mode_enabled | 0 |
| PARAM_VALUE | 0 | ctrl_info->scsi_device_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctrl_info->scsi_host | 4096-ptr_max |
| PARAM_VALUE | 1 | device | 4096-ptr_max |
| PARAM_VALUE | 1 | *device->in_reset | 1 |
| PARAM_VALUE | 3 | timeout_msecs | 120000,600000 |
| BUF_SIZE | 1 | device | (-1),12,16,18,24,32,272,280,520,2064 |
| BUF_SIZE | 1 | device | (-1),12,16,18,24,32,272,280,520,2064 |
| CAPPED_DATA | 0 | ctrl_info->num_queue_groups | 1 |
| CAPPED_DATA | 1 | device | 1 |
| CAPPED_DATA | 1 | device->bus | 1 |
| CAPPED_DATA | 1 | device->lun | 1 |
| CAPPED_DATA | 1 | device->target | 1 |
| DATA_SOURCE | 0 | ctrl_info | $0 |
| DATA_SOURCE | 1 | device | $1 |
| DATA_SOURCE | 2 | lun | $2 |
| FUZZY_MAX | 3 | timeout_msecs | 600000 |
| BIT_INFO | 3 | timeout_msecs | 0x104c0,0x9f7c0 |
| BIT_INFO | 3 | timeout_msecs | 0x104c0,0x9f7c0 |
| HARD_MAX | 3 | timeout_msecs | 600000 |
| UNITS | 1 | device | unit_byte |
| LOCK2 | 0 | &ctrl_info->lun_reset_mutex | |
| TYPE_LOCK | (struct pqi_ctrl_info)->lun_reset_mutex |
drivers/scsi/smartpqi/smartpqi_init.c pqi_remove_device() -> pqi_device_wait_for_pending_io()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl_info | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl_info->block_requests_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl_info->block_requests_wait.head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl_info->pci_dev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl_info->pci_dev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | ctrl_info->pci_dev->dev.dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl_info->pci_dev->dev.dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl_info->pci_dev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | ctrl_info->pci_dev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | ctrl_info->pci_dev->dev.iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | ctrl_info->pci_dev->dev.msi.data->__iter_idx | 0-s64max |
| PARAM_VALUE | 0 | ctrl_info->pci_dev->sriov->offset | 0-u16max |
| PARAM_VALUE | 0 | ctrl_info->pci_dev->sriov->stride | 0-u16max |
| PARAM_VALUE | 0 | ctrl_info->scsi_device_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctrl_info->scsi_host | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl_info->sync_request_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | ctrl_info->sync_request_sem.last_holder | 0 |
| PARAM_VALUE | 1 | device | 4096-ptr_max |
| PARAM_VALUE | 1 | device->lun_count | 1-255 |
| PARAM_VALUE | 1 | device->sdev->sdev_dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 1 | device->sdev->sdev_dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 1 | device->sdev->sdev_dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | device->sdev->sdev_gendev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 1 | device->sdev->sdev_gendev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | lun | 0-254 |
| PARAM_VALUE | 3 | timeout_msecs | 20000 |
| BUF_SIZE | 0 | ctrl_info | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ctrl_info | s32min-(-1),1-s32max |
| CAPPED_DATA | 2 | lun | 1 |
| DATA_SOURCE | 0 | ctrl_info | $0 |
| DATA_SOURCE | 1 | device | $1 |
| PARAM_COMPARE | 1 | device->lun_count | > $2 |
| PARAM_COMPARE | 2 | lun | < $1->lun_count |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | ctrl_info->previous_heartbeat_count | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | ctrl_info->max_io_slots | |
| UNITS | 0 | ctrl_info | unit_byte |
| LOCK2 | 0 | &ctrl_info->scan_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | &ctrl_info->lun_reset_mutex | |
| TYPE_LOCK | (struct pqi_ctrl_info)->scan_mutex |