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_cmd_done() -> mega_free_scb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->dev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->dev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->dev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->mbox | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->mbox->m_in.numstatus | 255 |
| PARAM_VALUE | 0 | adapter->scb_list | 4096-ptr_max |
| PARAM_VALUE | 1 | scb | 4096-ptr_max |
| PARAM_VALUE | 1 | scb->cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | scb->cmd->result | 327680 |
| PARAM_VALUE | 1 | scb->state | 8-u32max |
| DATA_SOURCE | 0 | adapter | $0 |
| BIT_INFO | 1 | scb->state | 0xc,0xffffffff |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &adapter->lock | |
| TYPE_LOCK | (struct adapter_t)->lock |
drivers/scsi/megaraid.c mega_cmd_done() -> mega_free_scb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->dev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->dev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->dev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->mbox | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->mbox->m_in.numstatus | 255 |
| PARAM_VALUE | 0 | adapter->scb_list | 4096-ptr_max |
| PARAM_VALUE | 1 | scb | 4096-ptr_max |
| PARAM_VALUE | 1 | scb->cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | scb->cmd->result | 524288 |
| PARAM_VALUE | 1 | scb->state | 16-u32max |
| DATA_SOURCE | 0 | adapter | $0 |
| BIT_INFO | 1 | scb->state | 0x14,0xfffffff7 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &adapter->lock | |
| TYPE_LOCK | (struct adapter_t)->lock |
drivers/scsi/megaraid.c mega_cmd_done() -> mega_free_scb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->logdrv_chan | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->mbox | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->mbox->m_in.numstatus | 255 |
| PARAM_VALUE | 1 | scb | 4096-ptr_max |
| PARAM_VALUE | 1 | scb->cmd->device | 4096-ptr_max |
| PARAM_VALUE | 1 | scb->cmd->result | (-2147221504)-s32max |
| PARAM_VALUE | 1 | scb->state | 0,4-u32max |
| BUF_SIZE | 1 | scb | (-1),184 |
| BUF_SIZE | 1 | scb | (-1),184 |
| DATA_SOURCE | 0 | adapter | $0 |
| FUZZY_MAX | 1 | scb->cmd->result | 2 |
| FUZZY_MAX | 1 | scb->state | 0 |
| BIT_INFO | 1 | scb->state | 0x0,0xffffffe7 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &adapter->lock | |
| TYPE_LOCK | (struct adapter_t)->lock |
drivers/scsi/megaraid.c megaraid_abort_and_reset() -> mega_free_scb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->dev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->dev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->dev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 1 | scb | 4096-ptr_max |
| PARAM_VALUE | 1 | scb->state | 0,8-u32max |
| CAPPED_DATA | 0 | &adapter->pending_list | 1 |
| DATA_SOURCE | 0 | adapter | $0 |
| PARAM_COMPARE | 0 | &adapter->pending_list | != $0->pending_list.next |
| BIT_INFO | 1 | scb->state | 0x0,0xfffffffb |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &adapter->lock |