Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/phy/sfp.c sfp_mod_state() -> sfp_set_state()

Type Parameter Key Value
PARAM_VALUE 0 sfp 4096-ptr_max
PARAM_VALUE 0 sfp->st_mutex.dep_map->name 0-255
PARAM_VALUE 0 sfp->st_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 sfp->st_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sfp->st_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 sfp->st_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 sfp->st_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 sfp->st_mutex.wait_lock.owner_cpu u32max
BUF_SIZE 0 sfp s32min-(-1),1-s32max
BUF_SIZE 0 sfp s32min-(-1),1-s32max
BUF_SIZE 0 sfp->dev (-1),1616
BUF_SIZE 0 sfp->type (-1),16
CAPPED_DATA 0 &sfp->st_mutex 1
DATA_SOURCE 0 sfp $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sfp unit_byte
LOCK2 0 &sfp->st_mutex
HALF_LOCKED2 0 &sfp->sm_mutex
TYPE_LOCK (struct sfp)->st_mutex

drivers/net/phy/sfp.c sfp_module_tx_fault_reset() -> sfp_set_state()

Type Parameter Key Value
PARAM_VALUE 0 sfp 4096-ptr_max
PARAM_VALUE 0 sfp->sfp_bus->registered 0-1
PARAM_VALUE 0 sfp->sfp_bus->socket_ops 0-s64max
PARAM_VALUE 0 sfp->sm_dev_state 2
PARAM_VALUE 0 sfp->sm_mod_state 6
PARAM_VALUE 0 sfp->sm_mutex.dep_map->name 0-255
PARAM_VALUE 0 sfp->sm_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 sfp->sm_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sfp->sm_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 sfp->sm_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 sfp->sm_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 sfp->sm_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 sfp->sm_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 sfp->sm_mutex.wait_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 sfp->sm_state 5,8
PARAM_VALUE 0 sfp->st_mutex.dep_map->name 0-255
PARAM_VALUE 0 sfp->st_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 sfp->st_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sfp->st_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 sfp->st_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 sfp->st_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 sfp->st_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 sfp->timeout->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 sfp->timeout.work.entry.next->next 1-u64max
PARAM_VALUE 0 sfp->timeout.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 sfp->timeout.work.entry.prev->next 1-u64max
PARAM_VALUE 0 sfp->timeout.work.entry.prev->prev 1-u64max
PARAM_VALUE 1 state 0,8-u32max
BUF_SIZE 0 sfp s32min-(-1),1-s32max
BUF_SIZE 0 sfp s32min-(-1),1-s32max
BUF_SIZE 0 sfp->dev (-1),1616
BUF_SIZE 0 sfp->type (-1),16
CAPPED_DATA 0 &sfp->st_mutex 1
DATA_SOURCE 0 sfp $0
BIT_INFO 1 state 0x8,0xffffffff
HARD_MAX 0 sfp->sm_state 8
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sfp unit_byte
LOCK2 0 &sfp->sm_mutex
LOCK2 0 &sfp->st_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct sfp)->sm_mutex
TYPE_LOCK (struct sfp)->st_mutex

drivers/net/phy/sfp.c sfp_module_tx_fault_reset() -> sfp_set_state()

Type Parameter Key Value
PARAM_VALUE 0 sfp 4096-ptr_max
PARAM_VALUE 0 sfp->i2c->dev.driver_data->adev->pm.mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 sfp->i2c->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sfp->i2c->dev.driver_data->adev->pm.mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 sfp->i2c->dev.driver_data->adev->pm.mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 sfp->i2c->dev.driver_data->adev->pm.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 sfp->i2c->dev.driver_data->adev->powerplay.pp_handle->msg_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 sfp->i2c->dev.driver_data->mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 sfp->set_state 4096-ptr_max
PARAM_VALUE 0 sfp->sfp_bus->registered 0-1
PARAM_VALUE 0 sfp->sfp_bus->socket_ops 0-s64max
PARAM_VALUE 0 sfp->sm_dev_state 2
PARAM_VALUE 0 sfp->sm_mod_state 6
PARAM_VALUE 0 sfp->sm_mutex.dep_map->name 0-255
PARAM_VALUE 0 sfp->sm_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 sfp->sm_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sfp->sm_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 sfp->sm_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 sfp->sm_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 sfp->sm_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 sfp->sm_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 sfp->sm_mutex.wait_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 sfp->sm_state 5,8
PARAM_VALUE 0 sfp->st_mutex.dep_map->name 0-255
PARAM_VALUE 0 sfp->st_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 sfp->st_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sfp->st_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 sfp->st_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 sfp->st_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 sfp->st_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 sfp->timeout->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 sfp->timeout.work.entry.next->next 1-u64max
PARAM_VALUE 0 sfp->timeout.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 sfp->timeout.work.entry.prev->next 1-u64max
PARAM_VALUE 0 sfp->timeout.work.entry.prev->prev 1-u64max
BUF_SIZE 0 sfp s32min-(-1),1-s32max
BUF_SIZE 0 sfp s32min-(-1),1-s32max
BUF_SIZE 0 sfp->dev (-1),1616
BUF_SIZE 0 sfp->type (-1),16
CAPPED_DATA 0 &sfp->st_mutex 1
DATA_SOURCE 0 sfp $0
BIT_INFO 1 state 0x0,0xfffffff7
HARD_MAX 0 sfp->sm_state 8
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sfp unit_byte
LOCK2 0 &sfp->sm_mutex
LOCK2 0 &sfp->st_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct sfp)->sm_mutex
TYPE_LOCK (struct sfp)->st_mutex

