Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpio/gpio-virtio.c, line 552
- drivers/net/can/virtio_can.c, line 735
- drivers/net/virtio_net.c
Smatch caller information:
drivers/net/can/virtio_can.c virtio_can_config_changed() -> virtio_cread16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config->del_vqs | 3457662646198779904,4540088415867748352,5024372139014213632,9123018950478393344 |
| PARAM_VALUE | 0 | vdev->config->get | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config->get_extended_features | 0,6730071979336241152 |
| PARAM_VALUE | 0 | vdev->config->get_status | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config->reset | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config->set_status | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config_core_enabled | 1 |
| PARAM_VALUE | 0 | vdev->config_driver_disabled | 0 |
| PARAM_VALUE | 1 | offset | 0 |
| DATA_SOURCE | 0 | vdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | vdev->failed | 0-1 |
| NO_OVERFLOW_SIMPLE | 0 | vdev->priv->num_vqs | |
| LOCK2 | 0 | &vdev->config_lock | |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct virtio_device)->config_lock |
drivers/gpio/gpio-virtio.c virtio_gpio_probe() -> virtio_cread16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config->get | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config->get_extended_features | 0,6730071979336241152 |
| PARAM_VALUE | 0 | vdev->config->get_status | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config->set_status | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->debugfs_filter_features | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->features_array | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0 |
| DATA_SOURCE | 0 | vdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/virtio_net.c virtnet_probe() -> virtio_cread16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config->get | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config->get_extended_features | 0,6730071979336241152 |
| PARAM_VALUE | 0 | vdev->config->get_status | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config->set_status | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->debugfs_filter_features | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->features_array | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 8 |
| DATA_SOURCE | 0 | vdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/virtio_net.c virtnet_probe() -> virtio_cread16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config->get | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config->get_extended_features | 0,6730071979336241152 |
| PARAM_VALUE | 0 | vdev->config->get_status | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config->set_status | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->debugfs_filter_features | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vdev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vdev->features_array | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->priv | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 18 |
| DATA_SOURCE | 0 | vdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/virtio_net.c virtnet_probe() -> virtio_cread16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config->get | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config->get_extended_features | 0,6730071979336241152 |
| PARAM_VALUE | 0 | vdev->config->get_status | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config->set_status | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->debugfs_filter_features | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vdev->features_array | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->priv | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 10 |
| DATA_SOURCE | 0 | vdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/virtio_net.c virtnet_validate() -> virtio_cread16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config->get | 358061320328622080,6500970494416850944,8025957840625967104,8389438907370876928,9078089697165746176 |
| PARAM_VALUE | 0 | vdev->config->get_extended_features | 0,6730071979336241152 |
| PARAM_VALUE | 0 | vdev->config->get_status | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config->set_status | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->debugfs_filter_features | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vdev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vdev->features_array | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 10 |
| DATA_SOURCE | 0 | vdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |