Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/i915/gem/i915_gem_clflush.c, line 25
- drivers/gpu/drm/i915/gem/i915_gem_domain.c, line 71
- drivers/gpu/drm/i915/gem/i915_gem_phys.c, line 177
- drivers/gpu/drm/i915/i915_gem.c
Smatch caller information:
drivers/gpu/drm/i915/gem/i915_gem_clflush.c __do_clflush() -> i915_gem_object_frontbuffer_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->base._resv.lock.ww_class->is_wait_die | 0-s32max |
| PARAM_VALUE | 0 | obj->base.dev->anon_inode->i_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | obj->base.dev->anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | obj->base.dev->anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,4672,148606482432692224,436469935444291584,457356038048772096,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max |
| PARAM_VALUE | 0 | obj->base.dev->anon_inode->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1293513186369728512,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488-s64max |
| PARAM_VALUE | 0 | obj->base.dev->anon_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | obj->base.dev->anon_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | obj->base.dev->dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | obj->base.funcs->evict | 0 |
| PARAM_VALUE | 0 | obj->base.funcs->free | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.funcs->mmap | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.funcs->open | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.funcs->pin | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.funcs->rss | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.funcs->vmap | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.resv->lock.ww_class->is_wait_die | 0-s32max |
| PARAM_VALUE | 0 | obj->ops->adjust_lru | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops->delayed_free | 0,5926832556445249536 |
| PARAM_VALUE | 0 | obj->ops->dmabuf_export | 0,2825331963569180672 |
| PARAM_VALUE | 0 | obj->ops->flags | 0,2,6,8,26 |
| PARAM_VALUE | 0 | obj->ops->get_pages | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops->migrate | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops->mmap_offset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops->mmap_ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops->name | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops->pread | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops->put_pages | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops->pwrite | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops->shrink | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops->truncate | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops->unmap_virtual | 0,5981797077985529856 |
| PARAM_VALUE | 0 | *obj->mm.tlb | 0-4294967295 |
| PARAM_VALUE | 1 | origin | 0 |
| BUF_SIZE | 0 | obj | (-1),1-s32max |
| BUF_SIZE | 0 | obj | (-1),1-s32max |
| DATA_SOURCE | 0 | obj | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | obj->base.dev->mode_config.connector_ida.xa.xa_flags | 67108869 |
| HOST_DATA | 0 | obj->base.dev->mode_config.max_height | 0-u32max |
| HOST_DATA | 0 | obj->base.dev->mode_config.max_width | 0-u32max |
| HOST_DATA | 0 | obj->base.dev->mode_config.object_idr.idr_rt.xa_flags | 0,4-u32max |
| HOST_DATA | 0 | obj->base.dev->mode_config.tile_idr.idr_rt.xa_flags | 67108868 |
| HOST_DATA | 0 | obj->base.dev->num_crtcs | 2[c] |
| NO_OVERFLOW_SIMPLE | 0 | obj->base.dev->num_crtcs | |
| NO_OVERFLOW_SIMPLE | 0 | obj->base.size | |
| HALF_LOCKED2 | 0 | obj->base.resv |
drivers/gpu/drm/i915/gem/i915_gem_phys.c i915_gem_object_pwrite_phys() -> i915_gem_object_frontbuffer_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.refcount.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | obj->base.size | 1-u64max |
| PARAM_VALUE | 0 | obj->frontbuffer | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->frontbuffer->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | obj->mm.pages | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->mm.pages->sgl | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops->pwrite | 2096045760474890240,2800713264639791104 |
| PARAM_VALUE | 1 | origin | 0 |
| CAPPED_DATA | 0 | obj->frontbuffer | 1 |
| DATA_SOURCE | 0 | obj | $0 |
| NOCHECK_CALL |
drivers/gpu/drm/i915/gem/i915_gem_domain.c flush_write_domain() -> i915_gem_object_frontbuffer_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->base._resv.lock.ww_class->is_wait_die | 0-s32max |
| PARAM_VALUE | 0 | obj->base.dev->anon_inode->i_mapping->host->i_sb->s_export_op->encode_fh | 0,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | obj->base.dev->anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | obj->base.dev->anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | obj->base.dev->anon_inode->i_mapping->host->i_sb->s_export_op->get_parent | 0,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | obj->base.dev->anon_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | obj->base.dev->anon_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | obj->base.dev->dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | obj->base.funcs->evict | 0 |
| PARAM_VALUE | 0 | obj->base.funcs->free | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.funcs->mmap | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.funcs->open | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.funcs->pin | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.funcs->rss | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.funcs->vmap | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.resv->lock.ww_class->is_wait_die | 0-s32max |
| PARAM_VALUE | 0 | obj->ops->adjust_lru | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops->delayed_free | 0,5926832556445249536 |
| PARAM_VALUE | 0 | obj->ops->dmabuf_export | 0,2825331963569180672 |
| PARAM_VALUE | 0 | obj->ops->flags | 0,2,6,8,26 |
| PARAM_VALUE | 0 | obj->ops->get_pages | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops->migrate | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops->mmap_offset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops->mmap_ops | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops->name | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops->pread | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops->put_pages | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops->pwrite | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops->shrink | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops->truncate | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops->unmap_virtual | 0,5981797077985529856 |
| PARAM_VALUE | 0 | obj->vma.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->write_domain | 64 |
| PARAM_VALUE | 0 | *obj->mm.tlb | 0-4294967295 |
| PARAM_VALUE | 1 | origin | 0 |
| BUF_SIZE | 0 | obj | (-1)-s32max |
| BUF_SIZE | 0 | obj | (-1)-s32max |
| CAPPED_DATA | 0 | &obj->vma.list | 1 |
| DATA_SOURCE | 0 | obj | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | obj->base.dev->mode_config.num_colorop | |
| NO_OVERFLOW_SIMPLE | 0 | obj->base.dev->mode_config.num_crtc | |
| NO_OVERFLOW_SIMPLE | 0 | obj->base.dev->mode_config.num_total_plane | |
| NO_OVERFLOW_SIMPLE | 0 | obj->base.dev->num_crtcs | |
| NO_OVERFLOW_SIMPLE | 0 | obj->base.size | |
| HALF_LOCKED2 | 0 | obj->base.resv |
drivers/gpu/drm/i915/i915_gem.c i915_gem_gtt_pwrite_fast() -> i915_gem_object_frontbuffer_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.import_attach->dmabuf | 0 |
| PARAM_VALUE | 0 | obj->base.import_attach->dmabuf->priv->comp.done | 0-4294967295 |
| PARAM_VALUE | 0 | obj->base.import_attach->dmabuf->priv->comp.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->base.import_attach->dmabuf->priv->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->base.import_attach->dmabuf->priv->comp.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | obj->base.import_attach->dmabuf->priv->kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | obj->base.import_attach->priv | 0 |
| 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->base.resv->lock.ctx | 0 |
| PARAM_VALUE | 0 | obj->base.resv->lock.ww_class->is_wait_die | 0-1 |
| PARAM_VALUE | 0 | obj->base.size | 1-u64max |
| PARAM_VALUE | 0 | obj->frontbuffer | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->frontbuffer->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | obj->gvt_info->obj->vgpu->cache_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->gvt_info->obj->vgpu->cache_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->gvt_info->obj->vgpu->cache_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | obj->gvt_info->obj->vgpu->cache_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | obj->mm.dirty | 1 |
| 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->mm.res->bo->bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->mm.res->lru.link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->mm.res->lru.link.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->mm.res->lru.link.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->mm.res->lru.link.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->mm.res->lru.link.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->mm.res->lru.link.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->obj_link.next | 3951897596242858136,4788333397751943320,7777990759765643416 |
| PARAM_VALUE | 0 | obj->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops->pwrite | 0,2096045760474890240,2800713264639791104 |
| PARAM_VALUE | 1 | origin | 0 |
| CAPPED_DATA | 0 | obj->base.size | 1 |
| CAPPED_DATA | 0 | obj->frontbuffer | 1 |
| DATA_SOURCE | 0 | obj | $0 |
| NOCHECK_CALL |
drivers/gpu/drm/i915/i915_gem.c i915_gem_shmem_pwrite() -> i915_gem_object_frontbuffer_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->base._resv.lock.ww_class->is_wait_die | 0-1 |
| PARAM_VALUE | 0 | obj->base.dev->anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864 |
| PARAM_VALUE | 0 | obj->base.dev->anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200 |
| PARAM_VALUE | 0 | obj->base.dev->anon_inode->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | obj->base.import_attach->importer_ops | 0 |
| PARAM_VALUE | 0 | obj->base.resv | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.resv->fences->max_fences | 0-4294967295 |
| 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->base.resv->lock.ctx | 0 |
| PARAM_VALUE | 0 | obj->base.size | 1-u64max |
| PARAM_VALUE | 0 | obj->frontbuffer | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->frontbuffer->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | obj->gvt_info->obj->vgpu->cache_lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | obj->gvt_info->obj->vgpu->cache_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->gvt_info->obj->vgpu->cache_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | obj->gvt_info->obj->vgpu->cache_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | obj->mm.dirty | 1 |
| PARAM_VALUE | 0 | obj->mm.get_page.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->mm.get_page.lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->mm.get_page.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->mm.get_page.lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->mm.get_page.lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->mm.get_page.lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->mm.get_page.lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | obj->mm.get_page.lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | obj->mm.get_page.lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | obj->mm.get_page.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | obj->mm.get_page.sg_pos | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->mm.link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->mm.link.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->mm.pages_pin_count.counter | 0-1 |
| 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->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->mm.region_link.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->obj_link.next | 3951897596242858136,4788333397751943320,7777990759765643416 |
| PARAM_VALUE | 0 | obj->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops->adjust_lru | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops->pwrite | 0,2096045760474890240,2800713264639791104 |
| PARAM_VALUE | 1 | origin | 0 |
| CAPPED_DATA | 0 | obj->base.resv->fences | 1 |
| CAPPED_DATA | 0 | obj->base.size | 1 |
| CAPPED_DATA | 0 | obj->frontbuffer | 1 |
| DATA_SOURCE | 0 | obj | $0 |
| NOCHECK_CALL |