Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/cadence/macb_main.c macb_get_eth_mac_stats() -> macb_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 macb_get_eth_phy_stats() -> macb_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 macb_get_pause_stats() -> macb_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 macb_get_rmon_stats() -> macb_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 macb_get_stats() -> macb_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