Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/brocade/bna/bnad.c bnad_open() -> bnad_setup_tx()

Type Parameter Key Value
PARAM_VALUE 0 bnad->conf_mutex.dep_map->name 0-255
PARAM_VALUE 0 bnad->conf_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 bnad->conf_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 bnad->conf_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 bnad->conf_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 bnad->conf_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 bnad->conf_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 tx_id 0
CAPPED_DATA 0 &bnad->conf_mutex 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &bnad->conf_mutex
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct bnad)->conf_mutex

drivers/net/ethernet/brocade/bna/bnad_ethtool.c bnad_set_ringparam() -> bnad_setup_tx()

Type Parameter Key Value
PARAM_VALUE 0 bnad 4096-ptr_max
PARAM_VALUE 0 bnad->cfg_flags 0-4294967295
PARAM_VALUE 0 bnad->conf_mutex.dep_map->name 0-255
PARAM_VALUE 0 bnad->conf_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 bnad->conf_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 bnad->conf_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 bnad->conf_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 bnad->conf_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 bnad->conf_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 bnad->num_tx 1-u32max
PARAM_VALUE 0 bnad->rxq_depth 0
PARAM_VALUE 0 bnad->tx_info 4096-ptr_max
PARAM_VALUE 1 tx_id 0-s32max
CAPPED_DATA 0 &bnad->conf_mutex 1
CAPPED_DATA 1 tx_id 1
PARAM_COMPARE 0 bnad->num_tx > $1
PARAM_COMPARE 1 tx_id < $0->num_tx
RX_PATH
TASK_NOT_RUNNING
UNITS 1 tx_id unit_array_size
LOCK2 0 &bnad->conf_mutex
TYPE_LOCK (struct bnad)->conf_mutex