Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/net/ethernet/microchip/sparx5/sparx5_tc_flower.c sparx5_tc_flower_replace() -> vcap_alloc_rule()

Type Parameter Key Value
PARAM_VALUE 0 vctrl 4096-ptr_max
PARAM_VALUE 0 vctrl->ops 4096-ptr_max
PARAM_VALUE 1 ndev->priv->sparx5 4096-ptr_max
PARAM_VALUE 1 ndev->priv->sparx5->vcap_ctrl->ops 4096-ptr_max
PARAM_VALUE 3 user 6
PARAM_VALUE 5 id 0
BUF_SIZE 1 ndev 16,32,40,48,88,208,544,936
BUF_SIZE 1 ndev 16,32,40,48,88,208,544,936
CAPPED_DATA 2 vcap_chain_id 1
DATA_SOURCE 1 ndev $0
RX_PATH
TASK_NOT_RUNNING
UNITS 2 vcap_chain_id unit_array_size
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock

drivers/net/ethernet/microchip/sparx5/sparx5_tc_flower.c sparx5_tc_flower_template_create() -> vcap_alloc_rule()

Type Parameter Key Value
PARAM_VALUE 1 ndev->priv->sparx5 4096-ptr_max
PARAM_VALUE 3 user 6
PARAM_VALUE 5 id 0
BUF_SIZE 1 ndev 16,32,40,48,88,208,544,936
BUF_SIZE 1 ndev 16,32,40,48,88,208,544,936
CAPPED_DATA 2 vcap_chain_id 1
DATA_SOURCE 1 ndev $0
RX_PATH
TASK_NOT_RUNNING
UNITS 2 vcap_chain_id unit_array_size
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock

drivers/net/ethernet/microchip/vcap/vcap_api.c test_vcap_xn_rule_creator() -> vcap_alloc_rule()

Type Parameter Key Value
PARAM_VALUE 0 vctrl 7731862165291044864
PARAM_VALUE 1 ndev 6887329434240102400
PARAM_VALUE 2 vcap_chain_id 10000
PARAM_VALUE 3 user 4
PARAM_VALUE 4 priority 10,20,30,40,50
PARAM_VALUE 5 id 200,300,400,500
DATA_SOURCE 2 vcap_chain_id $1
DATA_SOURCE 3 user $2
DATA_SOURCE 4 priority $3
DATA_SOURCE 5 id $4
HARD_MAX 4 priority 50

drivers/net/ethernet/microchip/vcap/vcap_api.c vcap_api_encode_rule_test() -> vcap_alloc_rule()

Type Parameter Key Value
PARAM_VALUE 0 vctrl 7731862165291044864
PARAM_VALUE 1 ndev 6887329434240102400
PARAM_VALUE 2 vcap_chain_id 8000000
PARAM_VALUE 3 user 5
PARAM_VALUE 4 priority 10
PARAM_VALUE 5 id 100

drivers/net/ethernet/microchip/vcap/vcap_api.c vcap_copy_rule() -> vcap_alloc_rule()

Type Parameter Key Value
PARAM_VALUE 0 vctrl 4096-ptr_max
PARAM_VALUE 0 vctrl->ops 4096-ptr_max
PARAM_VALUE 0 vctrl->ops->cache_erase 4096-ptr_max
PARAM_VALUE 0 vctrl->ops->cache_read 4096-ptr_max
PARAM_VALUE 0 vctrl->ops->cache_write 4096-ptr_max
PARAM_VALUE 0 vctrl->ops->init 4096-ptr_max
PARAM_VALUE 0 vctrl->ops->move 4096-ptr_max
PARAM_VALUE 0 vctrl->ops->port_info 4096-ptr_max
PARAM_VALUE 0 vctrl->ops->update 4096-ptr_max
PARAM_VALUE 5 id 0
RX_PATH
TASK_NOT_RUNNING
UNITS 2 vcap_chain_id unit_array_size
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock

drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c lan966x_ptp_add_trap() -> vcap_alloc_rule()

Type Parameter Key Value
PARAM_VALUE 0 vctrl 0,4096-ptr_max
PARAM_VALUE 0 vctrl->ops 0,4096-ptr_max
PARAM_VALUE 0 vctrl->ops->cache_erase 4096-ptr_max
PARAM_VALUE 0 vctrl->ops->cache_read 4096-ptr_max
PARAM_VALUE 0 vctrl->ops->cache_write 4096-ptr_max
PARAM_VALUE 0 vctrl->ops->init 4096-ptr_max
PARAM_VALUE 0 vctrl->ops->move 4096-ptr_max
PARAM_VALUE 0 vctrl->ops->port_info 4096-ptr_max
PARAM_VALUE 0 vctrl->ops->update 4096-ptr_max
PARAM_VALUE 2 vcap_chain_id 8000000
PARAM_VALUE 3 user 0
PARAM_VALUE 4 priority 0
PARAM_VALUE 5 id 1000000-1000004
CAPPED_DATA 5 id 1
DATA_SOURCE 5 id $2
HARD_MAX 5 id 1000004
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/microchip/lan966x/lan966x_tc_flower.c lan966x_tc_flower_add() -> vcap_alloc_rule()

Type Parameter Key Value
PARAM_VALUE 0 vctrl 4096-ptr_max
PARAM_VALUE 0 vctrl->ops 4096-ptr_max
PARAM_VALUE 0 vctrl->ops->cache_erase 2484310660448706560,6644815546120077312,7470958739516108800,8747296395841019904
PARAM_VALUE 0 vctrl->ops->cache_read 2460452188402188288,4999809874325360640,5648917629714505728,7749437195518373888
PARAM_VALUE 0 vctrl->ops->cache_write 4881248133621678080,6791580002021109760,7083800483534848000,7840355138651742208
PARAM_VALUE 0 vctrl->ops->init 1065320554010304512,1511329109087485952,4135669250509279232,5713295340053602304
PARAM_VALUE 0 vctrl->ops->move 2094423276811427840,4896655955882807296,4939445492910854144,7409289420755533824
PARAM_VALUE 0 vctrl->ops->port_info 5164950458044342272,6068283141664002048,7222263244238143488,7348847604082769920
PARAM_VALUE 0 vctrl->ops->update 660886417044873216,2651302945017126912,4971322664388689920,6351075480333332480
PARAM_VALUE 3 user 6
PARAM_VALUE 5 id 0
CAPPED_DATA 2 vcap_chain_id 1
RX_PATH
TASK_NOT_RUNNING
UNITS 2 vcap_chain_id unit_array_size
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock