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() -> pqi_host_memory_update()

Type Parameter Key Value
PARAM_VALUE 0 ctrl_info 4096-ptr_max
PARAM_VALUE 0 ctrl_info->admin_queue_memory_base 1-ptr_max
PARAM_VALUE 0 ctrl_info->admin_queue_memory_length 1984
PARAM_VALUE 0 ctrl_info->admin_queues.iq_ci 1792,4096-ptr_max
PARAM_VALUE 0 ctrl_info->admin_queues.iq_element_array 0,64-ptr_max
PARAM_VALUE 0 ctrl_info->admin_queues.iq_pi 4096-ptr_max
PARAM_VALUE 0 ctrl_info->admin_queues.oq_element_array 512,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->block_requests_wait.head.next->next 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->prev 4096-ptr_max
PARAM_VALUE 0 ctrl_info->ciss_report_log_flags 1,65
PARAM_VALUE 0 ctrl_info->config_table_length 0-4000000
PARAM_VALUE 0 ctrl_info->controller_online 0
PARAM_VALUE 0 ctrl_info->ctrl_logging_supported 1
PARAM_VALUE 0 ctrl_info->error_buffer 1-ptr_max
PARAM_VALUE 0 ctrl_info->event_irq s32min-(-1),1-s32max
PARAM_VALUE 0 ctrl_info->event_queue.int_msg_num 0
PARAM_VALUE 0 ctrl_info->event_queue.oq_ci_copy 0
PARAM_VALUE 0 ctrl_info->event_queue.oq_element_array 0,64-u64max
PARAM_VALUE 0 ctrl_info->event_queue.oq_id 1
PARAM_VALUE 0 ctrl_info->event_queue.oq_pi 0,4-u64max
PARAM_VALUE 0 ctrl_info->heartbeat_timer.entry.pprev 0,4096-ptr_max
PARAM_VALUE 0 ctrl_info->heartbeat_timer.lockdep_map->name 0-255
PARAM_VALUE 0 ctrl_info->inbound_spanning_supported 1
PARAM_VALUE 0 ctrl_info->io_request_pool 16,4096-ptr_max
PARAM_VALUE 0 ctrl_info->io_request_pool->iu 0,4096-ptr_max
PARAM_VALUE 0 ctrl_info->io_request_pool->sg_chain_buffer 1-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->lun_reset_mutex.first_waiter 0
PARAM_VALUE 0 ctrl_info->lun_reset_mutex.magic 4096-ptr_max
PARAM_VALUE 0 ctrl_info->max_inbound_iu_length 128-65408
PARAM_VALUE 0 ctrl_info->max_inbound_iu_length_per_firmware 128-u16max
PARAM_VALUE 0 ctrl_info->max_iq_element_length 128-u16max
PARAM_VALUE 0 ctrl_info->max_msix_vectors 0-s32max
PARAM_VALUE 0 ctrl_info->max_oq_element_length 16-u16max
PARAM_VALUE 0 ctrl_info->max_sectors 0-2040,8388600
PARAM_VALUE 0 ctrl_info->max_sg_per_iu 4-4084
PARAM_VALUE 0 ctrl_info->max_sg_per_r56_iu 3-4083
PARAM_VALUE 0 ctrl_info->max_transfer_encrypted_nvme 1024-67107840,u32max
PARAM_VALUE 0 ctrl_info->max_transfer_encrypted_sas_sata 1024-67107840,u32max
PARAM_VALUE 0 ctrl_info->max_write_raid_1_10_2drive 1024-67107840,u32max
PARAM_VALUE 0 ctrl_info->max_write_raid_1_10_3drive 1024-67107840,u32max
PARAM_VALUE 0 ctrl_info->max_write_raid_5_6 1024-67107840,u32max
PARAM_VALUE 0 ctrl_info->num_elements_per_iq 0-512
PARAM_VALUE 0 ctrl_info->num_interrupts.counter 0
PARAM_VALUE 0 ctrl_info->num_msix_vectors_enabled 0-s32max
PARAM_VALUE 0 ctrl_info->num_queue_groups 0-64,2147483648-u32max
PARAM_VALUE 0 ctrl_info->numa_node s32min-(-2),0-s32max
PARAM_VALUE 0 ctrl_info->ofa_mutex.dep_map->name 0-255
PARAM_VALUE 0 ctrl_info->ofa_mutex.first_waiter 0
PARAM_VALUE 0 ctrl_info->ofa_mutex.magic 4096-ptr_max
PARAM_VALUE 0 ctrl_info->ofa_mutex.osq.tail.counter 0
PARAM_VALUE 0 ctrl_info->ofa_mutex.owner.counter 0
PARAM_VALUE 0 ctrl_info->outbound_spanning_supported 0
PARAM_VALUE 0 ctrl_info->pci_dev 4096-ptr_max
PARAM_VALUE 0 ctrl_info->pci_dev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 ctrl_info->pci_dev->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 ctrl_info->pci_dev->dev.devres_head.prev->next->next 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->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_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctrl_info->pci_dev->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 ctrl_info->pci_dev->dev.msi.data->__iter_idx 0-s64max
PARAM_VALUE 0 ctrl_info->pci_dev->driver 4096-ptr_max
PARAM_VALUE 0 ctrl_info->pci_dev->is_msi_managed 1
PARAM_VALUE 0 ctrl_info->pci_dev->is_virtfn 0
PARAM_VALUE 0 ctrl_info->pci_dev->msix_base 4096-ptr_max
PARAM_VALUE 0 ctrl_info->pci_dev->msix_enabled 1
PARAM_VALUE 0 ctrl_info->pci_dev->npem->supported_indications 0-4294967295
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->queue_memory_base 1-ptr_max
PARAM_VALUE 0 ctrl_info->queue_memory_length 260,264,1280
PARAM_VALUE 0 ctrl_info->registers 4096-ptr_max
PARAM_VALUE 0 ctrl_info->sas_address 0
PARAM_VALUE 0 ctrl_info->sas_host 4096-ptr_max
PARAM_VALUE 0 ctrl_info->sas_host->parent_dev 4096-ptr_max
PARAM_VALUE 0 ctrl_info->sas_host->port_list_head.next 4096-ptr_max
PARAM_VALUE 0 ctrl_info->sas_host->port_list_head.prev 4096-ptr_max
PARAM_VALUE 0 ctrl_info->scan_mutex.dep_map->name 0-255
PARAM_VALUE 0 ctrl_info->scan_mutex.first_waiter 0
PARAM_VALUE 0 ctrl_info->scan_mutex.magic 4096-ptr_max
PARAM_VALUE 0 ctrl_info->scan_mutex.osq.tail.counter 0
PARAM_VALUE 0 ctrl_info->scan_mutex.owner.counter 0
PARAM_VALUE 0 ctrl_info->scsi_device_list.next 4096-ptr_max
PARAM_VALUE 0 ctrl_info->scsi_device_list.next->next 4096-ptr_max
PARAM_VALUE 0 ctrl_info->scsi_device_list.prev 4096-ptr_max
PARAM_VALUE 0 ctrl_info->scsi_device_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ctrl_info->scsi_device_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctrl_info->scsi_host 4096-ptr_max
PARAM_VALUE 0 ctrl_info->scsi_host->__devices.next 4096-ptr_max
PARAM_VALUE 0 ctrl_info->scsi_host->__devices.prev 4096-ptr_max
PARAM_VALUE 0 ctrl_info->scsi_host->__targets.next 4096-ptr_max
PARAM_VALUE 0 ctrl_info->scsi_host->__targets.prev 4096-ptr_max
PARAM_VALUE 0 ctrl_info->scsi_host->active_mode 1-3
PARAM_VALUE 0 ctrl_info->scsi_host->can_queue s32min-(-12),0-s32max
PARAM_VALUE 0 ctrl_info->scsi_host->dma_alignment 1-u32max
PARAM_VALUE 0 ctrl_info->scsi_host->dma_boundary 1-u64max
PARAM_VALUE 0 ctrl_info->scsi_host->dma_channel 255
PARAM_VALUE 0 ctrl_info->scsi_host->dma_dev 1-u64max
PARAM_VALUE 0 ctrl_info->scsi_host->eh_abort_list.next 4096-ptr_max
PARAM_VALUE 0 ctrl_info->scsi_host->eh_abort_list.prev 4096-ptr_max
PARAM_VALUE 0 ctrl_info->scsi_host->eh_cmd_q.next 4096-ptr_max
PARAM_VALUE 0 ctrl_info->scsi_host->eh_cmd_q.prev 4096-ptr_max
PARAM_VALUE 0 ctrl_info->scsi_host->eh_deadline (-1)-2147483500,s32max
PARAM_VALUE 0 ctrl_info->scsi_host->ehandler 4096-ptr_max
PARAM_VALUE 0 ctrl_info->scsi_host->host_lock 4096-ptr_max
PARAM_VALUE 0 ctrl_info->scsi_host->host_no 0-s32max
PARAM_VALUE 0 ctrl_info->scsi_host->host_tagset 1
PARAM_VALUE 0 ctrl_info->scsi_host->host_wait.head.next 4096-ptr_max
PARAM_VALUE 0 ctrl_info->scsi_host->host_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 ctrl_info->scsi_host->hostt 4441490499042836480
PARAM_VALUE 0 ctrl_info->scsi_host->io_port 0
PARAM_VALUE 0 ctrl_info->scsi_host->max_channel 3
PARAM_VALUE 0 ctrl_info->scsi_host->max_cmd_len 16
PARAM_VALUE 0 ctrl_info->scsi_host->max_host_blocked 1-u32max
PARAM_VALUE 0 ctrl_info->scsi_host->max_id u32max
PARAM_VALUE 0 ctrl_info->scsi_host->max_lun 256
PARAM_VALUE 0 ctrl_info->scsi_host->max_segment_size 1-u32max
PARAM_VALUE 0 ctrl_info->scsi_host->n_io_port 0
PARAM_VALUE 0 ctrl_info->scsi_host->no_write_same 0
PARAM_VALUE 0 ctrl_info->scsi_host->nr_hw_queues 0-64,2147483648-u32max
PARAM_VALUE 0 ctrl_info->scsi_host->nr_reserved_cmds 0
PARAM_VALUE 0 ctrl_info->scsi_host->pseudo_sdev 0,4096-ptr_max
PARAM_VALUE 0 ctrl_info->scsi_host->scan_mutex.magic 4096-ptr_max
PARAM_VALUE 0 ctrl_info->scsi_host->sg_prot_tablesize 0
PARAM_VALUE 0 ctrl_info->scsi_host->sg_tablesize 0-256
PARAM_VALUE 0 ctrl_info->scsi_host->shost_data 0,4096-ptr_max
PARAM_VALUE 0 ctrl_info->scsi_host->shost_state 1-2
PARAM_VALUE 0 ctrl_info->scsi_host->starved_list.next 4096-ptr_max
PARAM_VALUE 0 ctrl_info->scsi_host->starved_list.prev 4096-ptr_max
PARAM_VALUE 0 ctrl_info->scsi_host->tag_set.driver_data 4096-ptr_max
PARAM_VALUE 0 ctrl_info->scsi_host->tag_set.flags 0,8,16,24,32,40,48,56
PARAM_VALUE 0 ctrl_info->scsi_host->tag_set.nr_hw_queues 1-u32max
PARAM_VALUE 0 ctrl_info->scsi_host->tag_set.nr_maps 1-u32max
PARAM_VALUE 0 ctrl_info->scsi_host->tag_set.numa_node 0
PARAM_VALUE 0 ctrl_info->scsi_host->tag_set.ops 4889071768920461312,5023536141207961600
PARAM_VALUE 0 ctrl_info->scsi_host->tag_set.queue_depth 1-10240
PARAM_VALUE 0 ctrl_info->scsi_host->tag_set.srcu 0,4096-ptr_max
PARAM_VALUE 0 ctrl_info->scsi_host->tag_set.tags 1-u64max
PARAM_VALUE 0 ctrl_info->scsi_host->tag_set.timeout 0
PARAM_VALUE 0 ctrl_info->scsi_host->tagset_freed.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 ctrl_info->scsi_host->tagset_freed.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 ctrl_info->scsi_host->this_id (-1)
PARAM_VALUE 0 ctrl_info->scsi_host->tmf_work_q 4096-ptr_max
PARAM_VALUE 0 ctrl_info->scsi_host->transportt 0,4096-ptr_max
PARAM_VALUE 0 ctrl_info->scsi_host->work_q 0,4096-ptr_max
PARAM_VALUE 0 ctrl_info->sg_chain_buffer_length 192-4288
PARAM_VALUE 0 ctrl_info->sg_tablesize 0-256
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->pci_dev->saved_config_space 0-4294967295
PARAM_VALUE 1 host_memory_descriptor 4096-ptr_max
PARAM_VALUE 2 function_code 2
BUF_SIZE 0 ctrl_info 23184
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->max_io_slots 1
CAPPED_DATA 0 ctrl_info->max_msix_vectors 1
CAPPED_DATA 0 ctrl_info->num_msix_vectors_enabled 1
CAPPED_DATA 0 ctrl_info->num_queue_groups 1
CAPPED_DATA 0 ctrl_info->pci_dev 1
CAPPED_DATA 0 ctrl_info->sg_chain_buffer_length 1
DATA_SOURCE 0 ctrl_info $0
BIT_INFO 0 ctrl_info->ciss_report_log_flags 0x1,0xffffffffffffffff
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->max_io_slots

drivers/scsi/smartpqi/smartpqi_init.c pqi_ctrl_init_resume() -> pqi_host_memory_update()

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_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.cma_area->nranges s32min-s32max
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->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->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 2 function_code 2
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_memory_alloc_worker() -> pqi_host_memory_update()

Type Parameter Key Value
PARAM_VALUE 0 ctrl_info 4096-ptr_max
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.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctrl_info->pci_dev->dev.cma_area->nranges s32min-s32max
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->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_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctrl_info->pci_dev->dev.iommu->attach_deferred 0-1
PARAM_VALUE 1 host_memory_descriptor 4096-ptr_max
PARAM_VALUE 2 function_code 1
CAPPED_DATA 0 ctrl_info->pci_dev->dev.cma_area->nranges 1
NOCHECK_CALL
LOCK2 0 &ctrl_info->ofa_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct pqi_ctrl_info)->ofa_mutex