Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlxsw/pci.c mlxsw_pci_remove() -> mlxsw_core_bus_device_unregister()

Type Parameter Key Value
PARAM_VALUE 1 reload 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex

drivers/net/ethernet/mellanox/mlxsw/pci.c mlxsw_pci_reset_prepare() -> mlxsw_core_bus_device_unregister()

Type Parameter Key Value
PARAM_VALUE 1 reload 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pdev->dev.mutex

drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_devlink_core_bus_device_reload_down() -> mlxsw_core_bus_device_unregister()

Type Parameter Key Value
PARAM_VALUE 0 mlxsw_core 4096-ptr_max
PARAM_VALUE 0 mlxsw_core->bus 4096-ptr_max
PARAM_VALUE 1 reload 1
DATA_SOURCE 0 mlxsw_core r devlink_priv
BIT_INFO 0 mlxsw_core->bus->features 0x2,0xff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 global &pernet_ops_rwsem

drivers/net/ethernet/mellanox/mlxsw/i2c.c mlxsw_i2c_remove() -> mlxsw_core_bus_device_unregister()

Type Parameter Key Value
PARAM_VALUE 1 reload 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex