Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/vhost/vdpa.c vhost_vdpa_map() -> (struct vdpa_config_ops)->set_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config->dma_map | 0 |
| PARAM_VALUE | 0 | vdev->config->set_map | 1-u64max |
| PARAM_VALUE | 2 | iotlb | 4096-ptr_max |
| PARAM_VALUE | 2 | iotlb->limit | 1-u32max |
| PARAM_VALUE | 2 | iotlb->list.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | iotlb->root.rb_leftmost | 4096-ptr_max |
| PARAM_VALUE | 2 | iotlb->root.rb_leftmost->rb_left | 0 |
| PARAM_VALUE | 2 | iotlb->root.rb_leftmost->rb_right | 0 |
| PARAM_VALUE | 2 | iotlb->root.rb_root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 2 | iotlb->root.rb_root.rb_node->rb_left | 4096-ptr_max |
| CAPPED_DATA | 2 | iotlb | 1 |
| CAPPED_DATA | 2 | iotlb->limit | 1 |
| DATA_SOURCE | 1 | asid | r iotlb_to_asid |
| DATA_SOURCE | 2 | iotlb | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->mm->mmap_lock | ||
| LOCK2 | &dev->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock | ||
| TYPE_LOCK | (struct vhost_dev)->mutex |
drivers/vhost/vdpa.c vhost_vdpa_process_iotlb_msg() -> (struct vdpa_config_ops)->set_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config->set_map | 1-u64max |
| PARAM_VALUE | 2 | iotlb | 4096-ptr_max |
| BUF_SIZE | 2 | iotlb | 48 |
| CAPPED_DATA | 1 | asid | 1 |
| DATA_SOURCE | 1 | asid | $1 |
| DATA_SOURCE | 2 | iotlb | r asid_to_iotlb |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct vhost_dev)->mutex |
drivers/vhost/vdpa.c vhost_vdpa_unmap() -> (struct vdpa_config_ops)->set_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config | 4096-ptr_max |
| PARAM_VALUE | 0 | vdev->config->set_map | 1-u64max |
| PARAM_VALUE | 2 | iotlb | 4096-ptr_max |
| PARAM_VALUE | 2 | iotlb->root.rb_leftmost | 0,4096-ptr_max |
| PARAM_VALUE | 2 | iotlb->root.rb_leftmost->rb_left | 0 |
| BUF_SIZE | 2 | iotlb | (-1),48 |
| BUF_SIZE | 2 | iotlb | (-1),48 |
| CAPPED_DATA | 2 | iotlb | 1 |
| DATA_SOURCE | 1 | asid | r iotlb_to_asid |
| DATA_SOURCE | 2 | iotlb | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->mutex | ||
| HALF_LOCKED2 | &dev->mm->mmap_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct vhost_dev)->mutex |