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_probe() -> sas_register_ha()

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

drivers/scsi/isci/init.c isci_register_sas_ha() -> sas_register_ha()

Type Parameter Key Value
PARAM_VALUE 0 sas_ha 4096-ptr_max
PARAM_VALUE 0 sas_ha->dev 4096-ptr_max
PARAM_VALUE 0 sas_ha->lldd_ha 4096-ptr_max
PARAM_VALUE 0 sas_ha->num_phys 4
PARAM_VALUE 0 sas_ha->sas_addr 4096-ptr_max
PARAM_VALUE 0 sas_ha->sas_ha_name 7543593966585790464
PARAM_VALUE 0 sas_ha->sas_phy 4096-ptr_max
PARAM_VALUE 0 sas_ha->sas_port 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost 4096-ptr_max
PARAM_VALUE 0 sas_ha->strict_wide_ports 1
BUF_SIZE 0 sas_ha 712
BUF_SIZE 0 sas_ha->sas_addr 8
BUF_SIZE 0 sas_ha->sas_ha_name 5
BUF_SIZE 0 sas_ha->sas_phy 32
BUF_SIZE 0 sas_ha->sas_port 32
STR_LEN 0 sas_ha->sas_ha_name 4
TERMINATED 0 sas_ha->sas_ha_name 1
MEM_ZERO 0 sas_ha
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 &pool->lock

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

Type Parameter Key Value
PARAM_VALUE 0 sas_ha 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
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

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

Type Parameter Key Value
PARAM_VALUE 0 sas_ha 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->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_gendev.bus 3137178616257380352
PARAM_VALUE 0 sas_ha->shost->shost_gendev.devres_head.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_gendev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_gendev.dma_io_tlb_mem 1473117533515866112
PARAM_VALUE 0 sas_ha->shost->shost_gendev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_gendev.dma_io_tlb_pools.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_gendev.dma_pools.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_gendev.dma_pools.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_gendev.kobj.kref.refcount.refs.counter 1
PARAM_VALUE 0 sas_ha->shost->shost_gendev.kobj.kset 0,4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_gendev.kobj.ktype 5399513539053756416
PARAM_VALUE 0 sas_ha->shost->shost_gendev.kobj.state_initialized 1
PARAM_VALUE 0 sas_ha->shost->shost_gendev.links.consumers.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_gendev.links.consumers.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_gendev.links.defer_sync.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_gendev.links.defer_sync.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_gendev.links.status 0
PARAM_VALUE 0 sas_ha->shost->shost_gendev.links.suppliers.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_gendev.links.suppliers.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_gendev.numa_node (-1)
PARAM_VALUE 0 sas_ha->shost->shost_gendev.power.disable_depth 1
PARAM_VALUE 0 sas_ha->shost->shost_gendev.power.early_init 1
PARAM_VALUE 0 sas_ha->shost->shost_gendev.power.entry.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_gendev.power.entry.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_gendev.power.last_status (-1)
PARAM_VALUE 0 sas_ha->shost->shost_gendev.power.qos 0
PARAM_VALUE 0 sas_ha->shost->shost_gendev.power.request 0
PARAM_VALUE 0 sas_ha->shost->shost_gendev.power.runtime_auto 1
PARAM_VALUE 0 sas_ha->shost->shost_gendev.power.runtime_status 2
PARAM_VALUE 0 sas_ha->shost->shost_gendev.power.wait_queue.head.next 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_gendev.power.wait_queue.head.prev 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost->shost_gendev.type 4452975310479048704
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
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

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

Type Parameter Key Value
PARAM_VALUE 0 sas_ha 4096-ptr_max
DATA_SOURCE 0 sas_ha r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING

drivers/scsi/aic94xx/aic94xx_init.c asd_register_sas_ha() -> sas_register_ha()

Type Parameter Key Value
PARAM_VALUE 0 sas_ha 4096-ptr_max
PARAM_VALUE 0 sas_ha->dev 4096-ptr_max
PARAM_VALUE 0 sas_ha->lldd_ha 4096-ptr_max
PARAM_VALUE 0 sas_ha->num_phys 8
PARAM_VALUE 0 sas_ha->sas_addr 4096-ptr_max
PARAM_VALUE 0 sas_ha->sas_ha_name 1011600544681631744,7114899710048403456,8820875539594825728
PARAM_VALUE 0 sas_ha->sas_phy 4096-ptr_max
PARAM_VALUE 0 sas_ha->sas_port 4096-ptr_max
PARAM_VALUE 0 sas_ha->shost 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING