Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/smartpqi/smartpqi_init.c pqi_pci_remove() -> pqi_flush_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl_info | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl_info->ctrl_removal_state | 1 |
| PARAM_VALUE | 0 | ctrl_info->pci_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl_info->pci_dev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 1 | shutdown_event | 4 |
| BUF_SIZE | 0 | ctrl_info | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctrl_info | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ctrl_info | unit_byte |
drivers/scsi/smartpqi/smartpqi_init.c pqi_poweroff() -> pqi_flush_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | shutdown_event | 3-4 |
| BUF_SIZE | 0 | ctrl_info | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctrl_info | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | shutdown_event | r pqi_get_flush_cache_shutdown_event |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ctrl_info | unit_byte |
drivers/scsi/smartpqi/smartpqi_init.c pqi_shutdown() -> pqi_flush_cache()
| 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->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.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ctrl_info->ofa_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctrl_info->ofa_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl_info->ofa_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| 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->ofa_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ctrl_info->scsi_host | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl_info->scsi_host->host_self_blocked | 1 |
| 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 | shutdown_event | 1,4 |
| BUF_SIZE | 0 | ctrl_info | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctrl_info | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ctrl_info->scsi_host->tag_set.tags_srcu.srcu_ctrp | 1 |
| FUZZY_MAX | 1 | shutdown_event | 4 |
| BIT_INFO | 1 | shutdown_event | 0x0,0x5 |
| HARD_MAX | 1 | shutdown_event | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ctrl_info | unit_byte |
| LOCK2 | &dev->mutex | ||
| LOCK2 | 0 | &ctrl_info->lun_reset_mutex | |
| HALF_LOCKED2 | &parent->mutex | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct pqi_ctrl_info)->lun_reset_mutex |
drivers/scsi/smartpqi/smartpqi_init.c pqi_suspend_or_freeze() -> pqi_flush_cache()
| 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->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.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ctrl_info->ofa_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctrl_info->ofa_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl_info->ofa_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| 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->ofa_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ctrl_info->scan_blocked | 1 |
| PARAM_VALUE | 0 | ctrl_info->scan_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctrl_info->scan_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl_info->scan_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctrl_info->scan_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ctrl_info->scsi_host | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl_info->scsi_host->host_self_blocked | 1 |
| 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 | shutdown_event | 3-4 |
| BUF_SIZE | 0 | ctrl_info | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctrl_info | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ctrl_info->scsi_host->tag_set.tags_srcu.srcu_ctrp | 1 |
| DATA_SOURCE | 1 | shutdown_event | r pqi_get_flush_cache_shutdown_event |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ctrl_info | unit_byte |
| LOCK2 | 0 | &ctrl_info->lun_reset_mutex | |
| LOCK2 | 0 | &ctrl_info->scan_mutex | |
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &fsm->lock | ||
| TYPE_LOCK | (struct pqi_ctrl_info)->lun_reset_mutex | ||
| TYPE_LOCK | (struct pqi_ctrl_info)->scan_mutex |