Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/scsi/sym53c8xx_2/sym_glue.c sym2_io_slot_reset() -> sym_reset_scsi_bus()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 1 enab_int 0
DATA_SOURCE 0 np r sym_get_hcb
BIT_INFO 0 np->features 0x0,0xffffffff
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pdev->dev.mutex

drivers/scsi/sym53c8xx_2/sym_glue.c sym53c8xx_eh_bus_reset_handler() -> sym_reset_scsi_bus()

Type Parameter Key Value
PARAM_VALUE 1 enab_int 1
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 irq
LOCK2 shost->host_lock

drivers/scsi/sym53c8xx_2/sym_glue.c sym53c8xx_eh_host_reset_handler() -> sym_reset_scsi_bus()

Type Parameter Key Value
PARAM_VALUE 1 enab_int 0
NOCHECK_CALL

drivers/scsi/sym53c8xx_2/sym_glue.c sym53c8xx_sdev_destroy() -> sym_reset_scsi_bus()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->s.host 4096-ptr_max
PARAM_VALUE 0 np->target 4096-ptr_max
PARAM_VALUE 1 enab_int 1
DATA_SOURCE 0 np r sym_get_hcb
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &shost->scan_mutex
LOCK2 flags
LOCK2 0 np->s.host->host_lock
TYPE_LOCK (struct Scsi_Host)->scan_mutex

drivers/scsi/sym53c8xx_2/sym_glue.c sym_attach() -> sym_reset_scsi_bus()

