Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/phy/sfp.c sfp_check_state() -> sfp_get_state()

Type Parameter Key Value
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
CAPPED_DATA 0 &sfp->st_mutex 1
DATA_SOURCE 0 sfp $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &rtnl_mutex
LOCK2 0 &sfp->st_mutex
TYPE_LOCK (struct sfp)->st_mutex

drivers/net/phy/sfp.c sfp_probe() -> sfp_get_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_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_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
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,0x7fefffffbffcf000
RX_PATH
TASK_NOT_RUNNING