Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/ethtool/cmis_cdb.c cmis_cdb_wait_for_completion() -> ethtool_cmis_wait_for_cond()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 flags 2-4
PARAM_VALUE 2 flag 1
PARAM_VALUE 4 offset 8
PARAM_VALUE 6 cond_fail 0
PARAM_VALUE 7 state 1367736954090618880
DATA_SOURCE 0 dev $0
LOCK2 &pool->lock

net/ethtool/cmis_cdb.c cmis_cdb_wait_for_status() -> ethtool_cmis_wait_for_cond()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 flags 2-4
PARAM_VALUE 2 flag 2
PARAM_VALUE 4 offset 37
PARAM_VALUE 7 state 121907696915816448
DATA_SOURCE 0 dev $0
LOCK2 &pool->lock

net/ethtool/cmis_fw_update.c cmis_fw_update_wait_for_module_state() -> ethtool_cmis_wait_for_cond()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 *dev->name 0-255
PARAM_VALUE 1 flags 4
PARAM_VALUE 2 flag 4
PARAM_VALUE 3 max_duration 1000
PARAM_VALUE 4 offset 3
PARAM_VALUE 6 cond_fail 0
PARAM_VALUE 7 state 7040512365970649088
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 flags $1
HALF_LOCKED2 &pool->lock