Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/scsi/pm8001/pm8001_init.c pm8001_pci_remove() -> sas_unregister_ha()

Type Parameter Key Value
PARAM_VALUE 0 sas_ha 4096-ptr_max
BUF_SIZE 0 sas_ha s32min-(-2),1-s32max
BUF_SIZE 0 sas_ha s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sas_ha unit_byte

drivers/scsi/isci/init.c isci_unregister() -> sas_unregister_ha()

Type Parameter Key Value
PARAM_VALUE 0 sas_ha 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_probe() -> sas_unregister_ha()

Type Parameter Key Value
PARAM_VALUE 0 sas_ha 4096-ptr_max
PARAM_VALUE 0 sas_ha->defer_q.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->defer_q.next->next 4096-ptr_max
PARAM_VALUE 0 sas_ha->defer_q.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->defer_q.prev->next 4096-ptr_max
PARAM_VALUE 0 sas_ha->defer_q.prev->prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->disco_mutex.dep_map->name 0-255
PARAM_VALUE 0 sas_ha->disco_mutex.first_waiter 0
PARAM_VALUE 0 sas_ha->disco_mutex.magic 4096-ptr_max
PARAM_VALUE 0 sas_ha->disco_mutex.osq.tail.counter 0
PARAM_VALUE 0 sas_ha->disco_mutex.owner.counter 0
PARAM_VALUE 0 sas_ha->disco_q 4096-ptr_max
PARAM_VALUE 0 sas_ha->drain_mutex.dep_map->name 0-255
PARAM_VALUE 0 sas_ha->drain_mutex.first_waiter 0
PARAM_VALUE 0 sas_ha->drain_mutex.magic 4096-ptr_max
PARAM_VALUE 0 sas_ha->drain_mutex.osq.tail.counter 0
PARAM_VALUE 0 sas_ha->drain_mutex.owner.counter 0
PARAM_VALUE 0 sas_ha->eh_ata_q.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_ata_q.next->next 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_ata_q.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_ata_q.prev->next 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_ata_q.prev->prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_dev_q.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_dev_q.next->next 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_dev_q.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_dev_q.prev->next 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_dev_q.prev->prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_done_q.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_done_q.next->next 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_done_q.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_done_q.prev->next 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_done_q.prev->prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_wait_q.head.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_wait_q.head.next->next 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_wait_q.head.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_wait_q.head.prev->next 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_wait_q.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->event_q 4096-ptr_max
PARAM_VALUE 0 sas_ha->event_thres 1024
PARAM_VALUE 0 sas_ha->hashed_sas_addr 4096-ptr_max
PARAM_VALUE 0 sas_ha->lldd_ha 4096-ptr_max
PARAM_VALUE 0 sas_ha->sas_addr 4096-ptr_max
PARAM_VALUE 0 sas_ha->sas_ha_name 4760663241441710080
PARAM_VALUE 0 sas_ha->sas_phy 1-u64max
PARAM_VALUE 0 sas_ha->sas_port 1-u64max
BUF_SIZE 0 sas_ha->sas_addr 8
BUF_SIZE 0 sas_ha->sas_ha_name 9
BUF_SIZE 0 sas_ha->sas_phy 0-u64max
BUF_SIZE 0 sas_ha->sas_port 0-u64max
CAPPED_DATA 0 sas_ha->num_phys 1
STR_LEN 0 sas_ha->sas_ha_name 8
BIT_INFO 0 sas_ha 0x0,0x7fffffffffffffff
BIT_INFO 0 sas_ha 0x0,0x7fffffffffffffff
TERMINATED 0 sas_ha->sas_ha_name 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_remove() -> sas_unregister_ha()

Type Parameter Key Value
PARAM_VALUE 0 sas_ha 4096-ptr_max
PARAM_VALUE 0 sas_ha->lldd_ha 4096-ptr_max
BUF_SIZE 0 sas_ha s32min-(-2),1-s32max
BUF_SIZE 0 sas_ha s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sas_ha unit_byte
HALF_LOCKED2 &_dev->mutex

drivers/scsi/hisi_sas/hisi_sas_v3_hw.c hisi_sas_v3_probe() -> sas_unregister_ha()

