Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/i915/gvt/scheduler.c complete_current_workload() -> intel_vgpu_destroy_workload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | workload | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->req | 0 |
| PARAM_VALUE | 0 | workload->shadow_mm | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_mm->pincount.counter | 0-s32max |
| PARAM_VALUE | 0 | workload->vgpu->gvt->irq.irq_map->down_irq_bitmask | 0-4294967295 |
| PARAM_VALUE | 0 | workload->vgpu->gvt->irq.irq_map->down_irq_group | s32min-s32max |
| PARAM_VALUE | 0 | workload->vgpu->gvt->irq.irq_map->up_irq_bit | s32min-s32max |
| PARAM_VALUE | 0 | workload->vgpu->gvt->irq.irq_map->up_irq_group | s32min-s32max |
| PARAM_VALUE | 0 | workload->vgpu->gvt->irq.ops->check_pending_irq | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->vgpu->vgpu_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | workload->vgpu->vgpu_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | workload->vgpu->vgpu_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | workload->vgpu->vgpu_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | workload->vgpu->vgpu_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | workload->vgpu->vgpu_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | workload->vgpu->vgpu_lock.wait_lock.owner_cpu | u32max |
| NOCHECK_CALL | |||
| USER_DATA | 0 | workload->rb_tail | 0-u64max |
| LOCK2 | &gvt->sched_lock | ||
| LOCK2 | &vgpu->vgpu_lock | ||
| TYPE_LOCK | (struct intel_gvt)->sched_lock | ||
| TYPE_LOCK | (struct intel_vgpu)->vgpu_lock |
drivers/gpu/drm/i915/gvt/scheduler.c intel_vgpu_clean_workloads() -> intel_vgpu_destroy_workload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | workload | 4096-ptr_max |
| CAPPED_DATA | 0 | &workload->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &device->dev_set->lock | ||
| HALF_LOCKED2 | &gvt->sched_lock | ||
| HALF_LOCKED2 | &vgpu->vgpu_lock |
drivers/gpu/drm/i915/gvt/scheduler.c intel_vgpu_create_workload() -> intel_vgpu_destroy_workload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | workload | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->ctx_desc.addressing_mode | 1,3 |
| PARAM_VALUE | 0 | workload->ctx_desc.valid | 1 |
| PARAM_VALUE | 0 | workload->engine | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->engine->mmio_base | 0,4096-2147479552 |
| PARAM_VALUE | 0 | workload->guest_rb_head | 0-u32max |
| PARAM_VALUE | 0 | workload->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->lri_shadow_mm.next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->lri_shadow_mm.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->lri_shadow_mm.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->lri_shadow_mm.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->lri_shadow_mm.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->rb_ctl | 0-u32max |
| PARAM_VALUE | 0 | workload->rb_head | 0-u32max |
| PARAM_VALUE | 0 | workload->rb_len | 0-2097151 |
| PARAM_VALUE | 0 | workload->rb_start | 0-u32max |
| PARAM_VALUE | 0 | workload->rb_tail | 0,8-2097144 |
| PARAM_VALUE | 0 | workload->ring_context_gpa | 0-18446744073709551614 |
| PARAM_VALUE | 0 | workload->shadow | 0 |
| PARAM_VALUE | 0 | workload->shadow_bb.next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_bb.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_bb.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_bb.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_bb.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_ctx_active.counter | 0 |
| PARAM_VALUE | 0 | workload->shadow_ctx_status_wq.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_ctx_status_wq.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_ctx_status_wq.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_ctx_status_wq.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_ctx_status_wq.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_mm | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_mm->pincount.counter | 0 |
| PARAM_VALUE | 0 | workload->shadow_mm->ppgtt_mm.link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_mm->ppgtt_mm.link.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_mm->ppgtt_mm.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_mm->ppgtt_mm.lru_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_mm->ppgtt_mm.root_entry_type | 11-12 |
| PARAM_VALUE | 0 | workload->shadow_mm->ppgtt_mm.shadowed | 1 |
| PARAM_VALUE | 0 | workload->shadow_mm->ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | workload->shadow_mm->type | 1 |
| PARAM_VALUE | 0 | workload->shadow_mm->vgpu | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->status | (-115) |
| PARAM_VALUE | 0 | workload->vgpu | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->vgpu->d3_entered | 0 |
| PARAM_VALUE | 0 | workload->vgpu->gtt.ggtt_mm | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->vgpu->gtt.ppgtt_mm_list_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->vgpu->gtt.ppgtt_mm_list_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->vgpu->gtt.ppgtt_mm_list_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->vgpu->gvt | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->vgpu->gvt->gtt.ppgtt_mm_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | workload->vgpu->gvt->gtt.ppgtt_mm_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | workload->vgpu->gvt->gtt.ppgtt_mm_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | workload->vgpu->gvt->gtt.ppgtt_mm_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | workload->vgpu->gvt->gtt.ppgtt_mm_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | workload->vgpu->gvt->gtt.ppgtt_mm_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | workload->vgpu->gvt->gtt.ppgtt_mm_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | workload->vgpu->gvt->gtt.ppgtt_mm_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | workload->vgpu->gvt->gtt.ppgtt_mm_lru_list_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->vgpu->gvt->gtt.ppgtt_mm_lru_list_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->vgpu->gvt->gtt.ppgtt_mm_lru_list_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->vgpu->submission.workloads | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->vgpu->vfio_device.group->container->iommu_data->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | workload->vgpu->vfio_device.group->container->iommu_data->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | workload->vgpu->vfio_device.iommufd_access->ioas->iopt.iova_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | workload->vgpu->vfio_device.iommufd_access->ioas->iopt.iova_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | workload->vgpu->vfio_device.iommufd_access->ioas_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | workload->vgpu->vfio_device.iommufd_access->ioas_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | workload->vgpu->vfio_device.iommufd_access->ioas_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | workload->vgpu->vfio_device.iommufd_access->ioas_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | workload->vgpu->vfio_device.kvm->vm_bugged | 0-1 |
| PARAM_VALUE | 0 | workload->vgpu->vfio_device.kvm->vm_dead | 0-1 |
| PARAM_VALUE | 0 | *workload->vgpu->submission->ring_scan_buffer_size | 1-2097151 |
| CAPPED_DATA | 0 | workload->rb_start | 1 |
| DATA_SOURCE | 0 | workload | r alloc_workload |
| BIT_INFO | 0 | workload->rb_tail | 0x0,0x1ffff8 |
| NOSPEC | 0 | workload->rb_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | workload->ring_context_gpa | 0-70368744177663[c] |
| USER_DATA | 0 | workload->guest_rb_head | 0-u32max |
| USER_DATA | 0 | workload->rb_ctl | 0-u32max |
| USER_DATA | 0 | workload->rb_head | 0,4-2097148[c] |
| USER_DATA | 0 | workload->rb_start | 0-u32max[c] |
| USER_DATA | 0 | workload->rb_tail | 0,8-2097144[c] |
| USER_DATA | 0 | workload->ring_context_gpa | 0-18446744073709551614[c] |
| USER_DATA | 0 | workload->vgpu->display.i2c_edid.current_edid_read | 0-255[c] |
| USER_DATA | 0 | workload->vgpu->display.i2c_edid.gmbus.cycle_type | 0-7[c] |
| USER_DATA | 0 | workload->vgpu->display.i2c_edid.gmbus.total_byte_count | 0-511[c] |
| USER_DATA | 0 | workload->wa_ctx.indirect_ctx.guest_gma | 0,64-u32max[c] |
| USER_DATA | 0 | workload->wa_ctx.indirect_ctx.size | 0-4032[c] |
| USER_DATA | 0 | workload->wa_ctx.per_ctx.guest_gma | 0,4096-u32max[c] |
| USER_DATA | 0 | workload->wa_ctx.per_ctx.valid | 0-1[c] |
| HALF_LOCKED2 | &vgpu->vgpu_lock |
drivers/gpu/drm/i915/gvt/scheduler.c intel_vgpu_create_workload() -> intel_vgpu_destroy_workload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | workload | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->ctx_desc.addressing_mode | 1,3 |
| PARAM_VALUE | 0 | workload->ctx_desc.valid | 1 |
| PARAM_VALUE | 0 | workload->engine | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->engine->mmio_base | 0,4096-2147479552 |
| PARAM_VALUE | 0 | workload->guest_rb_head | 0-u32max |
| PARAM_VALUE | 0 | workload->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->lri_shadow_mm.next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->lri_shadow_mm.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->lri_shadow_mm.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->lri_shadow_mm.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->lri_shadow_mm.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->rb_ctl | 0-u32max |
| PARAM_VALUE | 0 | workload->rb_head | 0-u32max |
| PARAM_VALUE | 0 | workload->rb_start | 0-u32max |
| PARAM_VALUE | 0 | workload->rb_tail | 0,8-2097144 |
| PARAM_VALUE | 0 | workload->ring_context_gpa | 0-18446744073709551614 |
| PARAM_VALUE | 0 | workload->shadow_bb.next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_bb.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_bb.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_bb.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_bb.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_ctx_active.counter | 0 |
| PARAM_VALUE | 0 | workload->shadow_ctx_status_wq.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_ctx_status_wq.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_ctx_status_wq.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_ctx_status_wq.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_ctx_status_wq.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_mm | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_mm->pincount.counter | 0 |
| PARAM_VALUE | 0 | workload->shadow_mm->ppgtt_mm.link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_mm->ppgtt_mm.link.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_mm->ppgtt_mm.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_mm->ppgtt_mm.lru_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->shadow_mm->ppgtt_mm.root_entry_type | 11-12 |
| PARAM_VALUE | 0 | workload->shadow_mm->ppgtt_mm.shadowed | 1 |
| PARAM_VALUE | 0 | workload->shadow_mm->ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | workload->shadow_mm->type | 1 |
| PARAM_VALUE | 0 | workload->shadow_mm->vgpu | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->status | (-115) |
| PARAM_VALUE | 0 | workload->vgpu | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->vgpu->d3_entered | 0 |
| PARAM_VALUE | 0 | workload->vgpu->gtt.ggtt_mm | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->vgpu->gtt.ppgtt_mm_list_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->vgpu->gtt.ppgtt_mm_list_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->vgpu->gtt.ppgtt_mm_list_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->vgpu->gvt | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->vgpu->gvt->gtt.ppgtt_mm_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | workload->vgpu->gvt->gtt.ppgtt_mm_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | workload->vgpu->gvt->gtt.ppgtt_mm_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | workload->vgpu->gvt->gtt.ppgtt_mm_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | workload->vgpu->gvt->gtt.ppgtt_mm_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | workload->vgpu->gvt->gtt.ppgtt_mm_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | workload->vgpu->gvt->gtt.ppgtt_mm_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | workload->vgpu->gvt->gtt.ppgtt_mm_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | workload->vgpu->gvt->gtt.ppgtt_mm_lru_list_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->vgpu->gvt->gtt.ppgtt_mm_lru_list_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->vgpu->gvt->gtt.ppgtt_mm_lru_list_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->vgpu->submission.workloads | 4096-ptr_max |
| PARAM_VALUE | 0 | workload->vgpu->vfio_device.group->container->iommu_data->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | workload->vgpu->vfio_device.group->container->iommu_data->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | workload->vgpu->vfio_device.iommufd_access->ioas->iopt.iova_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | workload->vgpu->vfio_device.iommufd_access->ioas->iopt.iova_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | workload->vgpu->vfio_device.iommufd_access->ioas_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | workload->vgpu->vfio_device.iommufd_access->ioas_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | workload->vgpu->vfio_device.iommufd_access->ioas_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | workload->vgpu->vfio_device.iommufd_access->ioas_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | workload->vgpu->vfio_device.kvm->vm_bugged | 0-1 |
| PARAM_VALUE | 0 | workload->vgpu->vfio_device.kvm->vm_dead | 0-1 |
| CAPPED_DATA | 0 | workload->rb_start | 1 |
| DATA_SOURCE | 0 | workload | r alloc_workload |
| BIT_INFO | 0 | workload->rb_tail | 0x0,0x1ffff8 |
| NOSPEC | 0 | workload->rb_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | workload->ring_context_gpa | 0-70368744177663[c] |
| USER_DATA | 0 | workload->guest_rb_head | 0-u32max |
| USER_DATA | 0 | workload->rb_ctl | 0-u32max |
| USER_DATA | 0 | workload->rb_head | 0,4-2097148[c] |
| USER_DATA | 0 | workload->rb_start | 0-u32max[c] |
| USER_DATA | 0 | workload->rb_tail | 0,8-2097144[c] |
| USER_DATA | 0 | workload->ring_context_gpa | 0-18446744073709551614[c] |
| USER_DATA | 0 | workload->vgpu->display.i2c_edid.current_edid_read | 0-255[c] |
| USER_DATA | 0 | workload->vgpu->display.i2c_edid.gmbus.cycle_type | 0-7[c] |
| USER_DATA | 0 | workload->vgpu->display.i2c_edid.gmbus.total_byte_count | 0-511[c] |
| USER_DATA | 0 | workload->wa_ctx.indirect_ctx.guest_gma | 0,64-u32max[c] |
| USER_DATA | 0 | workload->wa_ctx.indirect_ctx.size | 0-4032[c] |
| USER_DATA | 0 | workload->wa_ctx.per_ctx.guest_gma | 0,4096-u32max[c] |
| USER_DATA | 0 | workload->wa_ctx.per_ctx.valid | 0-1[c] |
| HALF_LOCKED2 | &vgpu->vgpu_lock |