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_ctrl_init_resume() -> pqi_host_free_buffer()

Type Parameter Key Value
PARAM_VALUE 0 ctrl_info 4096-ptr_max
PARAM_VALUE 0 ctrl_info->admin_queues.iq_pi 4096-ptr_max
PARAM_VALUE 0 ctrl_info->admin_queues.oq_pi 4096-ptr_max
PARAM_VALUE 0 ctrl_info->block_requests 1
PARAM_VALUE 0 ctrl_info->config_table_length 0-4000000
PARAM_VALUE 0 ctrl_info->controller_online 0
PARAM_VALUE 0 ctrl_info->ctrl_log_memory.host_memory 1-u64max
PARAM_VALUE 0 ctrl_info->ctrl_logging_supported 0
PARAM_VALUE 0 ctrl_info->ctrl_offline_work.entry.next 4096-ptr_max
PARAM_VALUE 0 ctrl_info->enable_r1_writes 0
PARAM_VALUE 0 ctrl_info->enable_r5_writes 0
PARAM_VALUE 0 ctrl_info->enable_r6_writes 0
PARAM_VALUE 0 ctrl_info->event_queue.oq_ci_copy 0
PARAM_VALUE 0 ctrl_info->event_queue.oq_pi 4096-ptr_max
PARAM_VALUE 0 ctrl_info->firmware_triage_supported 0
PARAM_VALUE 0 ctrl_info->heartbeat_counter 0,4096-ptr_max
PARAM_VALUE 0 ctrl_info->irq_mode 2
PARAM_VALUE 0 ctrl_info->lun_reset_mutex.dep_map->name 0-255
PARAM_VALUE 0 ctrl_info->multi_lun_device_supported 0
PARAM_VALUE 0 ctrl_info->pci_dev->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 ctrl_info->pci_dev->dev.dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctrl_info->pci_dev->dev.dma_io_tlb_pools.next 4096-ptr_max
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.dma_uses_io_tlb 1
PARAM_VALUE 0 ctrl_info->pci_dev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 ctrl_info->pci_dev->is_virtfn 0
PARAM_VALUE 0 ctrl_info->pqi_mode_enabled 0
PARAM_VALUE 0 ctrl_info->pqi_registers 4096-ptr_max
PARAM_VALUE 0 ctrl_info->pqi_reset_quiesce_supported 1
PARAM_VALUE 0 ctrl_info->raid_iu_timeout_supported 0
PARAM_VALUE 0 ctrl_info->registers 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->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->soft_reset_status 0,4096-ptr_max
PARAM_VALUE 0 ctrl_info->sync_request_sem.first_waiter->up 1
PARAM_VALUE 0 ctrl_info->sync_request_sem.last_holder 0
PARAM_VALUE 0 ctrl_info->sync_request_sem.lock.dep_map->name 0-255
PARAM_VALUE 0 ctrl_info->sync_request_sem.lock.owner (-1)
PARAM_VALUE 0 ctrl_info->sync_request_sem.lock.owner_cpu u32max
PARAM_VALUE 0 ctrl_info->tmf_iu_timeout_supported 0
PARAM_VALUE 0 *ctrl_info->firmware_version 0-255
PARAM_VALUE 0 *ctrl_info->model 0-255
PARAM_VALUE 0 *ctrl_info->vendor 0-255
PARAM_VALUE 1 host_memory_descriptor 4096-ptr_max
PARAM_VALUE 1 host_memory_descriptor->host_memory 1-u64max
BUF_SIZE 0 ctrl_info s32min-(-1),1-s32max
BUF_SIZE 0 ctrl_info s32min-(-1),1-s32max
CAPPED_DATA 0 ctrl_info->num_queue_groups 1
DATA_SOURCE 0 ctrl_info $0
TERMINATED 0 ctrl_info->model 1
TERMINATED 0 ctrl_info->vendor 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 ctrl_info->previous_heartbeat_count 0-u32max
UNITS 0 ctrl_info unit_byte
HALF_LOCKED2 0 &ctrl_info->lun_reset_mutex

drivers/scsi/smartpqi/smartpqi_init.c pqi_ofa_process_event() -> pqi_host_free_buffer()

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->events->event_type 251
PARAM_VALUE 0 ctrl_info->events->pending 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 1 host_memory_descriptor 4096-ptr_max
DATA_SOURCE 0 ctrl_info $0
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/scsi/smartpqi/smartpqi_init.c pqi_process_soft_reset() -> pqi_host_free_buffer()

