Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_I_T_nexus_reset() -> hisi_sas_release_task()

Type Parameter Key Value
PARAM_VALUE 0 hisi_hba 4096-ptr_max
PARAM_VALUE 0 hisi_hba->hw 4096-ptr_max
PARAM_VALUE 0 hisi_hba->hw->dereg_device 0,4096-ptr_max
PARAM_VALUE 1 device 4096-ptr_max
PARAM_VALUE 1 device->lldd_dev 4096-ptr_max
PARAM_VALUE 1 device->phy 4096-ptr_max
PARAM_VALUE 1 device->phy->dev.kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 1 device->phy->dev.kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 1 device->port 4096-ptr_max
PARAM_VALUE 1 device->port->ha 4096-ptr_max
PARAM_VALUE 1 device->port->ha->phy_port_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 device->sata_dev.ap->link.ap->link.device->link->active_tag 0-4294967295
PARAM_VALUE 1 device->sata_dev.ap->link.ap->link.device->link->sactive 0-4294967295
BUF_SIZE 0 hisi_hba 64,19840,57064,65584
BUF_SIZE 0 hisi_hba 64,19840,57064,65584
BUF_SIZE 1 device (-1),1,8,16,20,24,32,40,48,56,64,72,112,208,552,576,2080,2576,8064
BUF_SIZE 1 device (-1),1,8,16,20,24,32,40,48,56,64,72,112,208,552,576,2080,2576,8064
DATA_SOURCE 1 device $0
PARAM_COMPARE 0 hisi_hba == $1->port->ha->lldd_ha
PARAM_COMPARE 1 device->port->ha->lldd_ha == $0
NOCHECK_CALL

drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_abort_task_set() -> hisi_sas_release_task()

Type Parameter Key Value
PARAM_VALUE 0 hisi_hba 4096-ptr_max
PARAM_VALUE 0 hisi_hba->hw 4096-ptr_max
PARAM_VALUE 0 hisi_hba->hw->dereg_device 0,4096-ptr_max
PARAM_VALUE 1 device 4096-ptr_max
PARAM_VALUE 1 device->lldd_dev 4096-ptr_max
PARAM_VALUE 1 device->lldd_dev->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 device->port 4096-ptr_max
PARAM_VALUE 1 device->port->ha 4096-ptr_max
PARAM_VALUE 1 device->port->ha->shost 4096-ptr_max
PARAM_VALUE 1 device->sas_addr 4096-ptr_max
PARAM_VALUE 1 device->tproto 8-u32max
BUF_SIZE 0 hisi_hba 64,19840,57064,65584
BUF_SIZE 0 hisi_hba 64,19840,57064,65584
DATA_SOURCE 1 device $0
PARAM_COMPARE 0 hisi_hba == $1->port->ha->lldd_ha
PARAM_COMPARE 1 device->port->ha->lldd_ha == $0
NOCHECK_CALL

drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_init_device() -> hisi_sas_release_task()

Type Parameter Key Value
PARAM_VALUE 1 device 4096-ptr_max
PARAM_VALUE 1 device->dev_type 1
PARAM_VALUE 1 device->port 4096-ptr_max
PARAM_VALUE 1 device->port->ha 4096-ptr_max
PARAM_VALUE 1 device->tproto 8-u32max
BUF_SIZE 0 hisi_hba 64,19840,57064,65584
BUF_SIZE 0 hisi_hba 64,19840,57064,65584
BUF_SIZE 1 device (-1),16,24,48,56,64
BUF_SIZE 1 device (-1),16,24,48,56,64
DATA_SOURCE 1 device $0
PARAM_COMPARE 0 hisi_hba == $1->port->ha->lldd_ha
PARAM_COMPARE 1 device->port->ha->lldd_ha == $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &shost->scan_mutex

drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_lu_reset() -> hisi_sas_release_task()

Type Parameter Key Value
PARAM_VALUE 0 hisi_hba 4096-ptr_max
PARAM_VALUE 0 hisi_hba->hw 4096-ptr_max
PARAM_VALUE 0 hisi_hba->hw->dereg_device 0,4096-ptr_max
PARAM_VALUE 1 device 4096-ptr_max
PARAM_VALUE 1 device->dev_type 5,7-9
PARAM_VALUE 1 device->lldd_dev 4096-ptr_max
PARAM_VALUE 1 device->lldd_dev->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 device->phy 1-u64max
PARAM_VALUE 1 device->phy->enabled s32min-(-1),1-s32max
PARAM_VALUE 1 device->port 4096-ptr_max
PARAM_VALUE 1 device->port->ha 4096-ptr_max
PARAM_VALUE 1 device->port->ha->phy_port_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 hisi_hba 64,19840,57064,65584
BUF_SIZE 0 hisi_hba 64,19840,57064,65584
BUF_SIZE 1 device (-1),16,24,48,56,64
BUF_SIZE 1 device (-1),16,24,48,56,64
DATA_SOURCE 1 device $0
PARAM_COMPARE 0 hisi_hba == $1->port->ha->lldd_ha
PARAM_COMPARE 1 device->port->ha->lldd_ha == $0
NOCHECK_CALL

drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_lu_reset() -> hisi_sas_release_task()

Type Parameter Key Value
PARAM_VALUE 0 hisi_hba 4096-ptr_max
PARAM_VALUE 0 hisi_hba->hw 4096-ptr_max
PARAM_VALUE 0 hisi_hba->hw->dereg_device 0,4096-ptr_max
PARAM_VALUE 1 device 4096-ptr_max
PARAM_VALUE 1 device->dev_type 0-4,6,10-u32max
PARAM_VALUE 1 device->lldd_dev 4096-ptr_max
PARAM_VALUE 1 device->lldd_dev->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 device->port 4096-ptr_max
PARAM_VALUE 1 device->port->ha 4096-ptr_max
PARAM_VALUE 1 device->tproto 8-u32max
BUF_SIZE 0 hisi_hba 64,19840,57064,65584
BUF_SIZE 0 hisi_hba 64,19840,57064,65584
BUF_SIZE 1 device (-1),16,24,48,56,64
BUF_SIZE 1 device (-1),16,24,48,56,64
DATA_SOURCE 1 device $0
PARAM_COMPARE 0 hisi_hba == $1->port->ha->lldd_ha
PARAM_COMPARE 1 device->port->ha->lldd_ha == $0
NOCHECK_CALL

drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_release_tasks() -> hisi_sas_release_task()

Type Parameter Key Value
PARAM_VALUE 0 hisi_hba 4096-ptr_max
PARAM_VALUE 0 hisi_hba->devices 4096-ptr_max
PARAM_VALUE 1 device 1-u64max
BUF_SIZE 0 hisi_hba 64,19840,57064,65584
BUF_SIZE 0 hisi_hba 64,19840,57064,65584
DATA_SOURCE 0 hisi_hba $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_softreset_ata_disk() -> hisi_sas_release_task()

Type Parameter Key Value
PARAM_VALUE 0 hisi_hba 4096-ptr_max
PARAM_VALUE 1 device 4096-ptr_max
PARAM_VALUE 1 device->port 4096-ptr_max
PARAM_VALUE 1 device->port->ha 4096-ptr_max
PARAM_VALUE 1 device->port->ha->shost 4096-ptr_max
BUF_SIZE 0 hisi_hba 64,19840,57064,65584
BUF_SIZE 0 hisi_hba 64,19840,57064,65584
BUF_SIZE 1 device (-1),1,8,16,20,24,32,40,48,56,64,72,112,208,552,576,2080,2576,8064
BUF_SIZE 1 device (-1),1,8,16,20,24,32,40,48,56,64,72,112,208,552,576,2080,2576,8064
DATA_SOURCE 1 device $0
PARAM_COMPARE 0 hisi_hba == $1->port->ha->lldd_ha
PARAM_COMPARE 1 device->port->ha->lldd_ha == $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL