Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/phy/sfp.c sfp_hwmon_bias() -> sfp_read()

Type Parameter Key Value
PARAM_VALUE 1 a2 1
PARAM_VALUE 2 addr 112
PARAM_VALUE 3 buf 9112561050557132800
PARAM_VALUE 4 len 1
BUF_SIZE 0 sfp s32min-(-2),1-s32max
BUF_SIZE 0 sfp s32min-(-2),1-s32max
DATA_SOURCE 0 sfp $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sfp unit_byte
UNITS 4 len unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/net/phy/sfp.c sfp_hwmon_bias() -> sfp_read()

Type Parameter Key Value
PARAM_VALUE 1 a2 1
PARAM_VALUE 2 addr 116
PARAM_VALUE 3 buf 9112561050557132800
PARAM_VALUE 4 len 1
BUF_SIZE 0 sfp s32min-(-2),1-s32max
BUF_SIZE 0 sfp s32min-(-2),1-s32max
DATA_SOURCE 0 sfp $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sfp unit_byte
UNITS 4 len unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/net/phy/sfp.c sfp_hwmon_bias() -> sfp_read()

Type Parameter Key Value
PARAM_VALUE 1 a2 1
PARAM_VALUE 2 addr 116
PARAM_VALUE 3 buf 9112561050557132800
PARAM_VALUE 4 len 1
BUF_SIZE 0 sfp s32min-(-2),1-s32max
BUF_SIZE 0 sfp s32min-(-2),1-s32max
DATA_SOURCE 0 sfp $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sfp unit_byte
UNITS 4 len unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/net/phy/sfp.c sfp_hwmon_bias() -> sfp_read()

Type Parameter Key Value
PARAM_VALUE 1 a2 1
PARAM_VALUE 2 addr 112
PARAM_VALUE 3 buf 9112561050557132800
PARAM_VALUE 4 len 1
BUF_SIZE 0 sfp s32min-(-2),1-s32max
BUF_SIZE 0 sfp s32min-(-2),1-s32max
DATA_SOURCE 0 sfp $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sfp unit_byte
UNITS 4 len unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/net/phy/sfp.c sfp_hwmon_probe() -> sfp_read()

Type Parameter Key Value
PARAM_VALUE 0 sfp 4096-ptr_max
PARAM_VALUE 0 sfp->i2c_block_size 2-u64max
PARAM_VALUE 1 a2 1
PARAM_VALUE 2 addr 0
PARAM_VALUE 3 buf 4096-ptr_max
PARAM_VALUE 4 len 92
BUF_SIZE 3 buf 92
FUZZY_MAX 0 sfp->i2c_block_size 2
UNITS 4 len unit_byte
HALF_LOCKED2 &pool->lock

drivers/net/phy/sfp.c sfp_hwmon_read_sensor() -> sfp_read()

Type Parameter Key Value
PARAM_VALUE 1 a2 1
PARAM_VALUE 2 addr 96,98,100,102,104
PARAM_VALUE 3 buf 8509847530900680704
PARAM_VALUE 4 len 2
BUF_SIZE 0 sfp s32min-(-2),1-s32max
BUF_SIZE 0 sfp s32min-(-2),1-s32max
BUF_SIZE 3 buf 2
DATA_SOURCE 0 sfp $0
DATA_SOURCE 2 addr $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sfp unit_byte
UNITS 4 len unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock

drivers/net/phy/sfp.c sfp_hwmon_rx_power() -> sfp_read()

Type Parameter Key Value
PARAM_VALUE 1 a2 1
PARAM_VALUE 2 addr 113
PARAM_VALUE 3 buf 2752500954381266944
PARAM_VALUE 4 len 1
BUF_SIZE 0 sfp s32min-(-2),1-s32max
BUF_SIZE 0 sfp s32min-(-2),1-s32max
DATA_SOURCE 0 sfp $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sfp unit_byte
UNITS 4 len unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/net/phy/sfp.c sfp_hwmon_rx_power() -> sfp_read()

Type Parameter Key Value
PARAM_VALUE 1 a2 1
PARAM_VALUE 2 addr 117
PARAM_VALUE 3 buf 2752500954381266944
PARAM_VALUE 4 len 1
BUF_SIZE 0 sfp s32min-(-2),1-s32max
BUF_SIZE 0 sfp s32min-(-2),1-s32max
DATA_SOURCE 0 sfp $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sfp unit_byte
UNITS 4 len unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/net/phy/sfp.c sfp_hwmon_rx_power() -> sfp_read()

Type Parameter Key Value
PARAM_VALUE 1 a2 1
PARAM_VALUE 2 addr 117
PARAM_VALUE 3 buf 2752500954381266944
PARAM_VALUE 4 len 1
BUF_SIZE 0 sfp s32min-(-2),1-s32max
BUF_SIZE 0 sfp s32min-(-2),1-s32max
DATA_SOURCE 0 sfp $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sfp unit_byte
UNITS 4 len unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/net/phy/sfp.c sfp_hwmon_rx_power() -> sfp_read()

Type Parameter Key Value
PARAM_VALUE 1 a2 1
PARAM_VALUE 2 addr 113
PARAM_VALUE 3 buf 2752500954381266944
PARAM_VALUE 4 len 1
BUF_SIZE 0 sfp s32min-(-2),1-s32max
BUF_SIZE 0 sfp s32min-(-2),1-s32max
DATA_SOURCE 0 sfp $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sfp unit_byte
UNITS 4 len unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/net/phy/sfp.c sfp_hwmon_temp() -> sfp_read()

Type Parameter Key Value
PARAM_VALUE 1 a2 1
PARAM_VALUE 2 addr 112
PARAM_VALUE 3 buf 3495796849546653696
PARAM_VALUE 4 len 1
BUF_SIZE 0 sfp s32min-(-2),1-s32max
BUF_SIZE 0 sfp s32min-(-2),1-s32max
DATA_SOURCE 0 sfp $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sfp unit_byte
UNITS 4 len unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tz->lock

drivers/net/phy/sfp.c sfp_hwmon_temp() -> sfp_read()

Type Parameter Key Value
PARAM_VALUE 1 a2 1
PARAM_VALUE 2 addr 116
PARAM_VALUE 3 buf 3495796849546653696
PARAM_VALUE 4 len 1
BUF_SIZE 0 sfp s32min-(-2),1-s32max
BUF_SIZE 0 sfp s32min-(-2),1-s32max
DATA_SOURCE 0 sfp $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sfp unit_byte
UNITS 4 len unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tz->lock

drivers/net/phy/sfp.c sfp_hwmon_temp() -> sfp_read()

Type Parameter Key Value
PARAM_VALUE 1 a2 1
PARAM_VALUE 2 addr 116
PARAM_VALUE 3 buf 3495796849546653696
PARAM_VALUE 4 len 1
BUF_SIZE 0 sfp s32min-(-2),1-s32max
BUF_SIZE 0 sfp s32min-(-2),1-s32max
DATA_SOURCE 0 sfp $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sfp unit_byte
UNITS 4 len unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tz->lock

drivers/net/phy/sfp.c sfp_hwmon_temp() -> sfp_read()

Type Parameter Key Value
PARAM_VALUE 1 a2 1
PARAM_VALUE 2 addr 112
PARAM_VALUE 3 buf 3495796849546653696
PARAM_VALUE 4 len 1
BUF_SIZE 0 sfp s32min-(-2),1-s32max
BUF_SIZE 0 sfp s32min-(-2),1-s32max
DATA_SOURCE 0 sfp $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sfp unit_byte
UNITS 4 len unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tz->lock

drivers/net/phy/sfp.c sfp_hwmon_tx_power() -> sfp_read()

Type Parameter Key Value
PARAM_VALUE 1 a2 1
PARAM_VALUE 2 addr 112
PARAM_VALUE 3 buf 1067541655959998464
PARAM_VALUE 4 len 1
BUF_SIZE 0 sfp s32min-(-2),1-s32max
BUF_SIZE 0 sfp s32min-(-2),1-s32max
DATA_SOURCE 0 sfp $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sfp unit_byte
UNITS 4 len unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/net/phy/sfp.c sfp_hwmon_tx_power() -> sfp_read()

Type Parameter Key Value
PARAM_VALUE 1 a2 1
PARAM_VALUE 2 addr 116
PARAM_VALUE 3 buf 1067541655959998464
PARAM_VALUE 4 len 1
BUF_SIZE 0 sfp s32min-(-2),1-s32max
BUF_SIZE 0 sfp s32min-(-2),1-s32max
DATA_SOURCE 0 sfp $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sfp unit_byte
UNITS 4 len unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/net/phy/sfp.c sfp_hwmon_tx_power() -> sfp_read()

Type Parameter Key Value
PARAM_VALUE 1 a2 1
PARAM_VALUE 2 addr 116
PARAM_VALUE 3 buf 1067541655959998464
PARAM_VALUE 4 len 1
BUF_SIZE 0 sfp s32min-(-2),1-s32max
BUF_SIZE 0 sfp s32min-(-2),1-s32max
DATA_SOURCE 0 sfp $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sfp unit_byte
UNITS 4 len unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/net/phy/sfp.c sfp_hwmon_tx_power() -> sfp_read()

Type Parameter Key Value
PARAM_VALUE 1 a2 1
PARAM_VALUE 2 addr 112
PARAM_VALUE 3 buf 1067541655959998464
PARAM_VALUE 4 len 1
BUF_SIZE 0 sfp s32min-(-2),1-s32max
BUF_SIZE 0 sfp s32min-(-2),1-s32max
DATA_SOURCE 0 sfp $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sfp unit_byte
UNITS 4 len unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/net/phy/sfp.c sfp_hwmon_vcc() -> sfp_read()

Type Parameter Key Value
PARAM_VALUE 1 a2 1
PARAM_VALUE 2 addr 112
PARAM_VALUE 3 buf 4366640383292874752
PARAM_VALUE 4 len 1
BUF_SIZE 0 sfp s32min-(-2),1-s32max
BUF_SIZE 0 sfp s32min-(-2),1-s32max
DATA_SOURCE 0 sfp $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sfp unit_byte
UNITS 4 len unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/net/phy/sfp.c sfp_hwmon_vcc() -> sfp_read()

Type Parameter Key Value
PARAM_VALUE 1 a2 1
PARAM_VALUE 2 addr 116
PARAM_VALUE 3 buf 4366640383292874752
PARAM_VALUE 4 len 1
BUF_SIZE 0 sfp s32min-(-2),1-s32max
BUF_SIZE 0 sfp s32min-(-2),1-s32max
DATA_SOURCE 0 sfp $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sfp unit_byte
UNITS 4 len unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/net/phy/sfp.c sfp_hwmon_vcc() -> sfp_read()

Type Parameter Key Value
PARAM_VALUE 1 a2 1
PARAM_VALUE 2 addr 116
PARAM_VALUE 3 buf 4366640383292874752
PARAM_VALUE 4 len 1
BUF_SIZE 0 sfp s32min-(-2),1-s32max
BUF_SIZE 0 sfp s32min-(-2),1-s32max
DATA_SOURCE 0 sfp $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sfp unit_byte
UNITS 4 len unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/net/phy/sfp.c sfp_hwmon_vcc() -> sfp_read()

Type Parameter Key Value
PARAM_VALUE 1 a2 1
PARAM_VALUE 2 addr 112
PARAM_VALUE 3 buf 4366640383292874752
PARAM_VALUE 4 len 1
BUF_SIZE 0 sfp s32min-(-2),1-s32max
BUF_SIZE 0 sfp s32min-(-2),1-s32max
DATA_SOURCE 0 sfp $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sfp unit_byte
UNITS 4 len unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/net/phy/sfp.c sfp_modify_u8() -> sfp_read()

Type Parameter Key Value
PARAM_VALUE 0 sfp 4096-ptr_max
PARAM_VALUE 0 sfp->quirk->support 0,4096-ptr_max
PARAM_VALUE 0 sfp->sfp_bus->registered 0-1
PARAM_VALUE 0 sfp->sfp_bus->socket_ops 0-s64max
PARAM_VALUE 1 a2 1
PARAM_VALUE 2 addr 110,118
PARAM_VALUE 3 buf 614954113646895104
PARAM_VALUE 4 len 1
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
DATA_SOURCE 0 sfp $0
DATA_SOURCE 1 a2 $1
DATA_SOURCE 2 addr $2
HARD_MAX 2 addr 118
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sfp unit_byte
UNITS 4 len unit_byte
HALF_LOCKED2 0 &sfp->sm_mutex
HALF_LOCKED2 0 &sfp->st_mutex

drivers/net/phy/sfp.c sfp_module_eeprom() -> sfp_read()

Type Parameter Key Value
PARAM_VALUE 0 sfp 4096-ptr_max
PARAM_VALUE 0 sfp->state 1-u32max
PARAM_VALUE 1 a2 0
PARAM_VALUE 3 buf 16,4096-ptr_max
PARAM_VALUE 4 len 0-256,4294967041-u32max
BUF_SIZE 3 buf 0-512,4096
DATA_SOURCE 0 sfp $0
DATA_SOURCE 3 buf $2
BIT_INFO 0 sfp->state 0x1,0xffffffff
NOSPEC 2 addr
NOSPEC 2 addr
NOSPEC 4 len
NOSPEC 4 len
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 addr 0-255[c]
USER_DATA 4 len 0-255,4294967042-u32max
NO_OVERFLOW_SIMPLE 2 addr
NO_OVERFLOW_SIMPLE 4 len
UNITS 2 addr unit_byte
UNITS 4 len unit_byte

drivers/net/phy/sfp.c sfp_module_eeprom() -> sfp_read()