Type Parameter Key Value
PARAM_VALUE 0 sas_ha 4096-ptr_max
PARAM_VALUE 0 sas_ha->defer_q.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->defer_q.next->next 4096-ptr_max
PARAM_VALUE 0 sas_ha->defer_q.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->defer_q.prev->next 4096-ptr_max
PARAM_VALUE 0 sas_ha->defer_q.prev->prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->dev 4096-ptr_max
PARAM_VALUE 0 sas_ha->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->dev->driver_data 4096-ptr_max
PARAM_VALUE 0 sas_ha->disco_mutex.dep_map->name 0-255
PARAM_VALUE 0 sas_ha->disco_mutex.first_waiter 0
PARAM_VALUE 0 sas_ha->disco_mutex.magic 4096-ptr_max
PARAM_VALUE 0 sas_ha->disco_mutex.osq.tail.counter 0
PARAM_VALUE 0 sas_ha->disco_mutex.owner.counter 0
PARAM_VALUE 0 sas_ha->disco_q 4096-ptr_max
PARAM_VALUE 0 sas_ha->drain_mutex.dep_map->name 0-255
PARAM_VALUE 0 sas_ha->drain_mutex.first_waiter 0
PARAM_VALUE 0 sas_ha->drain_mutex.magic 4096-ptr_max
PARAM_VALUE 0 sas_ha->drain_mutex.osq.tail.counter 0
PARAM_VALUE 0 sas_ha->drain_mutex.owner.counter 0
PARAM_VALUE 0 sas_ha->eh_ata_q.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_ata_q.next->next 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_ata_q.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_ata_q.prev->next 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_ata_q.prev->prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_dev_q.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_dev_q.next->next 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_dev_q.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_dev_q.prev->next 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_dev_q.prev->prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_done_q.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_done_q.next->next 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_done_q.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_done_q.prev->next 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_done_q.prev->prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_wait_q.head.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_wait_q.head.next->next 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_wait_q.head.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_wait_q.head.prev->next 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_wait_q.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->event_q 4096-ptr_max
PARAM_VALUE 0 sas_ha->event_thres 1024
PARAM_VALUE 0 sas_ha->hashed_sas_addr 4096-ptr_max
PARAM_VALUE 0 sas_ha->lldd_ha 4096-ptr_max
PARAM_VALUE 0 sas_ha->sas_addr 4096-ptr_max
PARAM_VALUE 0 sas_ha->sas_ha_name 7133499019813437440
PARAM_VALUE 0 sas_ha->sas_phy 1-u64max
PARAM_VALUE 0 sas_ha->sas_port 1-u64max
PARAM_VALUE 0 sas_ha->shost 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->__devices.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->__devices.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->__targets.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->__targets.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->active_mode 1-3
PARAM_VALUE 0 sas_ha->shost->can_queue 0
PARAM_VALUE 0 sas_ha->shost->cmd_per_lun 0
PARAM_VALUE 0 sas_ha->shost->dma_alignment 1-u32max
PARAM_VALUE 0 sas_ha->shost->dma_boundary 1-u64max
PARAM_VALUE 0 sas_ha->shost->dma_channel 255
PARAM_VALUE 0 sas_ha->shost->eh_abort_list.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->eh_abort_list.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->eh_cmd_q.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->eh_cmd_q.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->eh_deadline (-1)-2147483500,s32max
PARAM_VALUE 0 sas_ha->shost->ehandler 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->host_lock 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->host_no 0-s32max
PARAM_VALUE 0 sas_ha->shost->host_wait.head.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->host_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->hostt 1609895003229945856
PARAM_VALUE 0 sas_ha->shost->max_channel 0
PARAM_VALUE 0 sas_ha->shost->max_cmd_len 12
PARAM_VALUE 0 sas_ha->shost->max_host_blocked 1-u32max
PARAM_VALUE 0 sas_ha->shost->max_id 8
PARAM_VALUE 0 sas_ha->shost->max_lun 8
PARAM_VALUE 0 sas_ha->shost->max_sectors 1-u32max
PARAM_VALUE 0 sas_ha->shost->max_segment_size 1-u32max
PARAM_VALUE 0 sas_ha->shost->no_write_same 0
PARAM_VALUE 0 sas_ha->shost->nr_reserved_cmds 0
PARAM_VALUE 0 sas_ha->shost->queuecommand_may_block 0
PARAM_VALUE 0 sas_ha->shost->scan_mutex.first_waiter 0
PARAM_VALUE 0 sas_ha->shost->scan_mutex.magic 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->scan_mutex.osq.tail.counter 0
PARAM_VALUE 0 sas_ha->shost->scan_mutex.owner.counter 0
PARAM_VALUE 0 sas_ha->shost->sg_prot_tablesize 124
PARAM_VALUE 0 sas_ha->shost->sg_tablesize 124
PARAM_VALUE 0 sas_ha->shost->shost_dev.class 942952841909760000
PARAM_VALUE 0 sas_ha->shost->shost_dev.devres_head.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_dev.dma_io_tlb_mem 1473117533515866112
PARAM_VALUE 0 sas_ha->shost->shost_dev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_dev.dma_io_tlb_pools.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_dev.dma_pools.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_dev.dma_pools.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_dev.dma_uses_io_tlb 0
PARAM_VALUE 0 sas_ha->shost->shost_dev.groups 330903603972280320
PARAM_VALUE 0 sas_ha->shost->shost_dev.kobj.kref.refcount.refs.counter 1
PARAM_VALUE 0 sas_ha->shost->shost_dev.kobj.kset 0,4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_dev.kobj.ktype 5399513539053756416
PARAM_VALUE 0 sas_ha->shost->shost_dev.kobj.state_initialized 1
PARAM_VALUE 0 sas_ha->shost->shost_dev.links.consumers.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_dev.links.consumers.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_dev.links.defer_sync.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_dev.links.defer_sync.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_dev.links.status 0
PARAM_VALUE 0 sas_ha->shost->shost_dev.links.suppliers.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_dev.links.suppliers.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_dev.numa_node (-1)
PARAM_VALUE 0 sas_ha->shost->shost_dev.parent 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_dev.power.disable_depth 1
PARAM_VALUE 0 sas_ha->shost->shost_dev.power.early_init 1
PARAM_VALUE 0 sas_ha->shost->shost_dev.power.entry.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_dev.power.entry.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_dev.power.is_prepared 0
PARAM_VALUE 0 sas_ha->shost->shost_dev.power.last_status (-1)
PARAM_VALUE 0 sas_ha->shost->shost_dev.power.qos 0
PARAM_VALUE 0 sas_ha->shost->shost_dev.power.request 0
PARAM_VALUE 0 sas_ha->shost->shost_dev.power.runtime_auto 1
PARAM_VALUE 0 sas_ha->shost->shost_dev.power.runtime_status 2
PARAM_VALUE 0 sas_ha->shost->shost_dev.power.wait_queue.head.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_dev.power.wait_queue.head.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_state 1
PARAM_VALUE 0 sas_ha->shost->starved_list.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->starved_list.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->this_id (-1)
PARAM_VALUE 0 sas_ha->shost->tmf_work_q 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->transportt 5918905452196392960
PARAM_VALUE 0 sas_ha->shost->virt_boundary_mask 0
BUF_SIZE 0 sas_ha->dev 1616
BUF_SIZE 0 sas_ha->sas_addr 8
BUF_SIZE 0 sas_ha->sas_ha_name 15
BUF_SIZE 0 sas_ha->sas_phy 0-u64max
BUF_SIZE 0 sas_ha->sas_port 0-u64max
BUF_SIZE 0 sas_ha->shost 4600-s32max
CAPPED_DATA 0 sas_ha->num_phys 1
STR_LEN 0 sas_ha->sas_ha_name 14
BIT_INFO 0 sas_ha 0x0,0x7fffffffffffffff
BIT_INFO 0 sas_ha 0x0,0x7fffffffffffffff
TERMINATED 0 sas_ha->sas_ha_name 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/scsi/hisi_sas/hisi_sas_v3_hw.c hisi_sas_v3_remove() -> sas_unregister_ha()

Type Parameter Key Value
PARAM_VALUE 0 sas_ha 4096-ptr_max
BUF_SIZE 0 sas_ha s32min-(-2),1-s32max
BUF_SIZE 0 sas_ha s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sas_ha unit_byte

drivers/scsi/mvsas/mv_init.c mvs_pci_init() -> sas_unregister_ha()

Type Parameter Key Value
PARAM_VALUE 0 sas_ha 4096-ptr_max
PARAM_VALUE 0 sas_ha->defer_q.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->defer_q.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->disco_mutex.magic 4096-ptr_max
PARAM_VALUE 0 sas_ha->disco_q 4096-ptr_max
PARAM_VALUE 0 sas_ha->drain_mutex.first_waiter 0
PARAM_VALUE 0 sas_ha->drain_mutex.magic 4096-ptr_max
PARAM_VALUE 0 sas_ha->drain_mutex.osq.tail.counter 0
PARAM_VALUE 0 sas_ha->drain_mutex.owner.counter 0
PARAM_VALUE 0 sas_ha->eh_ata_q.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_ata_q.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_dev_q.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_dev_q.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_done_q.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_done_q.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_wait_q.head.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->eh_wait_q.head.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->event_q 4096-ptr_max
PARAM_VALUE 0 sas_ha->event_thres 1024
PARAM_VALUE 0 sas_ha->sas_addr 4096-ptr_max
DATA_SOURCE 0 sas_ha r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/scsi/mvsas/mv_init.c mvs_pci_remove() -> sas_unregister_ha()

Type Parameter Key Value
PARAM_VALUE 0 sas_ha 4096-ptr_max
PARAM_VALUE 0 sas_ha->lldd_ha 4096-ptr_max
BUF_SIZE 0 sas_ha s32min-(-2),1-s32max
BUF_SIZE 0 sas_ha s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sas_ha unit_byte

drivers/scsi/aic94xx/aic94xx_init.c asd_unregister_sas_ha() -> sas_unregister_ha()

Type Parameter Key Value
PARAM_VALUE 0 sas_ha 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex