Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c, line 480 (as a function)
- drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c, line 487 (as a function)
Referenced in 3 files:
- drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c
- drivers/crypto/marvell/octeontx2/otx2_cpt_devlink.c, line 108
- drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c
Smatch caller information:
drivers/crypto/marvell/octeontx2/otx2_cpt_devlink.c otx2_cpt_dl_info_firmware_version_put() -> find_engines_by_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eng_grp | 4096-ptr_max |
| PARAM_VALUE | 1 | eng_type | 1-3 |
| CAPPED_DATA | 1 | eng_type | 1 |
| DATA_SOURCE | 1 | eng_type | $3 |
| HARD_MAX | 1 | eng_type | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dl->lock |
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c eng_grp_update_masks() -> find_engines_by_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eng_grp | 4096-ptr_max |
| PARAM_VALUE | 1 | eng_type | s32min-(-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &eng_grps->lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct otx_cpt_eng_grps)->lock |
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c print_engs_info() -> find_engines_by_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | eng_type | s32min-(-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &eng_grp->g->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c update_requested_engs() -> find_engines_by_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eng_grp | 4096-ptr_max |
| DATA_SOURCE | 0 | eng_grp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &eng_grps->lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct otx_cpt_eng_grps)->lock |
drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c eng_grp_has_eng_type() -> find_engines_by_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eng_grp | 4096-ptr_max |
| PARAM_VALUE | 1 | eng_type | 1-3 |
| CAPPED_DATA | 1 | eng_type | 1 |
| DATA_SOURCE | 0 | eng_grp | $0 |
| DATA_SOURCE | 1 | eng_type | $1 |
| FUZZY_MAX | 1 | eng_type | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c eng_grp_update_masks() -> find_engines_by_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eng_grp | 4096-ptr_max |
| PARAM_VALUE | 1 | eng_type | s32min-(-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &eng_grps->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock | ||
| TYPE_LOCK | (struct otx2_cpt_eng_grps)->lock |
drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c update_requested_engs() -> find_engines_by_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eng_grp | 4096-ptr_max |
| DATA_SOURCE | 0 | eng_grp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &eng_grps->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock | ||
| TYPE_LOCK | (struct otx2_cpt_eng_grps)->lock |