Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/microchip/sparx5/sparx5_psfp.c sparx5_psfp_sg_add() -> sparx5_psfp_sg_set()

Type Parameter Key Value
PARAM_VALUE 0 sparx5 4096-ptr_max
PARAM_VALUE 0 sparx5->data 4096-ptr_max
PARAM_VALUE 0 sparx5->data->consts 4096-ptr_max
PARAM_VALUE 0 sparx5->data->consts->n_gates 256,1024
PARAM_VALUE 1 id 1-u32max
PARAM_VALUE 2 sg 8072983322972672000
PARAM_VALUE 2 sg->cycletime 0,1000-999999999
PARAM_VALUE 2 sg->cycletimeext 0-999999999
PARAM_VALUE 2 sg->ipv 0-7,u32max
PARAM_VALUE 2 sg->num_entries 0-3
CAPPED_DATA 0 sparx5->data->consts->n_gates 1
DATA_SOURCE 0 sparx5 $0
DATA_SOURCE 2 sg $2
FUZZY_MAX 2 sg->cycletime 1000000
FUZZY_MAX 2 sg->ipv 0
FUZZY_MAX 2 sg->num_entries 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock

drivers/net/ethernet/microchip/sparx5/sparx5_psfp.c sparx5_psfp_sg_del() -> sparx5_psfp_sg_set()

Type Parameter Key Value
PARAM_VALUE 0 sparx5 4096-ptr_max
PARAM_VALUE 0 sparx5->data 4096-ptr_max
PARAM_VALUE 0 sparx5->data->consts 4096-ptr_max
PARAM_VALUE 0 sparx5->data->consts->n_filters 256,1024
PARAM_VALUE 0 sparx5->data->consts->n_gates 256,1024
PARAM_VALUE 0 sparx5->data->consts->n_lb_groups 5,10
PARAM_VALUE 0 sparx5->data->consts->n_sdlbs 496,4096
PARAM_VALUE 1 id 1-u32max
PARAM_VALUE 2 sg 3404627242730803200
PARAM_VALUE 2 sg->basetime.tv_nsec 0
PARAM_VALUE 2 sg->basetime.tv_sec 0
PARAM_VALUE 2 sg->cycletime 0
PARAM_VALUE 2 sg->cycletimeext 0
PARAM_VALUE 2 sg->gate_state 0
PARAM_VALUE 2 sg->ipv 0
PARAM_VALUE 2 sg->num_entries 0
DATA_SOURCE 0 sparx5 $0
DATA_SOURCE 1 id $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock