Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/3w-9xxx.c twa_aen_complete() -> twa_free_request_id()

Type Parameter Key Value
PARAM_VALUE 0 tw_dev 4096-ptr_max
PARAM_VALUE 0 tw_dev->state 4096-ptr_max
PARAM_VALUE 1 request_id 0-255
CAPPED_DATA 0 tw_dev->max_pending_request_count 1
CAPPED_DATA 1 request_id 1
DATA_SOURCE 0 tw_dev $0
DATA_SOURCE 1 request_id $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 tw_dev->host->host_lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq

drivers/scsi/3w-9xxx.c twa_chrdev_ioctl() -> twa_free_request_id()

Type Parameter Key Value
PARAM_VALUE 0 tw_dev 4096-ptr_max
PARAM_VALUE 0 tw_dev->state 4096-ptr_max
PARAM_VALUE 1 request_id 0-255
CAPPED_DATA 0 &tw_dev->ioctl_lock 1
CAPPED_DATA 0 &tw_dev->tw_pci_dev->dev 1
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 flags
LOCK2 global &twa_chrdev_mutex
LOCK2 0 tw_dev->host->host_lock
LOCK2 0 &tw_dev->ioctl_lock
TYPE_LOCK (struct TAG_TW_Device_Extension)->ioctl_lock

drivers/scsi/3w-9xxx.c twa_interrupt() -> twa_free_request_id()

Type Parameter Key Value
PARAM_VALUE 0 tw_dev 4096-ptr_max
PARAM_VALUE 0 tw_dev->state 4096-ptr_max
PARAM_VALUE 1 request_id 0-255
CAPPED_DATA 0 tw_dev->max_pending_request_count 1
CAPPED_DATA 0 tw_dev->tw_pci_dev->dev.cma_area->nranges 1
DATA_SOURCE 0 tw_dev $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 tw_dev->host->host_lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/scsi/3w-9xxx.c twa_interrupt() -> twa_free_request_id()

Type Parameter Key Value
PARAM_VALUE 0 tw_dev 4096-ptr_max
PARAM_VALUE 0 tw_dev->state 4096-ptr_max
PARAM_VALUE 1 request_id 0-255
CAPPED_DATA 1 request_id 1
DATA_SOURCE 0 tw_dev $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 tw_dev->host->host_lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/scsi/3w-9xxx.c twa_scsi_queue_lck() -> twa_free_request_id()

Type Parameter Key Value
PARAM_VALUE 0 tw_dev 4096-ptr_max
PARAM_VALUE 1 request_id 0-255
CAPPED_DATA 0 tw_dev->max_pending_request_count 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq_flags
LOCK2 shost->host_lock
HALF_LOCKED2 &sdev->state_mutex

drivers/scsi/3w-9xxx.c twa_scsi_queue_lck() -> twa_free_request_id()

Type Parameter Key Value
PARAM_VALUE 0 tw_dev 4096-ptr_max
PARAM_VALUE 0 tw_dev->state 4096-ptr_max
PARAM_VALUE 1 request_id 0-255
CAPPED_DATA 0 tw_dev->max_pending_request_count 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq_flags
LOCK2 shost->host_lock
HALF_LOCKED2 &sdev->state_mutex