Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/megaraid.c mega_adapinq() -> mega_internal_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 1 | mc | 8444563069363085312 |
| PARAM_VALUE | 1 | mc->cmd | 4,161 |
| PARAM_VALUE | 1 | mc->opcode | 0,15 |
| PARAM_VALUE | 1 | mc->subopcode | 0,2 |
| PARAM_VALUE | 2 | pthru | 0 |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | adapter | $0 |
| MEM_ZERO | 1 | mc | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | adapter | unit_array_size |
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/scsi/megaraid.c mega_do_del_logdrv() -> mega_internal_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pend_cmds.counter | s32min-0 |
| PARAM_VALUE | 0 | adapter->pending_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->quiescent.counter | 1 |
| PARAM_VALUE | 0 | adapter->support_random_del | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | mc | 6594490141889372160 |
| PARAM_VALUE | 1 | mc->cmd | 164 |
| PARAM_VALUE | 1 | mc->opcode | 28 |
| PARAM_VALUE | 2 | pthru | 0 |
| DATA_SOURCE | 0 | adapter | $0 |
| MEM_ZERO | 1 | mc | |
| LOCK2 | global &megadev_mutex |
drivers/scsi/megaraid.c mega_internal_dev_inquiry() -> mega_internal_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->int_mtx.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->int_mtx.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->int_mtx.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->int_mtx.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->int_mtx.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->int_mtx.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | adapter->int_mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adapter->int_scb.cmd | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.dma_direction | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.dma_h_bulkdata | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.dma_h_sgdata | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.dma_type | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.epthru | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.epthru_dma_addr | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.idx | 127 |
| PARAM_VALUE | 0 | adapter->int_scb.list.next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->int_scb.pthru | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->int_scb.pthru_dma_addr | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.raw_mbox | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.sgl | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.sgl64 | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.sgl_dma_addr | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.state | 3 |
| PARAM_VALUE | 0 | adapter->int_status | 0 |
| PARAM_VALUE | 0 | adapter->int_waitq.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | adapter->int_waitq.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->int_waitq.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | adapter->int_waitq.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adapter->int_waitq.wait.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | adapter->int_waitq.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->int_waitq.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->mbox->m_in.busy | 1 |
| PARAM_VALUE | 0 | adapter->mbox64->xfer_segment_hi | 0 |
| PARAM_VALUE | 0 | adapter->pending_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pending_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pending_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->product_info.nchannels | 1-255 |
| PARAM_VALUE | 0 | *adapter->int_scb->raw_mbox | 0-255 |
| PARAM_VALUE | 1 | mc | 1656992953887068160 |
| PARAM_VALUE | 1 | mc->cmd | 3 |
| PARAM_VALUE | 2 | pthru | 4096-ptr_max |
| PARAM_VALUE | 2 | pthru->ars | 1 |
| PARAM_VALUE | 2 | pthru->cdblen | 6 |
| PARAM_VALUE | 2 | pthru->channel | 0-3 |
| PARAM_VALUE | 2 | pthru->dataxferlen | 256 |
| PARAM_VALUE | 2 | pthru->islogical | 0 |
| PARAM_VALUE | 2 | pthru->reqsenselen | 14 |
| PARAM_VALUE | 2 | pthru->target | 0-63 |
| PARAM_VALUE | 2 | pthru->timeout | 2 |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | pthru | 60 |
| CAPPED_DATA | 2 | pthru->channel | 1 |
| DATA_SOURCE | 0 | adapter | $0 |
| DATA_SOURCE | 2 | pthru | r dma_alloc_coherent |
| FUZZY_MAX | 2 | pthru->channel | 0 |
| MEM_ZERO | 0 | &adapter->int_scb | |
| MEM_ZERO | 1 | mc | |
| MEM_ZERO | 2 | pthru | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | adapter | unit_array_size |
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/scsi/megaraid.c megadev_ioctl() -> mega_internal_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mc | 7055249554193977344 |
| PARAM_VALUE | 1 | mc->cmd | 3 |
| PARAM_VALUE | 2 | pthru | 4096-ptr_max |
| PARAM_VALUE | 2 | pthru->dataxferlen | 0 |
| BUF_SIZE | 2 | pthru | 60 |
| DATA_SOURCE | 2 | pthru | r dma_alloc_coherent |
| MEM_ZERO | 1 | mc | |
| MEM_ZERO | 2 | pthru | |
| NOCHECK_CALL | |||
| USER_DATA | 2 | pthru->cdblen | 0-255 |
| USER_DATA | 2 | pthru->channel | 0-255 |
| USER_DATA | 2 | pthru->dataxferaddr | 0 |
| USER_DATA | 2 | pthru->dataxferlen | 0[c] |
| USER_DATA | 2 | pthru->logdrv | 0-255 |
| USER_DATA | 2 | pthru->numsgelements | 0-255 |
| USER_DATA | 2 | pthru->queueaction | 0-255 |
| USER_DATA | 2 | pthru->queuetag | 0-255 |
| USER_DATA | 2 | pthru->reqsenselen | 0-255 |
| USER_DATA | 2 | pthru->scsistatus | 0-255 |
| USER_DATA | 2 | pthru->target | 0-255 |
| USER_PTR | 2 | pthru | |
| USER_PTR | 2 | pthru->cdb | |
| USER_PTR | 2 | pthru->reqsensearea | |
| LOCK2 | global &megadev_mutex |
drivers/scsi/megaraid.c megadev_ioctl() -> mega_internal_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mc | 7055249554193977344 |
| PARAM_VALUE | 2 | pthru | 0 |
| NOCHECK_CALL | |||
| LOCK2 | global &megadev_mutex |
drivers/scsi/megaraid.c megaraid_reset() -> mega_internal_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mc | 7795838935194619904 |
| PARAM_VALUE | 1 | mc->cmd | 110 |
| PARAM_VALUE | 1 | mc->opcode | 3 |
| PARAM_VALUE | 2 | pthru | 0 |
drivers/scsi/megaraid.c proc_show_rdrv() -> mega_internal_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->flag | 134217728-u32max |
| PARAM_VALUE | 0 | adapter->int_mtx.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->int_mtx.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->int_mtx.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->int_mtx.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->int_mtx.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->int_mtx.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | adapter->int_mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adapter->int_scb.cmd | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.dma_direction | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.dma_h_bulkdata | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.dma_h_sgdata | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.dma_type | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.epthru | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.epthru_dma_addr | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.idx | 127 |
| PARAM_VALUE | 0 | adapter->int_scb.list.next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->int_scb.pthru | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->int_scb.pthru->dataxferlen | 0,256 |
| PARAM_VALUE | 0 | adapter->int_scb.pthru_dma_addr | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.raw_mbox | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.sgl | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.sgl64 | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.sgl_dma_addr | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.state | 3 |
| PARAM_VALUE | 0 | adapter->int_status | 0 |
| PARAM_VALUE | 0 | adapter->int_waitq.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | adapter->int_waitq.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->int_waitq.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | adapter->int_waitq.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adapter->int_waitq.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->int_waitq.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->mbox->m_in.busy | 1 |
| PARAM_VALUE | 0 | adapter->mbox64->xfer_segment_hi | 0 |
| PARAM_VALUE | 0 | adapter->pending_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pending_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pending_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | *adapter->int_scb->raw_mbox | 0-255 |
| PARAM_VALUE | 1 | mc | 2891131474103017472 |
| PARAM_VALUE | 1 | mc->cmd | 161 |
| PARAM_VALUE | 1 | mc->opcode | 4 |
| PARAM_VALUE | 2 | pthru | 0 |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | adapter | $1 |
| BIT_INFO | 0 | adapter->flag | 0x8000000,0xffffffff |
| MEM_ZERO | 0 | &adapter->int_scb | |
| MEM_ZERO | 1 | mc | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | adapter | unit_array_size |
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/scsi/megaraid.c proc_show_rdrv() -> mega_internal_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->int_mtx.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->int_mtx.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->int_mtx.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->int_mtx.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->int_mtx.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->int_mtx.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | adapter->int_mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adapter->int_scb.cmd | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.dma_direction | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.dma_h_bulkdata | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.dma_h_sgdata | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.dma_type | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.epthru | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.epthru_dma_addr | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.idx | 127 |
| PARAM_VALUE | 0 | adapter->int_scb.list.next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->int_scb.pthru | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->int_scb.pthru->dataxferlen | 0,256 |
| PARAM_VALUE | 0 | adapter->int_scb.pthru_dma_addr | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.raw_mbox | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.sgl | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.sgl64 | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.sgl_dma_addr | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.state | 3 |
| PARAM_VALUE | 0 | adapter->int_status | 0 |
| PARAM_VALUE | 0 | adapter->int_waitq.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | adapter->int_waitq.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->int_waitq.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | adapter->int_waitq.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adapter->int_waitq.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->int_waitq.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->mbox->m_in.busy | 1 |
| PARAM_VALUE | 0 | adapter->mbox64->xfer_segment_hi | 0 |
| PARAM_VALUE | 0 | adapter->pending_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pending_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pending_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | *adapter->int_scb->raw_mbox | 0-255 |
| PARAM_VALUE | 1 | mc | 2891131474103017472 |
| PARAM_VALUE | 1 | mc->cmd | 103 |
| PARAM_VALUE | 2 | pthru | 0 |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | adapter | $1 |
| BIT_INFO | 0 | adapter->flag | 0x0,0xf7ffffff |
| MEM_ZERO | 0 | &adapter->int_scb | |
| MEM_ZERO | 1 | mc | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | adapter | unit_array_size |
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/scsi/megaraid.c proc_show_rdrv() -> mega_internal_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->int_mtx.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->int_mtx.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->int_mtx.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->int_mtx.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->int_mtx.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->int_mtx.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | adapter->int_mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adapter->int_scb.cmd | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.dma_direction | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.dma_h_bulkdata | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.dma_h_sgdata | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.dma_type | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.epthru | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.epthru_dma_addr | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.idx | 127 |
| PARAM_VALUE | 0 | adapter->int_scb.list.next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->int_scb.pthru | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->int_scb.pthru->dataxferlen | 0,256 |
| PARAM_VALUE | 0 | adapter->int_scb.pthru_dma_addr | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.raw_mbox | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.sgl | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.sgl64 | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.sgl_dma_addr | 0 |
| PARAM_VALUE | 0 | adapter->int_scb.state | 3 |
| PARAM_VALUE | 0 | adapter->int_status | 0 |
| PARAM_VALUE | 0 | adapter->int_waitq.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | adapter->int_waitq.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->int_waitq.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | adapter->int_waitq.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adapter->int_waitq.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->int_waitq.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->mbox->m_in.busy | 1 |
| PARAM_VALUE | 0 | adapter->mbox64->xfer_segment_hi | 0 |
| PARAM_VALUE | 0 | adapter->pending_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pending_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pending_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | *adapter->int_scb->raw_mbox | 0-255 |
| PARAM_VALUE | 1 | mc | 2891131474103017472 |
| PARAM_VALUE | 1 | mc->cmd | 7 |
| PARAM_VALUE | 2 | pthru | 0 |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | adapter | $1 |
| BIT_INFO | 0 | adapter->flag | 0x0,0xf7ffffff |
| MEM_ZERO | 0 | &adapter->int_scb | |
| MEM_ZERO | 1 | mc | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | adapter | unit_array_size |
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |