Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/3w-9xxx.c twa_interrupt() -> twa_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 | 65536-u32max |
| DATA_SOURCE | 0 | tw_dev | $1 |
| DATA_SOURCE | 1 | status_reg_value | r readl |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | status_reg_value | 65536-u32max |
| LOCK2 | 0 | tw_dev->host->host_lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/scsi/3w-9xxx.c twa_interrupt() -> twa_decode_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tw_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->aen_clobber | 0-1 |
| PARAM_VALUE | 0 | tw_dev->command_packet_virt | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->event_queue_wrapped | 1 |
| 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 | 1-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 | 0 | *tw_dev->free_queue | 0-255 |
| PARAM_VALUE | 0 | *tw_dev->state | s32min-s32max |
| PARAM_VALUE | 1 | status_reg_value | 1048576-u32max |
| DATA_SOURCE | 0 | tw_dev | $1 |
| DATA_SOURCE | 1 | status_reg_value | r readl |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | status_reg_value | 1048576-u32max |
| LOCK2 | 0 | tw_dev->host->host_lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/scsi/3w-9xxx.c twa_poll_status() -> twa_decode_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tw_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->aen_clobber | 0-1 |
| PARAM_VALUE | 0 | tw_dev->event_queue_wrapped | 1 |
| PARAM_VALUE | 0 | tw_dev->host | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->max_pending_request_count | 1-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->free_queue | 0-255 |
| PARAM_VALUE | 0 | *tw_dev->state | s32min-s32max |
| PARAM_VALUE | 1 | status_reg_value | 1048576-u32max |
| 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 readl |
| 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 | 1048576-u32max |
| HALF_LOCKED2 | 0 | &tw_dev->ioctl_lock |
drivers/scsi/3w-9xxx.c twa_poll_status() -> twa_decode_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tw_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->aen_clobber | 0-1 |
| PARAM_VALUE | 0 | tw_dev->event_queue_wrapped | 1 |
| PARAM_VALUE | 0 | tw_dev->host | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->max_pending_request_count | 1-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->free_queue | 0-255 |
| PARAM_VALUE | 0 | *tw_dev->state | s32min-s32max |
| PARAM_VALUE | 1 | status_reg_value | 1048576-u32max |
| 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 readl |
| 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 | 1048576-u32max |
| HALF_LOCKED2 | 0 | &tw_dev->ioctl_lock |
drivers/scsi/3w-9xxx.c twa_poll_status_gone() -> twa_decode_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tw_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->aen_clobber | 0-1 |
| PARAM_VALUE | 0 | tw_dev->command_packet_virt | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->event_queue_wrapped | 1 |
| 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.parent->sd->attr.open->nr_mmapped | 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 | 1-u32max |
| PARAM_VALUE | 0 | tw_dev->reset_print | 0-1 |
| PARAM_VALUE | 0 | tw_dev->tw_pci_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->tw_pci_dev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | *tw_dev->free_queue | 0-255 |
| PARAM_VALUE | 0 | *tw_dev->pending_queue | 0-255 |
| PARAM_VALUE | 0 | *tw_dev->state | s32min-s32max |
| PARAM_VALUE | 1 | status_reg_value | 1048576-u32max |
| BUF_SIZE | 0 | tw_dev->host | (-1),4520-s32max |
| BUF_SIZE | 0 | tw_dev->tw_pci_dev | (-1),1-s32max |
| DATA_SOURCE | 0 | tw_dev | $0 |
| DATA_SOURCE | 1 | status_reg_value | r readl |
| 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 | 1048576-u32max |
| UNITS | 0 | tw_dev | unit_byte |
| HALF_LOCKED2 | 0 | &tw_dev->ioctl_lock |
drivers/scsi/3w-9xxx.c twa_poll_status_gone() -> twa_decode_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tw_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->aen_clobber | 0-1 |
| PARAM_VALUE | 0 | tw_dev->command_packet_virt | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->event_queue_wrapped | 1 |
| 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.parent->sd->attr.open->nr_mmapped | 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 | 1-u32max |
| PARAM_VALUE | 0 | tw_dev->reset_print | 0-1 |
| PARAM_VALUE | 0 | tw_dev->tw_pci_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->tw_pci_dev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | *tw_dev->free_queue | 0-255 |
| PARAM_VALUE | 0 | *tw_dev->pending_queue | 0-255 |
| PARAM_VALUE | 0 | *tw_dev->state | s32min-s32max |
| PARAM_VALUE | 1 | status_reg_value | 1048576-u32max |
| BUF_SIZE | 0 | tw_dev->host | (-1),4520-s32max |
| BUF_SIZE | 0 | tw_dev->tw_pci_dev | (-1),1-s32max |
| DATA_SOURCE | 0 | tw_dev | $0 |
| DATA_SOURCE | 1 | status_reg_value | r readl |
| 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 | 1048576-u32max |
| UNITS | 0 | tw_dev | unit_byte |
| HALF_LOCKED2 | 0 | &tw_dev->ioctl_lock |
drivers/scsi/3w-9xxx.c twa_post_command_packet() -> twa_decode_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tw_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->aen_clobber | 0-1 |
| PARAM_VALUE | 0 | tw_dev->command_packet_phys | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->event_queue_wrapped | 1 |
| 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 | 1-u32max |
| PARAM_VALUE | 0 | tw_dev->reset_print | 0-1 |
| PARAM_VALUE | 0 | tw_dev->tw_pci_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | tw_dev->tw_pci_dev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | *tw_dev->state | s32min-s32max |
| PARAM_VALUE | 1 | status_reg_value | 1048576-u32max |
| 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 |
| DATA_SOURCE | 0 | tw_dev | $0 |
| DATA_SOURCE | 1 | status_reg_value | r readl |
| PREEMPT_ADD | |||
| 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 | 1048576-u32max |
| UNITS | 0 | tw_dev | unit_byte |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &twa_chrdev_mutex | ||
| HALF_LOCKED2 | 0 | tw_dev->host->host_lock | |
| HALF_LOCKED2 | 0 | &tw_dev->ioctl_lock |