Type Parameter Key Value
PARAM_VALUE 0 ctrl_info 4096-ptr_max
PARAM_VALUE 0 ctrl_info->events 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->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.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 ctrl_info->pci_dev->dev.driver 0,4096-ptr_max
PARAM_VALUE 0 ctrl_info->pci_dev->dev.iommu->pci_32bit_workaround 0-1
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->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 0 ctrl_info->sync_request_sem.first_waiter->up 0-1
PARAM_VALUE 0 ctrl_info->sync_request_sem.lock.dep_map->name 0-255
PARAM_VALUE 0 *ctrl_info->firmware_version 0-255
PARAM_VALUE 0 *ctrl_info->model 0-255
PARAM_VALUE 0 *ctrl_info->vendor 0-255
PARAM_VALUE 1 host_memory_descriptor 4096-ptr_max
DATA_SOURCE 0 ctrl_info $0
NOCHECK_CALL
HOST_DATA 0 ctrl_info->previous_heartbeat_count 0-u32max
LOCK2 0 &ctrl_info->lun_reset_mutex
LOCK2 0 &ctrl_info->scan_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct pqi_ctrl_info)->lun_reset_mutex
TYPE_LOCK (struct pqi_ctrl_info)->scan_mutex

drivers/scsi/smartpqi/smartpqi_init.c pqi_process_soft_reset() -> pqi_host_free_buffer()

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->events 4096-ptr_max
PARAM_VALUE 0 ctrl_info->heartbeat_timer.entry.pprev 0
PARAM_VALUE 0 ctrl_info->heartbeat_timer.flags 0-4194302
PARAM_VALUE 0 ctrl_info->heartbeat_timer.function 0
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->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->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.first_waiter->list.prev->prev 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 0 ctrl_info->soft_reset_handshake_supported 1
PARAM_VALUE 0 ctrl_info->soft_reset_status 4096-ptr_max
PARAM_VALUE 1 host_memory_descriptor 4096-ptr_max
CAPPED_DATA 0 ctrl_info->scsi_host->tag_set.tags_srcu.srcu_ctrp 1
DATA_SOURCE 0 ctrl_info $0
NOCHECK_CALL
LOCK2 0 &ctrl_info->lun_reset_mutex
LOCK2 0 &ctrl_info->scan_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct pqi_ctrl_info)->lun_reset_mutex
TYPE_LOCK (struct pqi_ctrl_info)->scan_mutex

drivers/scsi/smartpqi/smartpqi_init.c pqi_process_soft_reset() -> pqi_host_free_buffer()

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->events 4096-ptr_max
PARAM_VALUE 0 ctrl_info->heartbeat_timer.entry.pprev 0
PARAM_VALUE 0 ctrl_info->heartbeat_timer.flags 0-4194302
PARAM_VALUE 0 ctrl_info->heartbeat_timer.function 0
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->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->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.first_waiter->list.prev->prev 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 host_memory_descriptor 4096-ptr_max
CAPPED_DATA 0 ctrl_info->scsi_host->tag_set.tags_srcu.srcu_ctrp 1
DATA_SOURCE 0 ctrl_info $0
NOCHECK_CALL
LOCK2 0 &ctrl_info->lun_reset_mutex
LOCK2 0 &ctrl_info->scan_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct pqi_ctrl_info)->lun_reset_mutex
TYPE_LOCK (struct pqi_ctrl_info)->scan_mutex

drivers/scsi/smartpqi/smartpqi_init.c pqi_remove_ctrl() -> pqi_host_free_buffer()

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->heartbeat_timer.entry.pprev 0
PARAM_VALUE 0 ctrl_info->heartbeat_timer.flags 0-4194302
PARAM_VALUE 0 ctrl_info->heartbeat_timer.function 0
PARAM_VALUE 0 ctrl_info->pci_dev 4096-ptr_max
PARAM_VALUE 0 ctrl_info->rescan_work.work.lockdep_map->name 0-255
PARAM_VALUE 0 ctrl_info->sync_request_sem.first_waiter->up 0-1
PARAM_VALUE 0 ctrl_info->update_time_work.work.lockdep_map->name 0-255
PARAM_VALUE 0 *ctrl_info->pci_dev->saved_config_space 0-4294967295
PARAM_VALUE 1 host_memory_descriptor 4096-ptr_max
BUF_SIZE 0 ctrl_info s32min-(-2),1-s32max
BUF_SIZE 0 ctrl_info s32min-(-2),1-s32max
BUF_SIZE 0 ctrl_info->pci_dev (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064
CAPPED_DATA 0 ctrl_info->pci_dev 1
DATA_SOURCE 0 ctrl_info $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 ctrl_info->pci_dev->current_state 0-3[c]
UNITS 0 ctrl_info unit_byte