Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/qlogic/qed/qed_main.c
- drivers/net/ethernet/qlogic/qed/qed_mcp.c, line 3498
- drivers/net/ethernet/qlogic/qed/qed_selftest.c, line 140
Smatch caller information:
drivers/net/ethernet/qlogic/qed/qed_selftest.c qed_selftest_nvram() -> qed_mcp_nvm_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | p_buf | 16,4096-ptr_max |
| PARAM_VALUE | 3 | len | 0-4000000 |
| BUF_SIZE | 2 | p_buf | 0-u32max |
| BUF_SIZE | 2 | p_buf | 0-u32max |
| DATA_SOURCE | 2 | p_buf | r _kzalloc_noprof |
| BYTE_COUNT | 2 | ==p_buf3 | 8050 |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/qlogic/qed/qed_main.c qed_nvm_flash_image_access() -> qed_mcp_nvm_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->hwfns | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->pdev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->pdev->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | p_buf | 766389115510636544 |
| PARAM_VALUE | 3 | len | 4 |
| BUF_SIZE | 2 | p_buf | 4 |
| DATA_SOURCE | 0 | cdev | $0 |
| UNITS | 1 | addr | unit_byte |
drivers/net/ethernet/qlogic/qed/qed_main.c qed_nvm_flash_image_access_crc() -> qed_mcp_nvm_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->hwfns | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->pdev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cdev->pdev->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | p_buf | 16,4096-ptr_max |
| PARAM_VALUE | 3 | len | 0-4000000 |
| BUF_SIZE | 2 | p_buf | 0-u32max |
| BUF_SIZE | 2 | p_buf | 0-u32max |
| DATA_SOURCE | 0 | cdev | $0 |
| DATA_SOURCE | 2 | p_buf | r _kzalloc_noprof |
| UNITS | 1 | addr | unit_byte |
| BYTE_COUNT | 2 | ==p_buf3 | 8050 |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/qlogic/qed/qed_mcp.c qed_mcp_get_nvm_image() -> qed_mcp_nvm_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | len | 5-u32max |
| CAPPED_DATA | 3 | len | 1 |
| DATA_SOURCE | 2 | p_buf | $2 |
| FUZZY_MAX | 3 | len | 5 |
| MEM_ZERO | 2 | p_buf | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | addr | unit_byte |
| UNITS | 2 | p_buf | unit_byte |
| UNITS | 3 | len | unit_byte |
| HALF_LOCKED2 | global &qed_dbg_lock |