Type Parameter Key Value
PARAM_VALUE 0 sfp 4096-ptr_max
PARAM_VALUE 0 sfp->state 1-u32max
PARAM_VALUE 1 a2 1
PARAM_VALUE 3 buf 16,4096-ptr_max
PARAM_VALUE 4 len 0-512,4294967042-u32max
BUF_SIZE 3 buf (-1)-512,4096
DATA_SOURCE 0 sfp $0
DATA_SOURCE 3 buf $2
BIT_INFO 0 sfp->state 0x1,0xffffffffffffffff
NOSPEC 2 addr
NOSPEC 2 addr
NOSPEC 4 len
NOSPEC 4 len
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 addr 0-255
USER_DATA 4 len 0-511,4294967042-u32max
NO_OVERFLOW_SIMPLE 2 addr
NO_OVERFLOW_SIMPLE 4 len
UNITS 2 addr unit_byte
UNITS 4 len unit_byte

drivers/net/phy/sfp.c sfp_module_eeprom_by_page() -> sfp_read()

Type Parameter Key Value
PARAM_VALUE 0 sfp 4096-ptr_max
PARAM_VALUE 0 sfp->state 1-u32max
PARAM_VALUE 3 buf 16,4096-ptr_max
PARAM_VALUE 4 len 0-4000000
BUF_SIZE 3 buf 0-s32max
DATA_SOURCE 0 sfp $0
BIT_INFO 0 sfp->state 0x1,0xffffffff
RX_PATH
TASK_NOT_RUNNING
UNITS 4 len unit_byte

drivers/net/phy/sfp.c sfp_module_present_i2c() -> sfp_read()

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.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 sfp->st_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 a2 0
PARAM_VALUE 2 addr 0
PARAM_VALUE 3 buf 803247472896192512
PARAM_VALUE 4 len 1
BUF_SIZE 0 sfp->dev (-1),1616
BUF_SIZE 0 sfp->type (-1),16
DATA_SOURCE 0 sfp $0
RX_PATH
TASK_NOT_RUNNING
UNITS 4 len unit_byte
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 0 &sfp->st_mutex

drivers/net/phy/sfp.c sfp_sm_mod_probe() -> sfp_read()

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_mod_state 2
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 1 a2 0
PARAM_VALUE 2 addr 0
PARAM_VALUE 3 buf 8860886456375148544
PARAM_VALUE 4 len 64
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
BUF_SIZE 3 buf 64
DATA_SOURCE 0 sfp $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sfp unit_byte
UNITS 4 len unit_byte
LOCK2 0 &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_mod_probe() -> sfp_read()

Type Parameter Key Value
PARAM_VALUE 0 sfp 4096-ptr_max
PARAM_VALUE 0 sfp->dev 0,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->driver 0,4096-ptr_max
PARAM_VALUE 0 sfp->i2c->dev.driver_data->adev->pm.bus_locked 0-1
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->blocked_on 0
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
PARAM_VALUE 0 sfp->i2c_max_block_size 0,2-u64max
PARAM_VALUE 0 sfp->read 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_mod_state 2
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 1 a2 0
PARAM_VALUE 2 addr 0
PARAM_VALUE 3 buf 8860886456375148544
PARAM_VALUE 4 len 64
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
BUF_SIZE 3 buf 64
DATA_SOURCE 0 sfp $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sfp unit_byte
UNITS 4 len unit_byte
LOCK2 0 &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_mod_probe() -> sfp_read()

Type Parameter Key Value
PARAM_VALUE 0 sfp 4096-ptr_max
PARAM_VALUE 0 sfp->i2c->dev.driver_data->adev->pm.bus_locked 0-1
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->blocked_on 0
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->read 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_mod_state 2
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 1 a2 0
PARAM_VALUE 2 addr 64
PARAM_VALUE 3 buf 8860886456375148608
PARAM_VALUE 4 len 32
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
BUF_SIZE 3 buf 32
DATA_SOURCE 0 sfp $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sfp unit_byte
UNITS 4 len unit_byte
LOCK2 0 &sfp->sm_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct sfp)->sm_mutex

drivers/net/phy/sfp.c sfp_soft_get_state() -> sfp_read()

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.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 sfp->st_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 a2 1
PARAM_VALUE 2 addr 110
PARAM_VALUE 3 buf 497802346321600512
PARAM_VALUE 4 len 1
BUF_SIZE 0 sfp (-1),1352
BUF_SIZE 0 sfp (-1),1352
BUF_SIZE 0 sfp->dev (-1),1616
BUF_SIZE 0 sfp->type (-1),16
DATA_SOURCE 0 sfp $0
RX_PATH
TASK_NOT_RUNNING
UNITS 4 len unit_byte
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 0 &sfp->st_mutex