Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/vhost/iotlb.c vhost_iotlb_add_range_ctx() -> vhost_iotlb_map_unlink()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iotlb | 4096-ptr_max |
| PARAM_VALUE | 0 | iotlb->flags | 1-u32max |
| PARAM_VALUE | 0 | iotlb->limit | 1-u32max |
| PARAM_VALUE | 0 | iotlb->nmaps | 1-u32max |
| PARAM_VALUE | 1 | map | 4096-ptr_max |
| BUF_SIZE | 0 | iotlb | (-1),48 |
| BUF_SIZE | 0 | iotlb | (-1),48 |
| CAPPED_DATA | 0 | iotlb->limit | 1 |
| DATA_SOURCE | 0 | iotlb | $0 |
| PARAM_COMPARE | 0 | iotlb->limit | <= $0->nmaps |
| BIT_INFO | 0 | iotlb->flags | 0x1,0xffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mm->mmap_lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &domain->iotlb_lock | ||
| HALF_LOCKED2 | &vdpasim->iommu_lock |
drivers/vhost/iotlb.c vhost_iotlb_map_free() -> vhost_iotlb_map_unlink()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iotlb | 4096-ptr_max |
| PARAM_VALUE | 0 | iotlb->root.rb_root.rb_node | 1-u64max |
| PARAM_VALUE | 1 | map | 4096-ptr_max |
| CAPPED_DATA | 1 | map->start | 1 |
| DATA_SOURCE | 0 | iotlb | $0 |
| DATA_SOURCE | 1 | map | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &domain->iotlb_lock |