Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/ethernet/mscc/ocelot_net.c ocelot_devlink_sb_tc_pool_bind_get() -> ocelot_sb_tc_pool_bind_get()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 3 tc_index 0-65534
PARAM_VALUE 4 pool_type 0-1
PARAM_VALUE 5 p_pool_index 6916230706750115840
PARAM_VALUE 6 p_threshold 2616026290326605824
CAPPED_DATA 3 tc_index 1
DATA_SOURCE 0 ocelot r devlink_port_to_ocelot
DATA_SOURCE 1 port r devlink_port_to_port
DATA_SOURCE 2 sb_index $1
DATA_SOURCE 3 tc_index $2
DATA_SOURCE 4 pool_type $3
DATA_SOURCE 5 p_pool_index $4
DATA_SOURCE 6 p_threshold $5
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &devlink->lock

drivers/net/dsa/ocelot/felix.c felix_sb_tc_pool_bind_get() -> ocelot_sb_tc_pool_bind_get()

Type Parameter Key Value
PARAM_VALUE 3 tc_index 0-65534
PARAM_VALUE 4 pool_type 0-1
PARAM_VALUE 5 p_pool_index 6916230706750115840
PARAM_VALUE 6 p_threshold 2616026290326605824
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
CAPPED_DATA 3 tc_index 1
DATA_SOURCE 1 port $1
DATA_SOURCE 2 sb_index $2
DATA_SOURCE 3 tc_index $3
DATA_SOURCE 4 pool_type $4
DATA_SOURCE 5 p_pool_index $5
DATA_SOURCE 6 p_threshold $6
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ocelot unit_byte
HALF_LOCKED2 &devlink->lock