drivers/net/phy/sfp.c sfp_probe() -> sfp_set_state()

Type Parameter Key Value
PARAM_VALUE 0 sfp 4096-ptr_max
PARAM_VALUE 0 sfp->dev 4096-ptr_max
PARAM_VALUE 0 sfp->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 sfp->dev->class 0,4096-ptr_max
PARAM_VALUE 0 sfp->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 sfp->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 sfp->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 sfp->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 sfp->get_state 2181148141126438912,3307868492412002304,7227421800123383808
PARAM_VALUE 0 sfp->gpio 4096-ptr_max
PARAM_VALUE 0 sfp->i2c 4096-ptr_max
PARAM_VALUE 0 sfp->i2c->dev.driver_data->adev->pm.mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 sfp->i2c->dev.driver_data->adev->pm.mutex.dep_map->name 0-255
PARAM_VALUE 0 sfp->i2c->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sfp->i2c->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 sfp->i2c->dev.driver_data->adev->pm.mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 sfp->i2c->dev.driver_data->adev->pm.mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 sfp->i2c->dev.driver_data->adev->pm.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 sfp->i2c->dev.driver_data->adev->powerplay.pp_handle->msg_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 sfp->i2c_block_size 1-16
PARAM_VALUE 0 sfp->i2c_max_block_size 1-16
PARAM_VALUE 0 sfp->max_power_mW 1000-u32max
PARAM_VALUE 0 sfp->read 245933598625955840,1531755060434735104
PARAM_VALUE 0 sfp->set_state 2669978128621625344
PARAM_VALUE 0 sfp->sm_mutex.dep_map->name 0-255
PARAM_VALUE 0 sfp->sm_mutex.first_waiter 0
PARAM_VALUE 0 sfp->sm_mutex.magic 4096-ptr_max
PARAM_VALUE 0 sfp->sm_mutex.osq.tail.counter 0
PARAM_VALUE 0 sfp->sm_mutex.owner.counter 0
PARAM_VALUE 0 sfp->st_mutex.dep_map->name 0-255
PARAM_VALUE 0 sfp->st_mutex.first_waiter 0
PARAM_VALUE 0 sfp->st_mutex.magic 4096-ptr_max
PARAM_VALUE 0 sfp->st_mutex.osq.tail.counter 0
PARAM_VALUE 0 sfp->st_mutex.owner.counter 0
PARAM_VALUE 0 sfp->state 0,8-u32max
PARAM_VALUE 0 sfp->state_hw_drive 8
PARAM_VALUE 0 sfp->state_hw_mask 1
PARAM_VALUE 0 sfp->type 1-u64max
PARAM_VALUE 0 sfp->write 3667418840043540480,8332061681256071168
PARAM_VALUE 1 state 0,8-u32max
BUF_SIZE 0 sfp 1352
BUF_SIZE 0 sfp->dev 1616
BUF_SIZE 0 sfp->type (-1),16
DATA_SOURCE 0 sfp r sfp_alloc
FUZZY_MAX 0 sfp->max_power_mW 1000
BIT_INFO 0 sfp->get_state 0x444e08400400000,0xffffffffffffffff
BIT_INFO 0 sfp->state 0x8,0xffffffff
BIT_INFO 1 state 0x8,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL