Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/mscc/ocelot_stats.c ocelot_get_ethtool_stats() -> ocelot_port_stats_run()

Type Parameter Key Value
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 2 priv (-1),8-2147483640
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 port $1
DATA_SOURCE 2 priv $2
NOCHECK_CALL
UNITS 0 ocelot unit_byte
UNITS 1 port unit_array_size

drivers/net/ethernet/mscc/ocelot_stats.c ocelot_port_get_eth_ctrl_stats() -> ocelot_port_stats_run()

Type Parameter Key Value
PARAM_VALUE 2 priv 4096-ptr_max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 port $1
DATA_SOURCE 2 priv $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ocelot unit_byte

drivers/net/ethernet/mscc/ocelot_stats.c ocelot_port_get_eth_ctrl_stats() -> ocelot_port_stats_run()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->mm_supported 1
PARAM_VALUE 2 priv 4096-ptr_max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 port $1
DATA_SOURCE 2 priv $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ocelot unit_byte

drivers/net/ethernet/mscc/ocelot_stats.c ocelot_port_get_eth_mac_stats() -> ocelot_port_stats_run()

Type Parameter Key Value
PARAM_VALUE 2 priv 4096-ptr_max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 port $1
DATA_SOURCE 2 priv $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ocelot unit_byte

drivers/net/ethernet/mscc/ocelot_stats.c ocelot_port_get_eth_mac_stats() -> ocelot_port_stats_run()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->mm_supported 1
PARAM_VALUE 2 priv 4096-ptr_max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 port $1
DATA_SOURCE 2 priv $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ocelot unit_byte

drivers/net/ethernet/mscc/ocelot_stats.c ocelot_port_get_eth_phy_stats() -> ocelot_port_stats_run()

Type Parameter Key Value
PARAM_VALUE 2 priv 4096-ptr_max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 port $1
DATA_SOURCE 2 priv $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ocelot unit_byte

drivers/net/ethernet/mscc/ocelot_stats.c ocelot_port_get_eth_phy_stats() -> ocelot_port_stats_run()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->mm_supported 1
PARAM_VALUE 2 priv 4096-ptr_max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 port $1
DATA_SOURCE 2 priv $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ocelot unit_byte

drivers/net/ethernet/mscc/ocelot_stats.c ocelot_port_get_mm_stats() -> ocelot_port_stats_run()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->mm_supported 1
PARAM_VALUE 2 priv 4096-ptr_max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 port $1
DATA_SOURCE 2 priv $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ocelot unit_byte

drivers/net/ethernet/mscc/ocelot_stats.c ocelot_port_get_pause_stats() -> ocelot_port_stats_run()

Type Parameter Key Value
PARAM_VALUE 2 priv 4096-ptr_max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 port $1
DATA_SOURCE 2 priv $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ocelot unit_byte

drivers/net/ethernet/mscc/ocelot_stats.c ocelot_port_get_pause_stats() -> ocelot_port_stats_run()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->mm_supported 1
PARAM_VALUE 2 priv 4096-ptr_max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 port $1
DATA_SOURCE 2 priv $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ocelot unit_byte

drivers/net/ethernet/mscc/ocelot_stats.c ocelot_port_get_rmon_stats() -> ocelot_port_stats_run()

Type Parameter Key Value
PARAM_VALUE 2 priv 4096-ptr_max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 port $1
DATA_SOURCE 2 priv $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ocelot unit_byte

drivers/net/ethernet/mscc/ocelot_stats.c ocelot_port_get_rmon_stats() -> ocelot_port_stats_run()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->mm_supported 1
PARAM_VALUE 2 priv 4096-ptr_max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 port $1
DATA_SOURCE 2 priv $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ocelot unit_byte