Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/broadcom/tg3.c tg3_chk_missed_msi() -> tg3_has_work()

Type Parameter Key Value
PARAM_VALUE 0 tnapi 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tp->lock
TYPE_LOCK (struct tg3)->lock

drivers/net/ethernet/broadcom/tg3.c tg3_int_reenable() -> tg3_has_work()

Type Parameter Key Value
PARAM_VALUE 0 tnapi 4096-ptr_max
PARAM_VALUE 0 tnapi->hw_status 4096-ptr_max
PARAM_VALUE 0 tnapi->rx_rcb_prod_idx 0,4096-ptr_max
PARAM_VALUE 0 tnapi->tp 4096-ptr_max
PARAM_VALUE 0 tnapi->tp->tg3_flags 4096-ptr_max
PARAM_VALUE 0 tnapi->tx_cons 0-u16max
CAPPED_DATA 0 tnapi 1
CAPPED_DATA 0 tnapi->tx_cons 1
DATA_SOURCE 0 tnapi $0

drivers/net/ethernet/broadcom/tg3.c tg3_interrupt() -> tg3_has_work()

Type Parameter Key Value
PARAM_VALUE 0 tnapi 4096-ptr_max
PARAM_VALUE 0 tnapi->hw_status 4096-ptr_max
PARAM_VALUE 0 tnapi->hw_status->status 0,2-u32max
PARAM_VALUE 0 tnapi->tp 4096-ptr_max
PARAM_VALUE 0 tnapi->tp->tg3_flags 4096-ptr_max
DATA_SOURCE 0 tnapi $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

drivers/net/ethernet/broadcom/tg3.c tg3_poll() -> tg3_has_work()

Type Parameter Key Value
PARAM_VALUE 0 tnapi 4096-ptr_max
PARAM_VALUE 0 tnapi->hw_status 4096-ptr_max
PARAM_VALUE 0 tnapi->tp->tg3_flags 4096-ptr_max