Defined in 2 files as a function:
- drivers/virtio/virtio_pci_legacy.c, line 21 (as a function)
- drivers/virtio/virtio_pci_modern.c, line 25 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/virtio/virtio_debug.c virtio_get_features() -> (struct virtio_config_ops)->get_features()
| 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_extended_features | 0 |
| BUF_SIZE | 0 | vdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | vdev | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | vdev | $0 |
| CONTAINER | 0 | -72-1776+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/virtio/virtio.c virtio_get_features() -> (struct virtio_config_ops)->get_features()
| 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_extended_features | 0 |
| PARAM_VALUE | 0 | vdev->config->get_status | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config->set_status | 4096-ptr_max |
| DATA_SOURCE | 0 | vdev | $0 |
| CONTAINER | 0 | -72-1776+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/virtio/virtio_debug.c virtio_get_features() -> (struct virtio_config_ops)->get_extended_features()
| 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_extended_features | 6730071979336241152 |
| PARAM_VALUE | 1 | features | 2225163803325947904 |
| BUF_SIZE | 0 | vdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | vdev | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | features | 16 |
| BUF_SIZE | 1 | features | 16 |
| DATA_SOURCE | 0 | vdev | $0 |
| DATA_SOURCE | 1 | features | $1 |
| CONTAINER | 0 | -80-1776+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/virtio/virtio.c virtio_get_features() -> (struct virtio_config_ops)->get_extended_features()
| 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_extended_features | 6730071979336241152 |
| PARAM_VALUE | 0 | vdev->config->get_status | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config->set_status | 4096-ptr_max |
| PARAM_VALUE | 1 | features | 4534496434731745280 |
| BUF_SIZE | 1 | features | 16 |
| BUF_SIZE | 1 | features | 16 |
| DATA_SOURCE | 0 | vdev | $0 |
| DATA_SOURCE | 1 | features | $1 |
| CONTAINER | 0 | -80-1776+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |