Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/cadence/macb_main.c gem_get_eth_mac_stats() -> gem_update_stats()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->stats_lock.rlock.dep_map->name 0-255
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &bp->stats_lock
TYPE_LOCK (struct macb)->stats_lock

drivers/net/ethernet/cadence/macb_main.c gem_get_eth_phy_stats() -> gem_update_stats()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->stats_lock.rlock.dep_map->name 0-255
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &bp->stats_lock
TYPE_LOCK (struct macb)->stats_lock

drivers/net/ethernet/cadence/macb_main.c gem_get_ethtool_stats() -> gem_update_stats()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->stats_lock.rlock.dep_map->name 0-255
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &bp->stats_lock
TYPE_LOCK (struct macb)->stats_lock

drivers/net/ethernet/cadence/macb_main.c gem_get_pause_stats() -> gem_update_stats()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->stats_lock.rlock.dep_map->name 0-255
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &bp->stats_lock
TYPE_LOCK (struct macb)->stats_lock

drivers/net/ethernet/cadence/macb_main.c gem_get_rmon_stats() -> gem_update_stats()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->stats_lock.rlock.dep_map->name 0-255
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &bp->stats_lock
TYPE_LOCK (struct macb)->stats_lock

drivers/net/ethernet/cadence/macb_main.c gem_get_stats() -> gem_update_stats()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->dev 4096-ptr_max
PARAM_VALUE 0 bp->stats_lock.rlock.dep_map->name 0-255
DATA_SOURCE 0 bp $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &bp->stats_lock
TYPE_LOCK (struct macb)->stats_lock