Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/scsi/pm8001/pm8001_hwi.c mpi_sata_completion() -> pm8001_ccb_task_free_done()

Type Parameter Key Value
PARAM_VALUE 0 pm8001_ha 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->ccb_info 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip->dispatch 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->outbnd_q_tbl 4096-ptr_max
PARAM_VALUE 1 ccb 4096-ptr_max
PARAM_VALUE 1 ccb->task 4096-ptr_max
PARAM_VALUE 1 ccb->task->dev 4096-ptr_max
PARAM_VALUE 1 ccb->task->uldd_task 0
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
DATA_SOURCE 0 pm8001_ha $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &pm8001_ha->lock
TYPE_LOCK (struct pm8001_hba_info)->lock

drivers/scsi/pm8001/pm8001_hwi.c mpi_sata_completion() -> pm8001_ccb_task_free_done()

Type Parameter Key Value
PARAM_VALUE 0 pm8001_ha 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->ccb_info 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip->dispatch 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->outbnd_q_tbl 4096-ptr_max
PARAM_VALUE 1 ccb 4096-ptr_max
PARAM_VALUE 1 ccb->task 4096-ptr_max
PARAM_VALUE 1 ccb->task->dev 4096-ptr_max
PARAM_VALUE 1 ccb->task->uldd_task 0
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
DATA_SOURCE 0 pm8001_ha $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &pm8001_ha->lock
TYPE_LOCK (struct pm8001_hba_info)->lock

drivers/scsi/pm8001/pm8001_hwi.c mpi_sata_completion() -> pm8001_ccb_task_free_done()

Type Parameter Key Value
PARAM_VALUE 0 pm8001_ha 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->ccb_info 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip->dispatch 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->outbnd_q_tbl 4096-ptr_max
PARAM_VALUE 1 ccb 4096-ptr_max
PARAM_VALUE 1 ccb->task 4096-ptr_max
PARAM_VALUE 1 ccb->task->dev 4096-ptr_max
PARAM_VALUE 1 ccb->task->uldd_task 0
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
DATA_SOURCE 0 pm8001_ha $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &pm8001_ha->lock
TYPE_LOCK (struct pm8001_hba_info)->lock

drivers/scsi/pm8001/pm8001_hwi.c mpi_sata_completion() -> pm8001_ccb_task_free_done()

Type Parameter Key Value
PARAM_VALUE 0 pm8001_ha 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->ccb_info 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip->dispatch 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->outbnd_q_tbl 4096-ptr_max
PARAM_VALUE 1 ccb 4096-ptr_max
PARAM_VALUE 1 ccb->task 4096-ptr_max
PARAM_VALUE 1 ccb->task->dev 4096-ptr_max
PARAM_VALUE 1 ccb->task->uldd_task 0
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
DATA_SOURCE 0 pm8001_ha $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &pm8001_ha->lock
TYPE_LOCK (struct pm8001_hba_info)->lock

drivers/scsi/pm8001/pm8001_hwi.c mpi_sata_completion() -> pm8001_ccb_task_free_done()

Type Parameter Key Value
PARAM_VALUE 0 pm8001_ha 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->ccb_info 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip->dispatch 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->outbnd_q_tbl 4096-ptr_max
PARAM_VALUE 1 ccb 4096-ptr_max
PARAM_VALUE 1 ccb->task 4096-ptr_max
PARAM_VALUE 1 ccb->task->dev 4096-ptr_max
PARAM_VALUE 1 ccb->task->uldd_task 0
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
DATA_SOURCE 0 pm8001_ha $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &pm8001_ha->lock
TYPE_LOCK (struct pm8001_hba_info)->lock

drivers/scsi/pm8001/pm8001_hwi.c mpi_sata_completion() -> pm8001_ccb_task_free_done()

Type Parameter Key Value
PARAM_VALUE 0 pm8001_ha 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->ccb_info 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip->dispatch 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->outbnd_q_tbl 4096-ptr_max
PARAM_VALUE 1 ccb 4096-ptr_max
PARAM_VALUE 1 ccb->task 4096-ptr_max
PARAM_VALUE 1 ccb->task->dev 0,4096-ptr_max
PARAM_VALUE 1 ccb->task->task_state_flags 0,2-u32max
PARAM_VALUE 1 ccb->task->task_state_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
DATA_SOURCE 0 pm8001_ha $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &pm8001_ha->lock
TYPE_LOCK (struct pm8001_hba_info)->lock

drivers/scsi/pm8001/pm8001_hwi.c mpi_smp_completion() -> pm8001_ccb_task_free_done()

Type Parameter Key Value
PARAM_VALUE 0 pm8001_ha 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->ccb_info 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip->dispatch 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->outbnd_q_tbl 4096-ptr_max
PARAM_VALUE 1 ccb 4096-ptr_max
PARAM_VALUE 1 ccb->task 4096-ptr_max
PARAM_VALUE 1 ccb->task->dev 1-u64max
PARAM_VALUE 1 ccb->task->lldd_task 1-u64max
PARAM_VALUE 1 ccb->task->task_state_flags 0,2-u32max
PARAM_VALUE 1 ccb->task->task_state_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
DATA_SOURCE 0 pm8001_ha $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &pm8001_ha->lock
TYPE_LOCK (struct pm8001_hba_info)->lock

drivers/scsi/pm8001/pm80xx_hwi.c mpi_sata_completion() -> pm8001_ccb_task_free_done()

Type Parameter Key Value
PARAM_VALUE 0 pm8001_ha 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->ccb_info 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip->dispatch 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->outbnd_q_tbl 4096-ptr_max
PARAM_VALUE 1 ccb 4096-ptr_max
PARAM_VALUE 1 ccb->task 4096-ptr_max
PARAM_VALUE 1 ccb->task->dev 4096-ptr_max
PARAM_VALUE 1 ccb->task->uldd_task 0
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
DATA_SOURCE 0 pm8001_ha $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/scsi/pm8001/pm80xx_hwi.c mpi_sata_completion() -> pm8001_ccb_task_free_done()

Type Parameter Key Value
PARAM_VALUE 0 pm8001_ha 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->ccb_info 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip->dispatch 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->outbnd_q_tbl 4096-ptr_max
PARAM_VALUE 1 ccb 4096-ptr_max
PARAM_VALUE 1 ccb->task 4096-ptr_max
PARAM_VALUE 1 ccb->task->dev 4096-ptr_max
PARAM_VALUE 1 ccb->task->uldd_task 0
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
DATA_SOURCE 0 pm8001_ha $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/scsi/pm8001/pm80xx_hwi.c mpi_sata_completion() -> pm8001_ccb_task_free_done()

Type Parameter Key Value
PARAM_VALUE 0 pm8001_ha 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->ccb_info 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip->dispatch 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->outbnd_q_tbl 4096-ptr_max
PARAM_VALUE 1 ccb 4096-ptr_max
PARAM_VALUE 1 ccb->task 4096-ptr_max
PARAM_VALUE 1 ccb->task->dev 4096-ptr_max
PARAM_VALUE 1 ccb->task->uldd_task 0
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
DATA_SOURCE 0 pm8001_ha $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/scsi/pm8001/pm80xx_hwi.c mpi_sata_completion() -> pm8001_ccb_task_free_done()

Type Parameter Key Value
PARAM_VALUE 0 pm8001_ha 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->ccb_info 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip->dispatch 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->outbnd_q_tbl 4096-ptr_max
PARAM_VALUE 1 ccb 4096-ptr_max
PARAM_VALUE 1 ccb->task 4096-ptr_max
PARAM_VALUE 1 ccb->task->dev 4096-ptr_max
PARAM_VALUE 1 ccb->task->uldd_task 0
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
DATA_SOURCE 0 pm8001_ha $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/scsi/pm8001/pm80xx_hwi.c mpi_sata_completion() -> pm8001_ccb_task_free_done()

Type Parameter Key Value
PARAM_VALUE 0 pm8001_ha 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->ccb_info 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip->dispatch 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->outbnd_q_tbl 4096-ptr_max
PARAM_VALUE 1 ccb 4096-ptr_max
PARAM_VALUE 1 ccb->task 4096-ptr_max
PARAM_VALUE 1 ccb->task->dev 4096-ptr_max
PARAM_VALUE 1 ccb->task->uldd_task 0
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
DATA_SOURCE 0 pm8001_ha $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/scsi/pm8001/pm80xx_hwi.c mpi_sata_completion() -> pm8001_ccb_task_free_done()

Type Parameter Key Value
PARAM_VALUE 0 pm8001_ha 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->ccb_info 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip->dispatch 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->outbnd_q_tbl 4096-ptr_max
PARAM_VALUE 1 ccb 4096-ptr_max
PARAM_VALUE 1 ccb->task 4096-ptr_max
PARAM_VALUE 1 ccb->task->dev 0,4096-ptr_max
PARAM_VALUE 1 ccb->task->task_state_flags 0,2-u32max
PARAM_VALUE 1 ccb->task->task_state_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
DATA_SOURCE 0 pm8001_ha $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/scsi/pm8001/pm80xx_hwi.c mpi_ssp_completion() -> pm8001_ccb_task_free_done()

Type Parameter Key Value
PARAM_VALUE 0 pm8001_ha 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->ccb_info 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip->dispatch 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->outbnd_q_tbl 4096-ptr_max
PARAM_VALUE 1 ccb 4096-ptr_max
PARAM_VALUE 1 ccb->task 4096-ptr_max
PARAM_VALUE 1 ccb->task->dev 1-u64max
PARAM_VALUE 1 ccb->task->lldd_task 1-u64max
PARAM_VALUE 1 ccb->task->task_state_flags 0,2-u32max
PARAM_VALUE 1 ccb->task->task_state_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
DATA_SOURCE 0 pm8001_ha $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &circularQ->oq_lock
LOCK2 circularQ->lock_flags
TYPE_LOCK (struct outbound_queue_table)->oq_lock

drivers/scsi/pm8001/pm80xx_hwi.c mpi_ssp_event() -> pm8001_ccb_task_free_done()

Type Parameter Key Value
PARAM_VALUE 0 pm8001_ha 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->ccb_info 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->chip->dispatch 4096-ptr_max
PARAM_VALUE 0 pm8001_ha->outbnd_q_tbl 4096-ptr_max
PARAM_VALUE 1 ccb 4096-ptr_max
PARAM_VALUE 1 ccb->task 4096-ptr_max
PARAM_VALUE 1 ccb->task->dev 1-u64max
PARAM_VALUE 1 ccb->task->lldd_task 1-u64max
PARAM_VALUE 1 ccb->task->task_state_flags 0,2-u32max
PARAM_VALUE 1 ccb->task->task_state_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
BUF_SIZE 0 pm8001_ha (-1),64,19840,57064,65584
DATA_SOURCE 0 pm8001_ha $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &circularQ->oq_lock
LOCK2 circularQ->lock_flags
TYPE_LOCK (struct outbound_queue_table)->oq_lock