Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/phy/sfp.c sfp_read() -> (struct 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 3 buf 16,4096-ptr_max
PARAM_VALUE 4 len 0-4000000,4294967041-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
BUF_SIZE 3 buf (-1)-s32max
BUF_SIZE 3 buf (-1)-s32max
DATA_SOURCE 0 sfp $0
DATA_SOURCE 1 a2 $1
DATA_SOURCE 2 dev_addr $2
DATA_SOURCE 3 buf $3
DATA_SOURCE 4 len $4
CONTAINER 0 -96+0 $(-1)
NOSPEC 2 dev_addr
NOSPEC 2 dev_addr
NOSPEC 4 len
NOSPEC 4 len
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 dev_addr 0-255
USER_DATA 4 len 0-511,4294967042-u32max
NO_OVERFLOW_SIMPLE 2 dev_addr
NO_OVERFLOW_SIMPLE 4 len
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 0 &sfp->sm_mutex
HALF_LOCKED2 0 &sfp->st_mutex