Type Parameter Key Value
PARAM_VALUE 0 np->bus_dmat 4096-ptr_max
PARAM_VALUE 0 np->clock_divn 0
PARAM_VALUE 0 np->features 0,384
PARAM_VALUE 0 np->maxburst 0
PARAM_VALUE 0 np->maxoffs 0
PARAM_VALUE 0 np->mmio_ba 0
PARAM_VALUE 0 np->myaddr 0
PARAM_VALUE 0 np->ram_ba 0
PARAM_VALUE 0 np->s.host 4096-ptr_max
PARAM_VALUE 0 np->s.host->__devices.next 4096-ptr_max
PARAM_VALUE 0 np->s.host->__devices.prev 4096-ptr_max
PARAM_VALUE 0 np->s.host->__targets.next 4096-ptr_max
PARAM_VALUE 0 np->s.host->__targets.prev 4096-ptr_max
PARAM_VALUE 0 np->s.host->active_mode 1-3
PARAM_VALUE 0 np->s.host->can_queue 0
PARAM_VALUE 0 np->s.host->cmd_per_lun 0
PARAM_VALUE 0 np->s.host->dma_alignment 1-u32max
PARAM_VALUE 0 np->s.host->dma_boundary 1-u64max
PARAM_VALUE 0 np->s.host->dma_channel 255
PARAM_VALUE 0 np->s.host->eh_abort_list.next 4096-ptr_max
PARAM_VALUE 0 np->s.host->eh_abort_list.prev 4096-ptr_max
PARAM_VALUE 0 np->s.host->eh_cmd_q.next 4096-ptr_max
PARAM_VALUE 0 np->s.host->eh_cmd_q.prev 4096-ptr_max
PARAM_VALUE 0 np->s.host->eh_deadline (-1)-2147483500,s32max
PARAM_VALUE 0 np->s.host->ehandler 4096-ptr_max
PARAM_VALUE 0 np->s.host->host_lock 4096-ptr_max
PARAM_VALUE 0 np->s.host->host_no 0-s32max
PARAM_VALUE 0 np->s.host->host_tagset 0
PARAM_VALUE 0 np->s.host->host_wait.head.next 4096-ptr_max
PARAM_VALUE 0 np->s.host->host_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 np->s.host->hostt 4900769117341065216
PARAM_VALUE 0 np->s.host->max_channel 0
PARAM_VALUE 0 np->s.host->max_cmd_len 12
PARAM_VALUE 0 np->s.host->max_host_blocked 1-u32max
PARAM_VALUE 0 np->s.host->max_id 8
PARAM_VALUE 0 np->s.host->max_lun 8
PARAM_VALUE 0 np->s.host->max_sectors 1-u32max
PARAM_VALUE 0 np->s.host->max_segment_size 1-u32max
PARAM_VALUE 0 np->s.host->no_write_same 0
PARAM_VALUE 0 np->s.host->nr_reserved_cmds 0
PARAM_VALUE 0 np->s.host->queuecommand_may_block 0
PARAM_VALUE 0 np->s.host->scan_mutex.first_waiter 0
PARAM_VALUE 0 np->s.host->scan_mutex.magic 4096-ptr_max
PARAM_VALUE 0 np->s.host->scan_mutex.osq.tail.counter 0
PARAM_VALUE 0 np->s.host->scan_mutex.owner.counter 0
PARAM_VALUE 0 np->s.host->sg_prot_tablesize 0
PARAM_VALUE 0 np->s.host->sg_tablesize 0
PARAM_VALUE 0 np->s.host->shost_dev.class 942952841909760000
PARAM_VALUE 0 np->s.host->shost_dev.devres_head.next 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_dev.dma_io_tlb_mem 1473117533515866112
PARAM_VALUE 0 np->s.host->shost_dev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_dev.dma_io_tlb_pools.prev 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_dev.dma_pools.next 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_dev.dma_pools.prev 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_dev.dma_uses_io_tlb 0
PARAM_VALUE 0 np->s.host->shost_dev.groups 0
PARAM_VALUE 0 np->s.host->shost_dev.kobj.kref.refcount.refs.counter 1
PARAM_VALUE 0 np->s.host->shost_dev.kobj.kset 0,4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_dev.kobj.ktype 5399513539053756416
PARAM_VALUE 0 np->s.host->shost_dev.kobj.state_initialized 1
PARAM_VALUE 0 np->s.host->shost_dev.links.consumers.next 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_dev.links.consumers.prev 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_dev.links.defer_sync.next 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_dev.links.defer_sync.prev 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_dev.links.status 0
PARAM_VALUE 0 np->s.host->shost_dev.links.suppliers.next 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_dev.links.suppliers.prev 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_dev.numa_node (-1)
PARAM_VALUE 0 np->s.host->shost_dev.parent 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_dev.power.disable_depth 1
PARAM_VALUE 0 np->s.host->shost_dev.power.early_init 1
PARAM_VALUE 0 np->s.host->shost_dev.power.entry.next 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_dev.power.entry.prev 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_dev.power.is_prepared 0
PARAM_VALUE 0 np->s.host->shost_dev.power.last_status (-1)
PARAM_VALUE 0 np->s.host->shost_dev.power.qos 0
PARAM_VALUE 0 np->s.host->shost_dev.power.request 0
PARAM_VALUE 0 np->s.host->shost_dev.power.runtime_auto 1
PARAM_VALUE 0 np->s.host->shost_dev.power.runtime_status 2
PARAM_VALUE 0 np->s.host->shost_dev.power.wait_queue.head.next 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_dev.power.wait_queue.head.prev 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_gendev.bus 3137178616257380352
PARAM_VALUE 0 np->s.host->shost_gendev.devres_head.next 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_gendev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_gendev.dma_io_tlb_mem 1473117533515866112
PARAM_VALUE 0 np->s.host->shost_gendev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_gendev.dma_io_tlb_pools.prev 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_gendev.dma_pools.next 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_gendev.dma_pools.prev 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_gendev.kobj.kref.refcount.refs.counter 1
PARAM_VALUE 0 np->s.host->shost_gendev.kobj.kset 0,4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_gendev.kobj.ktype 5399513539053756416
PARAM_VALUE 0 np->s.host->shost_gendev.kobj.state_initialized 1
PARAM_VALUE 0 np->s.host->shost_gendev.links.consumers.next 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_gendev.links.consumers.prev 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_gendev.links.defer_sync.next 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_gendev.links.defer_sync.prev 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_gendev.links.status 0
PARAM_VALUE 0 np->s.host->shost_gendev.links.suppliers.next 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_gendev.links.suppliers.prev 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_gendev.numa_node (-1)
PARAM_VALUE 0 np->s.host->shost_gendev.power.disable_depth 1
PARAM_VALUE 0 np->s.host->shost_gendev.power.early_init 1
PARAM_VALUE 0 np->s.host->shost_gendev.power.entry.next 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_gendev.power.entry.prev 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_gendev.power.last_status (-1)
PARAM_VALUE 0 np->s.host->shost_gendev.power.qos 0
PARAM_VALUE 0 np->s.host->shost_gendev.power.request 0
PARAM_VALUE 0 np->s.host->shost_gendev.power.runtime_auto 1
PARAM_VALUE 0 np->s.host->shost_gendev.power.runtime_status 2
PARAM_VALUE 0 np->s.host->shost_gendev.power.wait_queue.head.next 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_gendev.power.wait_queue.head.prev 4096-ptr_max
PARAM_VALUE 0 np->s.host->shost_gendev.type 4452975310479048704
PARAM_VALUE 0 np->s.host->shost_state 1
PARAM_VALUE 0 np->s.host->starved_list.next 4096-ptr_max
PARAM_VALUE 0 np->s.host->starved_list.prev 4096-ptr_max
PARAM_VALUE 0 np->s.host->this_id 7
PARAM_VALUE 0 np->s.host->tmf_work_q 4096-ptr_max
PARAM_VALUE 0 np->s.host->transportt 5918905452196392960
PARAM_VALUE 0 np->s.host->virt_boundary_mask 0
PARAM_VALUE 0 np->s.ioaddr 4096-ptr_max
PARAM_VALUE 0 np->s.ramaddr 0
PARAM_VALUE 1 enab_int 0
BUF_SIZE 0 np->bus_dmat 1616
BUF_SIZE 0 np->s.host 4600-s32max
CAPPED_DATA 0 np->bus_dmat 1
DATA_SOURCE 0 np r __sym_calloc_dma
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 np->myaddr 0
LOCK2 flags
LOCK2 shost->host_lock

drivers/scsi/sym53c8xx_2/sym_hipd.c sym_abort_ccb() -> sym_reset_scsi_bus()

Type Parameter Key Value
PARAM_VALUE 1 enab_int 1
DATA_SOURCE 0 np $0
PREEMPT_ADD
NOCHECK_CALL
LOCK2 irq
LOCK2 shost->host_lock
HALF_LOCKED2 &pool->lock

drivers/scsi/sym53c8xx_2/sym_hipd.c sym_start_reset() -> sym_reset_scsi_bus()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->s.ioaddr 4096-ptr_max
PARAM_VALUE 1 enab_int 1
DATA_SOURCE 0 np $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 shost->host_lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags