Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/3w-xxxx.c tw_aen_read_queue() -> tw_decode_bits()
| 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->max_pending_request_count | 2-u32max |
| PARAM_VALUE | 0 | tw_dev->reset_print | 0-1 |
| PARAM_VALUE | 0 | *tw_dev->state | s32min-s32max |
| PARAM_VALUE | 2 | print_host | 1 |
| DATA_SOURCE | 0 | tw_dev | $0 |
| DATA_SOURCE | 1 | status_reg_value | r __inl |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | status_reg_value | 0-u32max |
| LOCK2 | 0 | tw_dev->host->host_lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
drivers/scsi/3w-xxxx.c tw_check_errors() -> tw_decode_bits()
| 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->ioctl_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tw_dev->ioctl_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->ioctl_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tw_dev->ioctl_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | tw_dev->ioctl_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | tw_dev->max_pending_request_count | 2-u32max |
| PARAM_VALUE | 0 | tw_dev->pending_head | 0 |
| PARAM_VALUE | 0 | tw_dev->pending_tail | 0 |
| PARAM_VALUE | 0 | tw_dev->reset_print | 0-1 |
| PARAM_VALUE | 0 | tw_dev->tw_pci_dev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | *tw_dev->aen_queue | 0-u16max |
| PARAM_VALUE | 0 | *tw_dev->pending_queue | 0-255 |
| PARAM_VALUE | 0 | *tw_dev->state | s32min-s32max |
| PARAM_VALUE | 2 | print_host | 0 |
| BUF_SIZE | 0 | tw_dev->host | (-1),4600-s32max |
| BUF_SIZE | 0 | tw_dev->tw_pci_dev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| CAPPED_DATA | 0 | tw_dev->tw_pci_dev->dev.cma_area->nranges | 1 |
| DATA_SOURCE | 0 | tw_dev | $0 |
| DATA_SOURCE | 1 | status_reg_value | r __inl |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | tw_dev->tw_pci_dev->current_state | 0-3[c] |
| HOST_DATA | 1 | status_reg_value | 0-u32max |
| HALF_LOCKED2 | 0 | &tw_dev->ioctl_lock |
drivers/scsi/3w-xxxx.c tw_interrupt() -> tw_decode_bits()
| 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 | 1 | status_reg_value | 8-u32max |
| PARAM_VALUE | 2 | print_host | 1 |
| DATA_SOURCE | 0 | tw_dev | $1 |
| DATA_SOURCE | 1 | status_reg_value | r __inl |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | status_reg_value | 8-u32max |
| LOCK2 | 0 | tw_dev->host->host_lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/scsi/3w-xxxx.c tw_interrupt() -> tw_decode_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tw_dev | 4096-ptr_max |
| 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->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->max_pending_request_count | 2-u32max |
| PARAM_VALUE | 0 | tw_dev->reset_print | 0-1 |
| PARAM_VALUE | 0 | tw_dev->srb | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->state | 4096-ptr_max |
| PARAM_VALUE | 2 | print_host | 1 |
| DATA_SOURCE | 0 | tw_dev | $1 |
| DATA_SOURCE | 1 | status_reg_value | r __inl |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | status_reg_value | 0-u32max |
| LOCK2 | 0 | tw_dev->host->host_lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/scsi/3w-xxxx.c tw_poll_status() -> tw_decode_bits()
| 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->ioctl_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tw_dev->ioctl_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->ioctl_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tw_dev->ioctl_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | tw_dev->ioctl_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | tw_dev->max_pending_request_count | 2-u32max |
| PARAM_VALUE | 0 | tw_dev->pending_head | 0 |
| PARAM_VALUE | 0 | tw_dev->pending_tail | 0 |
| PARAM_VALUE | 0 | tw_dev->reset_print | 0-1 |
| PARAM_VALUE | 0 | tw_dev->tw_pci_dev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | tw_dev->tw_pci_dev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | tw_dev->tw_pci_dev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | *tw_dev->pending_queue | 0-255 |
| PARAM_VALUE | 0 | *tw_dev->state | s32min-s32max |
| PARAM_VALUE | 2 | print_host | 0 |
| BUF_SIZE | 0 | tw_dev->host | (-1),4600-s32max |
| BUF_SIZE | 0 | tw_dev->tw_pci_dev | (-1),1-s32max |
| CAPPED_DATA | 0 | tw_dev->tw_pci_dev->dev.cma_area->nranges | 1 |
| DATA_SOURCE | 0 | tw_dev | $0 |
| DATA_SOURCE | 1 | status_reg_value | r __inl |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | tw_dev->tw_pci_dev->current_state | 0-3[c] |
| HOST_DATA | 1 | status_reg_value | 0-u32max |
| HALF_LOCKED2 | 0 | &tw_dev->ioctl_lock |
drivers/scsi/3w-xxxx.c tw_poll_status() -> tw_decode_bits()
| 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->ioctl_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tw_dev->ioctl_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->ioctl_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tw_dev->ioctl_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | tw_dev->ioctl_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | tw_dev->max_pending_request_count | 2-u32max |
| PARAM_VALUE | 0 | tw_dev->pending_head | 0 |
| PARAM_VALUE | 0 | tw_dev->pending_tail | 0 |
| PARAM_VALUE | 0 | tw_dev->reset_print | 0-1 |
| PARAM_VALUE | 0 | tw_dev->tw_pci_dev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | tw_dev->tw_pci_dev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | tw_dev->tw_pci_dev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | *tw_dev->pending_queue | 0-255 |
| PARAM_VALUE | 0 | *tw_dev->state | s32min-s32max |
| PARAM_VALUE | 2 | print_host | 0 |
| BUF_SIZE | 0 | tw_dev->host | (-1),4600-s32max |
| BUF_SIZE | 0 | tw_dev->tw_pci_dev | (-1),1-s32max |
| CAPPED_DATA | 0 | tw_dev->tw_pci_dev->dev.cma_area->nranges | 1 |
| DATA_SOURCE | 0 | tw_dev | $0 |
| DATA_SOURCE | 1 | status_reg_value | r __inl |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | tw_dev->tw_pci_dev->current_state | 0-3[c] |
| HOST_DATA | 1 | status_reg_value | 0-u32max |
| HALF_LOCKED2 | 0 | &tw_dev->ioctl_lock |
drivers/scsi/3w-xxxx.c tw_poll_status_gone() -> tw_decode_bits()
| 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->host | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->host->pseudo_sdev->sdev_dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | tw_dev->host->pseudo_sdev->sdev_dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | tw_dev->host->pseudo_sdev->sdev_dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | tw_dev->host->pseudo_sdev->sdev_gendev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | tw_dev->host->pseudo_sdev->sdev_gendev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | tw_dev->host->pseudo_sdev->sdev_gendev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | tw_dev->host->shost_dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | tw_dev->host->shost_dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | tw_dev->host->shost_dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | tw_dev->host->shost_gendev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | tw_dev->host->shost_gendev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | tw_dev->max_pending_request_count | 2-u32max |
| PARAM_VALUE | 0 | tw_dev->reset_print | 0-1 |
| PARAM_VALUE | 0 | tw_dev->tw_pci_dev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | *tw_dev->pending_queue | 0-255 |
| PARAM_VALUE | 0 | *tw_dev->state | s32min-s32max |
| PARAM_VALUE | 2 | print_host | 0 |
| BUF_SIZE | 0 | tw_dev->host | (-1),4600-s32max |
| BUF_SIZE | 0 | tw_dev->tw_pci_dev | (-1),1-s32max |
| CAPPED_DATA | 0 | tw_dev | 1 |
| CAPPED_DATA | 0 | tw_dev->tw_pci_dev->dev.cma_area->nranges | 1 |
| DATA_SOURCE | 0 | tw_dev | $0 |
| DATA_SOURCE | 1 | status_reg_value | r __inl |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | tw_dev->tw_pci_dev->current_state | 0-3[c] |
| HOST_DATA | 1 | status_reg_value | 0-u32max |
| UNITS | 0 | tw_dev | unit_byte |
| HALF_LOCKED2 | 0 | &tw_dev->ioctl_lock |
drivers/scsi/3w-xxxx.c tw_poll_status_gone() -> tw_decode_bits()
| 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->host | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->host->pseudo_sdev->sdev_dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | tw_dev->host->pseudo_sdev->sdev_dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | tw_dev->host->pseudo_sdev->sdev_dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | tw_dev->host->pseudo_sdev->sdev_gendev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | tw_dev->host->pseudo_sdev->sdev_gendev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | tw_dev->host->pseudo_sdev->sdev_gendev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | tw_dev->host->shost_dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | tw_dev->host->shost_dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | tw_dev->host->shost_dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | tw_dev->host->shost_gendev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | tw_dev->host->shost_gendev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | tw_dev->max_pending_request_count | 2-u32max |
| PARAM_VALUE | 0 | tw_dev->reset_print | 0-1 |
| PARAM_VALUE | 0 | tw_dev->tw_pci_dev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | *tw_dev->pending_queue | 0-255 |
| PARAM_VALUE | 0 | *tw_dev->state | s32min-s32max |
| PARAM_VALUE | 2 | print_host | 0 |
| BUF_SIZE | 0 | tw_dev->host | (-1),4600-s32max |
| BUF_SIZE | 0 | tw_dev->tw_pci_dev | (-1),1-s32max |
| CAPPED_DATA | 0 | tw_dev | 1 |
| CAPPED_DATA | 0 | tw_dev->tw_pci_dev->dev.cma_area->nranges | 1 |
| DATA_SOURCE | 0 | tw_dev | $0 |
| DATA_SOURCE | 1 | status_reg_value | r __inl |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | tw_dev->tw_pci_dev->current_state | 0-3[c] |
| HOST_DATA | 1 | status_reg_value | 0-u32max |
| UNITS | 0 | tw_dev | unit_byte |
| HALF_LOCKED2 | 0 | &tw_dev->ioctl_lock |
drivers/scsi/3w-xxxx.c tw_post_command_packet() -> tw_decode_bits()
| 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->reset_print | 0-1 |
| PARAM_VALUE | 0 | tw_dev->tw_pci_dev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | *tw_dev->state | s32min-s32max |
| PARAM_VALUE | 2 | print_host | 1 |
| DATA_SOURCE | 0 | tw_dev | $0 |
| DATA_SOURCE | 1 | status_reg_value | r __inl |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | status_reg_value | 0-u32max |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &tw_mutex | ||
| HALF_LOCKED2 | irq_flags | ||
| HALF_LOCKED2 | shost->host_lock | ||
| HALF_LOCKED2 | 0 | tw_dev->host->host_lock | |
| HALF_LOCKED2 | 0 | &tw_dev->ioctl_lock |