Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/3w-xxxx.c tw_chrdev_ioctl() -> tw_post_command_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tw_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->chrdev_request_id | 0-255 |
| PARAM_VALUE | 0 | tw_dev->command_packet_virtual_address | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->host | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->ioctl_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tw_dev->ioctl_lock.first_waiter | 0,4096-5159360019465732095,5159360019465732097-ptr_max |
| PARAM_VALUE | 0 | tw_dev->ioctl_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tw_dev->ioctl_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | tw_dev->ioctl_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tw_dev->ioctl_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | tw_dev->ioctl_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | tw_dev->srb | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->tw_pci_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->tw_pci_dev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tw_dev->tw_pci_dev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | tw_dev->tw_pci_dev->dev.cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | tw_dev->tw_pci_dev->dev.cma_area->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tw_dev->tw_pci_dev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | tw_dev->tw_pci_dev->dev.dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tw_dev->tw_pci_dev->dev.dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->tw_pci_dev->dev.dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->tw_pci_dev->dev.dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->tw_pci_dev->dev.dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tw_dev->tw_pci_dev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | tw_dev->tw_pci_dev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | *tw_dev->state | 2 |
| 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 &tw_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-xxxx.c tw_interrupt() -> tw_post_command_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tw_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->host | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->host->host_lock | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->host->host_lock->rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tw_dev->pending_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->pending_request_count | 1-u32max |
| PARAM_VALUE | 0 | tw_dev->reset_print | 0-1 |
| PARAM_VALUE | 0 | tw_dev->state | 4096-ptr_max |
| PARAM_VALUE | 1 | request_id | 0-255 |
| DATA_SOURCE | 0 | tw_dev | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | tw_dev->host->host_lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/scsi/3w-xxxx.c tw_scsiop_inquiry() -> tw_post_command_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tw_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->alignment_physical_address | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->alignment_virtual_address | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->command_packet_physical_address | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->command_packet_virtual_address | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->srb | 4096-ptr_max |
| PARAM_VALUE | 0 | *tw_dev->state | 2 |
| PARAM_VALUE | 1 | request_id | 0-255 |
| DATA_SOURCE | 0 | tw_dev | $0 |
| DATA_SOURCE | 1 | request_id | $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-xxxx.c tw_scsiop_mode_sense() -> tw_post_command_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tw_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->alignment_physical_address | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->alignment_virtual_address | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->command_packet_physical_address | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->command_packet_virtual_address | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->srb | 4096-ptr_max |
| PARAM_VALUE | 0 | *tw_dev->state | 2 |
| PARAM_VALUE | 1 | request_id | 0-255 |
| DATA_SOURCE | 0 | tw_dev | $0 |
| DATA_SOURCE | 1 | request_id | $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-xxxx.c tw_scsiop_read_capacity() -> tw_post_command_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tw_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->alignment_physical_address | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->alignment_virtual_address | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->command_packet_physical_address | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->command_packet_virtual_address | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->srb | 4096-ptr_max |
| PARAM_VALUE | 0 | *tw_dev->state | 2 |
| PARAM_VALUE | 1 | request_id | 0-255 |
| DATA_SOURCE | 0 | tw_dev | $0 |
| DATA_SOURCE | 1 | request_id | $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-xxxx.c tw_scsiop_read_write() -> tw_post_command_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tw_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->command_packet_physical_address | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->command_packet_virtual_address | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->sector_count | 0-u16max |
| PARAM_VALUE | 0 | tw_dev->srb | 4096-ptr_max |
| PARAM_VALUE | 0 | *tw_dev->state | 2 |
| PARAM_VALUE | 1 | request_id | 0-255 |
| CAPPED_DATA | 0 | tw_dev->sector_count | 1 |
| CAPPED_DATA | 0 | tw_dev->sgl_entries | 1 |
| DATA_SOURCE | 0 | tw_dev | $0 |
| DATA_SOURCE | 1 | request_id | $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-xxxx.c tw_scsiop_synchronize_cache() -> tw_post_command_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tw_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->command_packet_physical_address | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->command_packet_virtual_address | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->srb | 4096-ptr_max |
| PARAM_VALUE | 0 | *tw_dev->state | 2 |
| PARAM_VALUE | 1 | request_id | 0-255 |
| DATA_SOURCE | 0 | tw_dev | $0 |
| DATA_SOURCE | 1 | request_id | $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-xxxx.c tw_scsiop_test_unit_ready() -> tw_post_command_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tw_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->alignment_physical_address | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->alignment_virtual_address | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->command_packet_physical_address | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->command_packet_virtual_address | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->srb | 4096-ptr_max |
| PARAM_VALUE | 0 | *tw_dev->state | 2 |
| PARAM_VALUE | 1 | request_id | 0-255 |
| DATA_SOURCE | 0 | tw_dev | $0 |
| DATA_SOURCE | 1 | request_id | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq_flags | ||
| LOCK2 | shost->host_lock | ||
| HALF_LOCKED2 | &sdev->state_mutex |