Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/microchip/vcap/vcap_api.c vcap_add_rule() -> vcap_encode_rule()

Type Parameter Key Value
PARAM_VALUE 0 ri 4096-ptr_max
PARAM_VALUE 0 ri->admin 4096-ptr_max
PARAM_VALUE 0 ri->admin->vctrl->lock.dep_map->name 0-255
PARAM_VALUE 0 ri->admin->vctrl->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ri->admin->vctrl->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ri->ndev->priv->lan966x->stats_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ri->ndev->priv->sparx5->queue_stats_lock.dep_map->name 0-255
PARAM_VALUE 0 ri->ndev->priv->sparx5->queue_stats_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ri->ndev->priv->sparx5->queue_stats_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ri->ndev->priv->sparx5->queue_stats_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ri->ndev->priv->sparx5->queue_stats_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ri->ndev->priv->sparx5->queue_stats_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ri->state 0-1
PARAM_VALUE 0 ri->vctrl 4096-ptr_max
PARAM_VALUE 0 ri->vctrl->ops 4096-ptr_max
PARAM_VALUE 0 ri->vctrl->ops->cache_erase 4096-ptr_max
PARAM_VALUE 0 ri->vctrl->ops->cache_read 4096-ptr_max
PARAM_VALUE 0 ri->vctrl->ops->cache_write 4096-ptr_max
PARAM_VALUE 0 ri->vctrl->ops->init 4096-ptr_max
PARAM_VALUE 0 ri->vctrl->ops->move 4096-ptr_max
PARAM_VALUE 0 ri->vctrl->ops->port_info 4096-ptr_max
PARAM_VALUE 0 ri->vctrl->ops->update 4096-ptr_max
PARAM_VALUE 0 ri->vctrl->vcaps 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &ri->admin->vctrl->lock
TYPE_LOCK (struct vcap_control)->lock

drivers/net/ethernet/microchip/vcap/vcap_api.c vcap_enable_rule() -> vcap_encode_rule()

Type Parameter Key Value
PARAM_VALUE 0 ri 4096-ptr_max
PARAM_VALUE 0 ri->data.vcap_chain_id s32min-99998
PARAM_VALUE 0 ri->ndev 1-u64max
PARAM_VALUE 0 ri->state 2
PARAM_VALUE 0 ri->vctrl 4096-ptr_max
PARAM_VALUE 0 ri->vctrl->ops 4096-ptr_max
PARAM_VALUE 0 ri->vctrl->ops->cache_erase 4096-ptr_max
CAPPED_DATA 0 ri->data.vcap_chain_id 1
CAPPED_DATA 0 ri->ndev 1
DATA_SOURCE 0 ri $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &admin->vctrl->lock
TYPE_LOCK (struct vcap_control)->lock

drivers/net/ethernet/microchip/vcap/vcap_api.c vcap_mod_rule() -> vcap_encode_rule()

Type Parameter Key Value
PARAM_VALUE 0 ri 4096-ptr_max
PARAM_VALUE 0 ri->state 0-1
PARAM_VALUE 0 ri->vctrl 4096-ptr_max
PARAM_VALUE 0 ri->vctrl->ops 4096-ptr_max
PARAM_VALUE 0 ri->vctrl->ops->cache_erase 4096-ptr_max
PARAM_VALUE 0 ri->vctrl->ops->cache_read 4096-ptr_max
PARAM_VALUE 0 ri->vctrl->ops->cache_write 4096-ptr_max
PARAM_VALUE 0 ri->vctrl->ops->init 4096-ptr_max
PARAM_VALUE 0 ri->vctrl->ops->move 4096-ptr_max
PARAM_VALUE 0 ri->vctrl->ops->port_info 4096-ptr_max
PARAM_VALUE 0 ri->vctrl->ops->update 4096-ptr_max
CAPPED_DATA 0 ri->data.id 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &admin->vctrl->lock