Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/intel/i40e/i40e_debugfs.c
- drivers/net/ethernet/intel/i40e/i40e_main.c, line 6616
- drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
Smatch caller information:
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_pci_sriov_configure() -> i40e_do_reset_safe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pf | 4096-ptr_max |
| PARAM_VALUE | 0 | pf->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | pf->state | 4096-ptr_max |
| PARAM_VALUE | 1 | reset_flags | 32768 |
| BUF_SIZE | 0 | pf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pf | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | pf | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | &pdev->dev.mutex | ||
| LOCK2 | global &pci_rescan_remove_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_pci_sriov_configure() -> i40e_do_reset_safe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pf | 4096-ptr_max |
| PARAM_VALUE | 0 | pf->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | pf->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pf->state | 4096-ptr_max |
| PARAM_VALUE | 0 | pf->vf | 0 |
| PARAM_VALUE | 1 | reset_flags | 32768 |
| BUF_SIZE | 0 | pf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pf | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | pf->pdev->sriov->offset | 0 |
| HOST_DATA | 0 | pf->pdev->sriov->stride | 0 |
| UNITS | 0 | pf | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | &pdev->dev.mutex | ||
| LOCK2 | global &pci_rescan_remove_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/ethernet/intel/i40e/i40e_debugfs.c i40e_dbg_command_write() -> i40e_do_reset_safe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pf | 4096-ptr_max |
| PARAM_VALUE | 0 | pf->flags | 4096-ptr_max |
| PARAM_VALUE | 1 | reset_flags | 16384 |
| BUF_SIZE | 0 | pf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pf | s32min-(-2),1-s32max |
| NOCHECK_CALL |
drivers/net/ethernet/intel/i40e/i40e_debugfs.c i40e_dbg_command_write() -> i40e_do_reset_safe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pf | 4096-ptr_max |
| PARAM_VALUE | 0 | pf->pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pf->pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pf->pdev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 1 | reset_flags | 16384 |
| BUF_SIZE | 0 | pf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pf | s32min-(-2),1-s32max |
| NOCHECK_CALL |
drivers/net/ethernet/intel/i40e/i40e_debugfs.c i40e_dbg_command_write() -> i40e_do_reset_safe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pf | 4096-ptr_max |
| PARAM_VALUE | 0 | pf->pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pf->pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pf->pdev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 1 | reset_flags | 65536 |
| BUF_SIZE | 0 | pf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pf | s32min-(-2),1-s32max |
| NOCHECK_CALL |
drivers/net/ethernet/intel/i40e/i40e_debugfs.c i40e_dbg_command_write() -> i40e_do_reset_safe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pf | 4096-ptr_max |
| PARAM_VALUE | 0 | pf->pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pf->pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pf->pdev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 1 | reset_flags | 131072 |
| BUF_SIZE | 0 | pf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pf | s32min-(-2),1-s32max |
| NOCHECK_CALL |
drivers/net/ethernet/intel/i40e/i40e_main.c i40e_create_queue_channel() -> i40e_do_reset_safe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pf | 4096-ptr_max |
| PARAM_VALUE | 0 | pf->flags | 4096-ptr_max |
| PARAM_VALUE | 1 | reset_flags | 16384 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | pf->hw.nvm.eetrack | 0-u32max |
| HOST_DATA | 0 | pf->hw.nvm.hw_semaphore_timeout | 0-4299262262295[c] |
| HOST_DATA | 0 | pf->hw.nvm.oem_ver | 0-u32max |
| UNITS | 0 | pf | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex |