Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/phy/sfp.c sfp_sm_mod_remove() -> sfp_module_remove()

Type Parameter Key Value
PARAM_VALUE 0 bus->registered 0-1
PARAM_VALUE 0 bus->socket_ops 0-s64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &sfp->sm_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct sfp)->sm_mutex

drivers/net/phy/sfp.c sfp_sm_module() -> sfp_module_remove()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 0 bus->caps.link_modes 4096-ptr_max
PARAM_VALUE 0 bus->caps.port 0,3,5,255
PARAM_VALUE 0 bus->upstream->config->mac_capabilities 0-4294967295
PARAM_VALUE 0 bus->upstream->port 0,3,5,255
PARAM_VALUE 0 bus->upstream->sfp_may_have_phy 0-1
PARAM_VALUE 0 bus->upstream->sfp_port 0-255
PARAM_VALUE 0 *bus->upstream->netdev->name 0-255
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &sfp->sm_mutex
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct sfp)->sm_mutex