Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/microchip/vcap/vcap_api.c, line 681
- drivers/net/ethernet/microchip/vcap/vcap_api_kunit.c
Smatch caller information:
drivers/net/ethernet/microchip/vcap/vcap_api.c vcap_api_encode_keyfield_test() -> vcap_encode_keyfield()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ri | 7248248827802918912 |
| PARAM_VALUE | 0 | ri->addr | 0 |
| PARAM_VALUE | 0 | ri->admin | 3604026850789224448 |
| PARAM_VALUE | 0 | ri->data.id | 0 |
| PARAM_VALUE | 0 | ri->data.keyset | 18 |
| 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 |
| PARAM_VALUE | 1 | kf | 2644811719742894080 |
| PARAM_VALUE | 1 | kf->ctrl.key | 54 |
| PARAM_VALUE | 1 | kf->ctrl.type | 1 |
| PARAM_VALUE | 1 | kf->data.u1.mask | 0 |
| PARAM_VALUE | 1 | kf->data.u1.value | 0 |
| PARAM_VALUE | 1 | kf->data.u32.mask | 4095 |
| PARAM_VALUE | 1 | kf->data.u32.value | 4008711329 |
| PARAM_VALUE | 2 | rf | 6249029822889811968 |
| PARAM_VALUE | 2 | rf->offset | 56 |
| PARAM_VALUE | 2 | rf->type | 1 |
| PARAM_VALUE | 2 | rf->width | 12 |
| PARAM_VALUE | 3 | tgt | 4096-ptr_max |
| BUF_SIZE | 3 | tgt | 18 |
| NOCHECK_CALL |
drivers/net/ethernet/microchip/vcap/vcap_api.c vcap_api_encode_max_keyfield_test() -> vcap_encode_keyfield()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ri | 8482510468488019968 |
| PARAM_VALUE | 0 | ri->addr | 0 |
| PARAM_VALUE | 0 | ri->admin | 5772482378882998272 |
| PARAM_VALUE | 0 | ri->data.id | 0 |
| PARAM_VALUE | 0 | ri->data.keyset | 15 |
| 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 |
| PARAM_VALUE | 1 | kf | 1568507199536836608 |
| PARAM_VALUE | 1 | kf->ctrl.key | 79 |
| PARAM_VALUE | 1 | kf->ctrl.type | 7 |
| PARAM_VALUE | 1 | kf->data.u1.mask | 0 |
| PARAM_VALUE | 1 | kf->data.u1.value | 0 |
| PARAM_VALUE | 1 | kf->data.u32.mask | 0 |
| PARAM_VALUE | 1 | kf->data.u32.value | 0 |
| PARAM_VALUE | 2 | rf | 3396829683842236416 |
| PARAM_VALUE | 2 | rf->offset | 0 |
| PARAM_VALUE | 2 | rf->type | 7 |
| PARAM_VALUE | 2 | rf->width | 128 |
| PARAM_VALUE | 3 | tgt | 4096-ptr_max |
| BUF_SIZE | 3 | tgt | 18 |
| NOCHECK_CALL |
drivers/net/ethernet/microchip/vcap/vcap_api.c vcap_encode_rule_keyset() -> vcap_encode_keyfield()
| 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 |
| PARAM_VALUE | 1 | kf | 7439918552821800960 |
| PARAM_VALUE | 1 | kf->ctrl.key | 0-4294967294 |
| PARAM_VALUE | 1 | kf->ctrl.list.next | 7439918552821800960 |
| PARAM_VALUE | 1 | kf->ctrl.list.prev | 7439918552821800960 |
| PARAM_VALUE | 2 | rf | 4096-ptr_max |
| PARAM_VALUE | 3 | tgt | 1-u64max |
| CAPPED_DATA | 0 | ri->data.keyset | 1 |
| CAPPED_DATA | 0 | &ri->data.keyfields | 1 |
| DATA_SOURCE | 0 | ri | $0 |
| DATA_SOURCE | 3 | tgt | r vcap_keyfield_typegroup |
| PARAM_COMPARE | 0 | &ri->data.keyfields | != $0->data.keyfields.next |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 0 | &ri->admin->vctrl->lock |