Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/microchip/vcap/vcap_api.c, line 854
- drivers/net/ethernet/microchip/vcap/vcap_api_kunit.c
Smatch caller information:
drivers/net/ethernet/microchip/vcap/vcap_api.c vcap_api_encode_rule_actionset_test() -> vcap_encode_rule_actionset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ri | 2739816620998676480 |
| PARAM_VALUE | 0 | ri->addr | 0 |
| PARAM_VALUE | 0 | ri->admin | 1798179668609724416 |
| PARAM_VALUE | 0 | ri->data.actionfields.next | 2739816620998676520 |
| PARAM_VALUE | 0 | ri->data.actionfields.prev | 2739816620998676520 |
| PARAM_VALUE | 0 | ri->data.actionset | 1 |
| PARAM_VALUE | 0 | ri->data.id | 0 |
| PARAM_VALUE | 0 | ri->ndev | 0 |
| PARAM_VALUE | 0 | ri->size | 0 |
| PARAM_VALUE | 0 | ri->sort_key | 0 |
| PARAM_VALUE | 0 | ri->state | 0 |
| PARAM_VALUE | 0 | ri->vctrl | 7731862165291044864 |
drivers/net/ethernet/microchip/vcap/vcap_api.c vcap_api_encode_rule_actionset_test() -> vcap_encode_rule_actionset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ri | 2739816620998676480 |
| PARAM_VALUE | 0 | ri->addr | 0 |
| PARAM_VALUE | 0 | ri->admin | 1798179668609724416 |
| PARAM_VALUE | 0 | ri->data.actionfields.next | 2739816620998676520 |
| PARAM_VALUE | 0 | ri->data.actionfields.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ri->data.actionset | 1 |
| PARAM_VALUE | 0 | ri->data.id | 0 |
| PARAM_VALUE | 0 | ri->ndev | 0 |
| PARAM_VALUE | 0 | ri->size | 0 |
| PARAM_VALUE | 0 | ri->sort_key | 0 |
| PARAM_VALUE | 0 | ri->state | 0 |
| PARAM_VALUE | 0 | ri->vctrl | 7731862165291044864 |
drivers/net/ethernet/microchip/vcap/vcap_api.c vcap_encode_rule() -> vcap_encode_rule_actionset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ri | 4096-ptr_max |
| PARAM_VALUE | 0 | ri->admin | 4096-ptr_max |
| PARAM_VALUE | 0 | ri->data.keyset | 0-30 |
| PARAM_VALUE | 0 | ri->state | 0-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 |
| 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 |
| CAPPED_DATA | 0 | ri->data.keyset | 1 |
| DATA_SOURCE | 0 | ri | $0 |
| PARAM_COMPARE | 0 | &ri->data.keyfields | != $0->data.keyfields.next |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &admin->vctrl->lock | ||
| HALF_LOCKED2 | 0 | &ri->admin->vctrl->lock |