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_check_ctrl_health() -> pqi_take_ctrl_offline()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl_info | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl_info->controller_online | 1 |
| 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_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | ctrl_info->pci_dev->dev.msi.data->__iter_idx | 0-s64max |
| PARAM_VALUE | 0 | ctrl_info->registers | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl_info->sync_request_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | *ctrl_info->pci_dev->saved_config_space | 0-4294967295 |
| PARAM_VALUE | 1 | ctrl_shutdown_reason | 5 |
| BUF_SIZE | 0 | ctrl_info | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ctrl_info | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ctrl_info->pci_dev | (-1),1-s32max |
| DATA_SOURCE | 0 | ctrl_info | $0 |
| STR_LEN | 0 | ctrl_info | (-1),8 |
| STR_LEN | 0 | ctrl_info | (-1),8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | ctrl_info->num_queue_groups | 1[c] |
| HOST_DATA | 0 | ctrl_info->pci_dev->current_state | 0-3[c] |
| HOST_DATA | 0 | ctrl_info->previous_heartbeat_count | 0-u32max |
| HOST_DATA | 0 | ctrl_info->product_id | 0-255 |
| HOST_DATA | 0 | ctrl_info->product_revision | 0-255 |
| HOST_DATA | 0 | ctrl_info->scsi_host->nr_hw_queues | 1[c] |
| NO_OVERFLOW_SIMPLE | 0 | ctrl_info->admin_queue_memory_length | |
| NO_OVERFLOW_SIMPLE | 0 | ctrl_info->error_buffer_length | |
| NO_OVERFLOW_SIMPLE | 0 | ctrl_info->max_io_slots | |
| NO_OVERFLOW_SIMPLE | 0 | ctrl_info->queue_memory_length | |
| UNITS | 0 | ctrl_info | unit_byte |
| HALF_LOCKED2 | 0 | &ctrl_info->lun_reset_mutex | |
| HALF_LOCKED2 | 0 | &ctrl_info->ofa_mutex | |
| HALF_LOCKED2 | 0 | &ctrl_info->scan_mutex | |
| HALF_LOCKED2 | 0 | &ctrl_info->sync_request_sem |
drivers/scsi/smartpqi/smartpqi_init.c pqi_heartbeat_timer_handler() -> pqi_take_ctrl_offline()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl_info | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl_info->block_requests | 1 |
| PARAM_VALUE | 0 | ctrl_info->controller_online | 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 | 1 | ctrl_shutdown_reason | 4 |
| CAPPED_DATA | 0 | ctrl_info->previous_heartbeat_count | 1 |
| CAPPED_DATA | 0 | ctrl_info->previous_num_interrupts | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/scsi/smartpqi/smartpqi_init.c pqi_invalid_response() -> pqi_take_ctrl_offline()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl_info | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl_info->irq_mode | 1-2 |
| PARAM_VALUE | 1 | ctrl_shutdown_reason | 7-11 |
| CAPPED_DATA | 0 | ctrl_info->num_elements_per_oq | 1 |
| DATA_SOURCE | 0 | ctrl_info | $0 |
| DATA_SOURCE | 1 | ctrl_shutdown_reason | $1 |
| HARD_MAX | 1 | ctrl_shutdown_reason | 11 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
drivers/scsi/smartpqi/smartpqi_init.c pqi_process_soft_reset() -> pqi_take_ctrl_offline()
| 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->events | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl_info->heartbeat_timer.entry->pprev | 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->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.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctrl_info->lun_reset_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctrl_info->lun_reset_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctrl_info->lun_reset_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctrl_info->lun_reset_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctrl_info->ofa_memory.host_memory | 0 |
| PARAM_VALUE | 0 | ctrl_info->ofa_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctrl_info->ofa_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctrl_info->ofa_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctrl_info->ofa_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctrl_info->ofa_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctrl_info->ofa_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| 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.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | ctrl_info->pci_dev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl_info->scan_blocked | 0 |
| PARAM_VALUE | 0 | ctrl_info->scan_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctrl_info->scan_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctrl_info->scan_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ctrl_info->scan_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctrl_info->scan_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctrl_info->scan_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctrl_info->scan_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctrl_info->scan_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctrl_info->scsi_host | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl_info->scsi_host->host_lock | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl_info->scsi_host->host_lock->rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctrl_info->scsi_host->host_self_blocked | 0 |
| PARAM_VALUE | 0 | ctrl_info->scsi_host->tag_set.tags_srcu.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctrl_info->scsi_host->tag_set.tags_srcu.srcu_ctrp | 4096-ptr_max |
| PARAM_VALUE | 1 | ctrl_shutdown_reason | 6 |
| CAPPED_DATA | 0 | ctrl_info->scsi_host->tag_set.tags_srcu.srcu_ctrp | 1 |
| DATA_SOURCE | 0 | ctrl_info | $0 |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | ctrl_info->previous_heartbeat_count | 0-u32max |
| HALF_LOCKED2 | &pool->lock |