Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/i915/selftests/i915_gem_gtt.c, line 1479
- drivers/gpu/drm/i915/selftests/i915_request.c
- drivers/gpu/drm/i915/selftests/i915_vma.c
Smatch caller information:
drivers/gpu/drm/i915/i915_vma.c igt_vma_create() -> mock_context_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines->fence.error | 0 |
| PARAM_VALUE | 0 | ctx->engines->fence.pending.counter | 1 |
| PARAM_VALUE | 0 | ctx->engines->fence.wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines->fence.wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->link.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->link.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->link.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->lut_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->lut_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctx->lut_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ctx->lut_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->lut_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctx->lut_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctx->lut_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | ctx->lut_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctx->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->stale.engines.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->stale.engines.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->stale.engines.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->_resv.fences | 0 |
| PARAM_VALUE | 0 | ctx->vm->_resv.lock.base.first_waiter | 0 |
| PARAM_VALUE | 0 | ctx->vm->_resv.lock.base.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->_resv.lock.base.owner.counter | 0 |
| PARAM_VALUE | 0 | ctx->vm->_resv.lock.ctx | 0 |
| PARAM_VALUE | 0 | ctx->vm->_resv.lock.ww_class | 8825623990767841280 |
| PARAM_VALUE | 0 | ctx->vm->bound_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->bound_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->mm.head_node.color | u64max |
| PARAM_VALUE | 0 | ctx->vm->mm.head_node.flags | 0 |
| PARAM_VALUE | 0 | ctx->vm->mm.head_node.hole_size | 1 |
| PARAM_VALUE | 0 | ctx->vm->mm.head_node.hole_stack.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->mm.head_node.hole_stack.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->mm.head_node.mm | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->mm.head_node.node_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->mm.head_node.node_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->mm.head_node.rb_hole_size.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | ctx->vm->mm.head_node.rb_hole_size.rb_left | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->mm.head_node.rb_hole_size.rb_right | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->mm.head_node.start | 1-u64max |
| PARAM_VALUE | 0 | ctx->vm->mm.head_node.subtree_max_hole | 1 |
| PARAM_VALUE | 0 | ctx->vm->mm.hole_stack.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->mm.hole_stack.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | ctx->vm->resv_ref.refcount.refs.counter | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | ctx->vm->unbound_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->unbound_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->vma_ops.bind_vma | 4134852526059319296 |
| PARAM_VALUE | 0 | ctx->vm->vma_ops.unbind_vma | 6106125664285884416 |
| NOCHECK_CALL |
drivers/gpu/drm/i915/i915_vma.c igt_vma_create() -> mock_context_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| NOCHECK_CALL |
drivers/gpu/drm/i915/i915_gem_gtt.c exercise_mock() -> mock_context_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines->fence.error | 0 |
| PARAM_VALUE | 0 | ctx->engines->fence.pending.counter | 1 |
| PARAM_VALUE | 0 | ctx->engines->fence.wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines->fence.wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->engines_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ctx->engines_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->engines_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ctx->engines_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | ctx->handles_vma.xa_flags | 3264 |
| PARAM_VALUE | 0 | ctx->handles_vma.xa_head | 0 |
| PARAM_VALUE | 0 | ctx->i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->link.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->link.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->link.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->link.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->lut_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->lut_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ctx->lut_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->lut_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ctx->lut_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | ctx->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ctx->mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ctx->mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | ctx->ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | ctx->stale.engines.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->stale.engines.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->stale.engines.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->stale.engines.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->stale.engines.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->_resv.fences | 0 |
| PARAM_VALUE | 0 | ctx->vm->_resv.lock.base.first_waiter | 0 |
| PARAM_VALUE | 0 | ctx->vm->_resv.lock.base.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->_resv.lock.base.owner.counter | 0 |
| PARAM_VALUE | 0 | ctx->vm->_resv.lock.ctx | 0 |
| PARAM_VALUE | 0 | ctx->vm->_resv.lock.ww_class | 8825623990767841280 |
| PARAM_VALUE | 0 | ctx->vm->bound_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->bound_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->mm.head_node.color | u64max |
| PARAM_VALUE | 0 | ctx->vm->mm.head_node.flags | 0 |
| PARAM_VALUE | 0 | ctx->vm->mm.head_node.hole_size | 1 |
| PARAM_VALUE | 0 | ctx->vm->mm.head_node.hole_stack.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->mm.head_node.hole_stack.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->mm.head_node.mm | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->mm.head_node.node_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->mm.head_node.node_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->mm.head_node.rb_hole_size.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | ctx->vm->mm.head_node.rb_hole_size.rb_left | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->mm.head_node.rb_hole_size.rb_right | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->mm.head_node.start | 1-u64max |
| PARAM_VALUE | 0 | ctx->vm->mm.head_node.subtree_max_hole | 1 |
| PARAM_VALUE | 0 | ctx->vm->mm.hole_stack.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->mm.hole_stack.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | ctx->vm->resv_ref.refcount.refs.counter | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | ctx->vm->unbound_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->unbound_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->vm->vma_ops.bind_vma | 4134852526059319296 |
| PARAM_VALUE | 0 | ctx->vm->vma_ops.unbind_vma | 6106125664285884416 |
| BUF_SIZE | 0 | ctx | 920 |
| DATA_SOURCE | 0 | ctx | r mock_context |
| NOCHECK_CALL |
drivers/gpu/drm/i915/i915_request.c igt_request_rewind() -> mock_context_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| NOCHECK_CALL |
drivers/gpu/drm/i915/i915_request.c igt_request_rewind() -> mock_context_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| NOCHECK_CALL |
drivers/gpu/drm/i915/i915_request.c mock_breadcrumbs_smoketest() -> mock_context_close()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1-u64max |
| NOCHECK_CALL |