Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_accumulate_port_stats() -> __bnxt_accumulate_stats()

Type Parameter Key Value
PARAM_VALUE 3 count 66
PARAM_VALUE 4 ignore_zero 0
BUF_SIZE 0 hw_stats 1-u16max
BUF_SIZE 0 hw_stats 1-u16max
BUF_SIZE 1 sw_stats 1-u16max
BUF_SIZE 1 sw_stats 1-u16max
BUF_SIZE 2 masks 1-u16max
BUF_SIZE 2 masks 1-u16max
PREEMPT_ADD
NOCHECK_CALL
LOCK2 &bp->stats_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct bnxt)->stats_lock

drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_accumulate_port_stats() -> __bnxt_accumulate_stats()

Type Parameter Key Value
PARAM_VALUE 1 sw_stats 4096-ptr_max
PARAM_VALUE 3 count 51
PARAM_VALUE 4 ignore_zero 0
PREEMPT_ADD
NOCHECK_CALL
LOCK2 &bp->stats_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct bnxt)->stats_lock

drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_accumulate_ring_stats() -> __bnxt_accumulate_stats()

Type Parameter Key Value
BUF_SIZE 0 hw_stats 1-u16max
BUF_SIZE 1 sw_stats 1-u16max
BUF_SIZE 2 masks 1-u16max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &bp->stats_lock
TYPE_LOCK (struct bnxt)->stats_lock

drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_accumulate_stats() -> __bnxt_accumulate_stats()

Type Parameter Key Value
PARAM_VALUE 0 hw_stats 1-u64max
PARAM_VALUE 4 ignore_zero 0
BUF_SIZE 0 hw_stats 1-u16max
BUF_SIZE 1 sw_stats 1-u16max
BUF_SIZE 2 masks 1-u16max
NOCHECK_CALL