Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/wangxun/libwx/wx_sriov.c
- drivers/net/ethernet/wangxun/ngbe/ngbe_main.c, line 923
- drivers/net/ethernet/wangxun/txgbe/txgbe_main.c, line 998
Smatch caller information:
drivers/net/ethernet/wangxun/txgbe/txgbe_main.c txgbe_remove() -> wx_disable_sriov()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wx | 4096-ptr_max |
| BUF_SIZE | 0 | wx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | wx | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | wx | unit_byte |
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c ngbe_remove() -> wx_disable_sriov()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wx | 4096-ptr_max |
| BUF_SIZE | 0 | wx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | wx | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | wx | unit_byte |
drivers/net/ethernet/wangxun/libwx/wx_sriov.c wx_pci_sriov_disable() -> wx_disable_sriov()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wx | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->netdev->ethtool | 4096-ptr_max |
| BUF_SIZE | 0 | wx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | wx | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | wx | unit_byte |
| LOCK2 | &dev->dev.mutex | ||
| LOCK2 | &of->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 |