Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c, line 173
- drivers/gpu/drm/i915/gem/i915_gem_object.c, line 776
- drivers/gpu/drm/i915/gem/selftests/i915_gem_migrate.c, line 81
- drivers/gpu/drm/i915/i915_bo.c, line 137
Smatch caller information:
drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c i915_gem_dmabuf_attach() -> i915_gem_object_can_migrate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 0 |
| DATA_SOURCE | 0 | obj | r dma_buf_to_obj |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->object_name_lock | ||
| HALF_LOCKED2 | &file_priv->prime.lock |
drivers/gpu/drm/i915/gem/i915_gem_object.c __i915_gem_object_migrate() -> i915_gem_object_can_migrate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | obj->obj_link.next | 159553267526410392,460035036174889112,3890376628320120984,4909251368295780504,5253578350464016536,5820987673129783448,7921385115042738328 |
| PARAM_VALUE | 0 | obj->ops->migrate | 0,4096-ptr_max |
| PARAM_VALUE | 1 | id | 0-1 |
| BUF_SIZE | 0 | obj | (-1)-s32max |
| BUF_SIZE | 0 | obj | (-1)-s32max |
| DATA_SOURCE | 0 | obj | $0 |
| DATA_SOURCE | 1 | id | $2 |
| HARD_MAX | 1 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | obj->base.resv |
drivers/gpu/drm/i915/gem/i915_gem_object.c igt_create_migrate() -> i915_gem_object_can_migrate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | obj->gvt_info->obj->vgpu->cache_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->mm.get_dma_page.sg_pos | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->mm.get_page.sg_idx | 0 |
| PARAM_VALUE | 0 | obj->mm.mapping | 18379471554275704832-18379471556423188479,18446612682070032384-18446612684217516031 |
| PARAM_VALUE | 0 | obj->mm.region->objects.lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | obj->mm.region->objects.lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->mm.region->objects.lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | obj->mm.region->objects.lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | obj->mm.region->region_private->bdev->lru_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->mm.region_link.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->obj_link.next | 4909251368295780504,5820987673129783448 |
| PARAM_VALUE | 0 | obj->ops->migrate | 0,4096-ptr_max |
| PARAM_VALUE | 1 | id | 0-1 |
| DATA_SOURCE | 0 | obj | r i915_gem_object_create_region |
| DATA_SOURCE | 1 | id | $1 |
| HARD_MAX | 1 | id | 1 |
| LOCK2 | 0 | obj->base.resv |
drivers/gpu/drm/i915/i915_bo.c i915_bo_framebuffer_lookup() -> i915_gem_object_can_migrate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 1-u64max |
| PARAM_VALUE | 0 | obj->base.refcount.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | id | 1 |
| DATA_SOURCE | 0 | obj | r i915_gem_object_lookup |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &crtc->cursor->mutex | ||
| HALF_LOCKED2 | &crtc->mutex |