Defined in 2 files as a function:
- drivers/crypto/cavium/cpt/cptvf_mbox.c, line 58 (as a function)
- drivers/crypto/marvell/octeontx/otx_cptvf_mbox.c, line 128 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/crypto/cavium/cpt/cptvf_mbox.c cptvf_check_pf_ready() -> cptvf_send_msg_to_pf_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cptvf | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->flags | 4 |
| PARAM_VALUE | 0 | cptvf->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->pdev->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->pdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->reg_base | 4096-ptr_max |
| PARAM_VALUE | 1 | mbx | 5607132681100251136 |
| PARAM_VALUE | 1 | mbx->data | 0 |
| PARAM_VALUE | 1 | mbx->msg | 3 |
| BUF_SIZE | 0 | cptvf | 272 |
| BUF_SIZE | 0 | cptvf->pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| DATA_SOURCE | 0 | cptvf | $0 |
| MEM_ZERO | 0 | cptvf | |
| MEM_ZERO | 0 | cptvf->reg_base | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | cptvf->pdev->current_state | 0-3[c] |
drivers/crypto/cavium/cpt/cptvf_mbox.c cptvf_send_vf_down() -> cptvf_send_msg_to_pf_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cptvf | 4096-ptr_max |
| PARAM_VALUE | 1 | mbx | 6036229501931540480 |
| PARAM_VALUE | 1 | mbx->data | 0 |
| PARAM_VALUE | 1 | mbx->msg | 2 |
| BUF_SIZE | 0 | cptvf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cptvf | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | cptvf | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | cptvf | unit_byte |
| HALF_LOCKED2 | &dev->mutex |
drivers/crypto/cavium/cpt/cptvf_mbox.c cptvf_send_vf_priority_msg() -> cptvf_send_msg_to_pf_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cptvf | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->cqinfo.qchunksize | 1023 |
| PARAM_VALUE | 0 | cptvf->flags | 12 |
| PARAM_VALUE | 0 | cptvf->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->pdev->bus | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.bus | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.class | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.devres_head.prev | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.driver_data | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.power.request | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.power.runtime_error | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.power.wakeirq | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.type | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->driver | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->is_virtfn | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->pcie_cap | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->state_saved | 0 |
| PARAM_VALUE | 0 | cptvf->pf_acked | 0 |
| PARAM_VALUE | 0 | cptvf->pf_nacked | 0 |
| PARAM_VALUE | 0 | cptvf->priority | 1 |
| PARAM_VALUE | 0 | cptvf->reg_base | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->vfgrp | 1 |
| PARAM_VALUE | 1 | mbx | 9074164649981906944 |
| PARAM_VALUE | 1 | mbx->data | 1 |
| PARAM_VALUE | 1 | mbx->msg | 6 |
| BUF_SIZE | 0 | cptvf | 272 |
| BUF_SIZE | 0 | cptvf->pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| DATA_SOURCE | 0 | cptvf | $0 |
| MEM_ZERO | 0 | cptvf | |
| MEM_ZERO | 0 | cptvf->pdev | |
| MEM_ZERO | 0 | cptvf->reg_base | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | cptvf->pdev->current_state | 0-3[c] |
drivers/crypto/cavium/cpt/cptvf_mbox.c cptvf_send_vf_to_grp_msg() -> cptvf_send_msg_to_pf_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cptvf | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->cqinfo.qchunksize | 1023 |
| PARAM_VALUE | 0 | cptvf->flags | 12 |
| PARAM_VALUE | 0 | cptvf->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->pdev->bus | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.bus | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.class | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.devres_head.prev | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.driver_data | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.power.request | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.power.runtime_error | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.power.wakeirq | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.type | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->driver | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->is_virtfn | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->pcie_cap | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->state_saved | 0 |
| PARAM_VALUE | 0 | cptvf->pf_acked | 0 |
| PARAM_VALUE | 0 | cptvf->pf_nacked | 0 |
| PARAM_VALUE | 0 | cptvf->reg_base | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->vfgrp | 1 |
| PARAM_VALUE | 1 | mbx | 2686530660208484352 |
| PARAM_VALUE | 1 | mbx->data | 1 |
| PARAM_VALUE | 1 | mbx->msg | 5 |
| BUF_SIZE | 0 | cptvf | 272 |
| BUF_SIZE | 0 | cptvf->pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| DATA_SOURCE | 0 | cptvf | $0 |
| MEM_ZERO | 0 | cptvf | |
| MEM_ZERO | 0 | cptvf->pdev | |
| MEM_ZERO | 0 | cptvf->reg_base | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | cptvf->pdev->current_state | 0-3[c] |
drivers/crypto/cavium/cpt/cptvf_mbox.c cptvf_send_vf_up() -> cptvf_send_msg_to_pf_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cptvf | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->cqinfo.qchunksize | 1023 |
| PARAM_VALUE | 0 | cptvf->flags | 12 |
| PARAM_VALUE | 0 | cptvf->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->pdev->bus | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.bus | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.class | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.devres_head.prev | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.driver | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.driver_data | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.power.request | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.power.runtime_error | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.power.wakeirq | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.type | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->driver | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->is_virtfn | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->pcie_cap | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->state_saved | 0 |
| PARAM_VALUE | 0 | cptvf->pf_acked | 0 |
| PARAM_VALUE | 0 | cptvf->pf_nacked | 0 |
| PARAM_VALUE | 0 | cptvf->priority | 1 |
| PARAM_VALUE | 0 | cptvf->reg_base | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->vfgrp | 1 |
| PARAM_VALUE | 1 | mbx | 5718109631602778112 |
| PARAM_VALUE | 1 | mbx->data | 0 |
| PARAM_VALUE | 1 | mbx->msg | 1 |
| BUF_SIZE | 0 | cptvf | 272 |
| BUF_SIZE | 0 | cptvf->pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| DATA_SOURCE | 0 | cptvf | $0 |
| MEM_ZERO | 0 | cptvf | |
| MEM_ZERO | 0 | cptvf->pdev | |
| MEM_ZERO | 0 | cptvf->reg_base | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | cptvf->pdev->current_state | 0[c] |
drivers/crypto/cavium/cpt/cptvf_mbox.c cptvf_send_vq_size_msg() -> cptvf_send_msg_to_pf_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cptvf | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->cqinfo.qchunksize | 1023 |
| PARAM_VALUE | 0 | cptvf->flags | 4 |
| PARAM_VALUE | 0 | cptvf->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->pdev->bus | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.bus | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.class | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.devres_head.prev | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.driver_data | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.power.request | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.power.runtime_error | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.power.wakeirq | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.type | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->driver | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->is_virtfn | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->pcie_cap | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->state_saved | 0 |
| PARAM_VALUE | 0 | cptvf->pf_acked | 0 |
| PARAM_VALUE | 0 | cptvf->pf_nacked | 0 |
| PARAM_VALUE | 0 | cptvf->qsize | 0 |
| PARAM_VALUE | 0 | cptvf->reg_base | 4096-ptr_max |
| PARAM_VALUE | 1 | mbx | 1864478321307860992 |
| PARAM_VALUE | 1 | mbx->data | 0 |
| PARAM_VALUE | 1 | mbx->msg | 4 |
| BUF_SIZE | 0 | cptvf | 272 |
| BUF_SIZE | 0 | cptvf->pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| DATA_SOURCE | 0 | cptvf | $0 |
| MEM_ZERO | 0 | cptvf | |
| MEM_ZERO | 0 | cptvf->pdev | |
| MEM_ZERO | 0 | cptvf->reg_base | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | cptvf->pdev->current_state | 0-3[c] |
drivers/crypto/marvell/octeontx/otx_cptvf_mbox.c otx_cptvf_check_pf_ready() -> cptvf_send_msg_to_pf_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cptvf | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->pdev->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->pdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->reg_base | 4096-ptr_max |
| PARAM_VALUE | 1 | mbx | 9179817836600987648 |
| PARAM_VALUE | 1 | mbx->data | 0 |
| PARAM_VALUE | 1 | mbx->msg | 3 |
| BUF_SIZE | 0 | cptvf | 216 |
| BUF_SIZE | 0 | cptvf->pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| DATA_SOURCE | 0 | cptvf | $0 |
| MEM_ZERO | 0 | cptvf | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | cptvf->pdev->current_state | 0-3[c] |
drivers/crypto/marvell/octeontx/otx_cptvf_mbox.c otx_cptvf_send_vf_down() -> cptvf_send_msg_to_pf_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cptvf | 1-u64max |
| PARAM_VALUE | 1 | mbx | 2102823338912985088 |
| PARAM_VALUE | 1 | mbx->data | 0 |
| PARAM_VALUE | 1 | mbx->msg | 2 |
| BUF_SIZE | 0 | cptvf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cptvf | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | cptvf | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | cptvf | unit_byte |
| HALF_LOCKED2 | &dev->mutex |
drivers/crypto/marvell/octeontx/otx_cptvf_mbox.c otx_cptvf_send_vf_priority_msg() -> cptvf_send_msg_to_pf_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cptvf | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->cqinfo.qchunksize | 1023 |
| PARAM_VALUE | 0 | cptvf->flags | 2 |
| PARAM_VALUE | 0 | cptvf->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->pdev->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->pdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->pf_acked | 0 |
| PARAM_VALUE | 0 | cptvf->pf_nacked | 0 |
| PARAM_VALUE | 0 | cptvf->priority | 1 |
| PARAM_VALUE | 0 | cptvf->reg_base | 4096-ptr_max |
| PARAM_VALUE | 1 | mbx | 1572949193629081600 |
| PARAM_VALUE | 1 | mbx->data | 1 |
| PARAM_VALUE | 1 | mbx->msg | 6 |
| BUF_SIZE | 0 | cptvf | 216 |
| BUF_SIZE | 0 | cptvf->pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| DATA_SOURCE | 0 | cptvf | $0 |
| MEM_ZERO | 0 | cptvf | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | cptvf->pdev->current_state | 0-3[c] |
| NO_OVERFLOW_SIMPLE | 0 | cptvf->vfgrp |
drivers/crypto/marvell/octeontx/otx_cptvf_mbox.c otx_cptvf_send_vf_to_grp_msg() -> cptvf_send_msg_to_pf_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mbx | 4363255820296871936 |
| PARAM_VALUE | 1 | mbx->data | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 1 | mbx->msg | 5 |
| BUF_SIZE | 0 | cptvf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cptvf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | cptvf->pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| DATA_SOURCE | 0 | cptvf | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | cptvf->pdev->current_state | 0-3[c] |
| USER_DATA | 1 | mbx->data | 0-7 |
| UNITS | 0 | cptvf | unit_byte |
| HALF_LOCKED2 | &of->mutex |
drivers/crypto/marvell/octeontx/otx_cptvf_mbox.c otx_cptvf_send_vf_up() -> cptvf_send_msg_to_pf_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cptvf | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->cqinfo.qchunksize | 1023 |
| PARAM_VALUE | 0 | cptvf->flags | 2 |
| PARAM_VALUE | 0 | cptvf->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->pdev->bus | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.bus | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.class | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.devres_head.prev | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.driver | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.driver_data | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.power.request | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.power.runtime_error | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.power.wakeirq | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->dev.type | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->driver | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->is_virtfn | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->pcie_cap | 0 |
| PARAM_VALUE | 0 | cptvf->pdev->state_saved | 0 |
| PARAM_VALUE | 0 | cptvf->pf_acked | 0 |
| PARAM_VALUE | 0 | cptvf->pf_nacked | 0 |
| PARAM_VALUE | 0 | cptvf->priority | 1 |
| PARAM_VALUE | 0 | cptvf->reg_base | 4096-ptr_max |
| PARAM_VALUE | 1 | mbx | 3568811874775719936 |
| PARAM_VALUE | 1 | mbx->data | 0 |
| PARAM_VALUE | 1 | mbx->msg | 1 |
| BUF_SIZE | 0 | cptvf | 216 |
| BUF_SIZE | 0 | cptvf->pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| DATA_SOURCE | 0 | cptvf | $0 |
| MEM_ZERO | 0 | cptvf | |
| MEM_ZERO | 0 | cptvf->pdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | cptvf->pdev->current_state | 0[c] |
| NO_OVERFLOW_SIMPLE | 0 | cptvf->vfgrp |
drivers/crypto/marvell/octeontx/otx_cptvf_mbox.c otx_cptvf_send_vq_size_msg() -> cptvf_send_msg_to_pf_timeout()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cptvf | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->cqinfo.qchunksize | 1023 |
| PARAM_VALUE | 0 | cptvf->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->pdev->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->pdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | cptvf->pf_acked | 0 |
| PARAM_VALUE | 0 | cptvf->pf_nacked | 0 |
| PARAM_VALUE | 0 | cptvf->qsize | 0 |
| PARAM_VALUE | 0 | cptvf->reg_base | 4096-ptr_max |
| PARAM_VALUE | 1 | mbx | 4983318029753245696 |
| PARAM_VALUE | 1 | mbx->data | 0 |
| PARAM_VALUE | 1 | mbx->msg | 4 |
| BUF_SIZE | 0 | cptvf | 216 |
| BUF_SIZE | 0 | cptvf->pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| DATA_SOURCE | 0 | cptvf | $0 |
| MEM_ZERO | 0 | cptvf | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | cptvf->pdev->current_state | 0-3[c] |