Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/gpu/drm/vmwgfx/vmwgfx_blit.c, line 442
- drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c, line 1260
- drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.c
- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c, line 1980
- drivers/gpu/drm/vmwgfx/vmwgfx_vkms.c, line 96
Smatch caller information:
drivers/gpu/drm/vmwgfx/vmwgfx_vkms.c compute_crc() -> vmw_bo_map_and_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/vmwgfx/vmwgfx_blit.c map_external() -> vmw_bo_map_and_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vbo | 4096-ptr_max |
| PARAM_VALUE | 0 | vbo->tbo.base.import_attach | 0 |
| PARAM_VALUE | 0 | vbo->tbo.bdev->pool.dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | vbo->tbo.bdev->pool.dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | vbo->tbo.resource | 4096-ptr_max |
| PARAM_VALUE | 0 | vbo->tbo.resource->size | 1-u64max |
| PARAM_VALUE | 0 | vbo->tbo.ttm | 4096-ptr_max |
| PARAM_VALUE | 0 | vbo->tbo.ttm->restore->alloced_pages | 0-s64max |
| PARAM_VALUE | 0 | vbo->tbo.ttm->restore->order | 0-4294967295 |
| PARAM_VALUE | 0 | vbo->tbo.ttm->restore->page_caching | 0-4294967295 |
| PARAM_VALUE | 0 | vbo->tbo.ttm->restore->restored_pages | 0-s64max |
| DATA_SOURCE | 0 | vbo | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c vmw_cmdbuf_set_pool_size() -> vmw_bo_map_and_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vbo | 4096-ptr_max |
| PARAM_VALUE | 0 | vbo->placement.num_placement | 1-5 |
| PARAM_VALUE | 0 | vbo->tbo.base._resv.lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vbo->tbo.base._resv.lock.ww_class | 8825623990767841280 |
| PARAM_VALUE | 0 | vbo->tbo.base._resv.lock.ww_class->is_wait_die | 0-s32max |
| PARAM_VALUE | 0 | vbo->tbo.base.funcs | 6304708662516625408 |
| PARAM_VALUE | 0 | vbo->tbo.base.funcs->close | 4493682133572624384 |
| PARAM_VALUE | 0 | vbo->tbo.base.funcs->free | 5959864495673876480 |
| PARAM_VALUE | 0 | vbo->tbo.base.funcs->get_sg_table | 5854752747816759296 |
| PARAM_VALUE | 0 | vbo->tbo.base.funcs->mmap | 7631482562785378304 |
| PARAM_VALUE | 0 | vbo->tbo.base.funcs->open | 1917071461009981440 |
| PARAM_VALUE | 0 | vbo->tbo.base.funcs->pin | 5907164094082686976 |
| PARAM_VALUE | 0 | vbo->tbo.base.funcs->print_info | 9138211018234052608 |
| PARAM_VALUE | 0 | vbo->tbo.base.funcs->unpin | 1117158778977624064 |
| PARAM_VALUE | 0 | vbo->tbo.base.funcs->vm_ops | 3753214012899758080 |
| PARAM_VALUE | 0 | vbo->tbo.base.funcs->vmap | 4518654557315420160 |
| PARAM_VALUE | 0 | vbo->tbo.base.funcs->vunmap | 8281116965347872768 |
| PARAM_VALUE | 0 | vbo->tbo.base.gpuva.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vbo->tbo.base.resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 0 | vbo->tbo.base.resv->fences->num_fences | 0-4294967295 |
| PARAM_VALUE | 0 | vbo->tbo.base.resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vbo->tbo.base.resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vbo->tbo.base.resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | vbo->tbo.base.resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | vbo->tbo.base.resv->lock.ww_class | 8825623990767841280 |
| PARAM_VALUE | 0 | vbo->tbo.base.vma_node.vm_lock.magic | 3736018669 |
| PARAM_VALUE | 0 | vbo->tbo.base.vma_node.vm_lock.owner | (-1) |
| PARAM_VALUE | 0 | vbo->tbo.base.vma_node.vm_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | vbo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | vbo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | vbo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vbo->tbo.bdev->lru_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vbo->tbo.priority | 3 |
| PARAM_VALUE | 0 | vbo->tbo.ttm->caching | 0-2 |
| PARAM_VALUE | 0 | vbo->tbo.ttm->page_flags | 0,2,4,6,12,14,16,18,20,22,28,30 |
| PARAM_VALUE | 0 | vbo->tbo.ttm->restore->alloced_page | 0-s64max |
| PARAM_VALUE | 0 | vbo->tbo.ttm->restore->alloced_page->_refcount.counter | s32min-s32max |
| PARAM_VALUE | 0 | vbo->tbo.ttm->restore->alloced_page->page_type | 0-4294967295 |
| PARAM_VALUE | 0 | vbo->tbo.ttm->restore->alloced_pages | 0-s64max |
| PARAM_VALUE | 0 | vbo->tbo.ttm->restore->first_dma | 0-s64max |
| PARAM_VALUE | 0 | vbo->tbo.ttm->restore->order | 0-4294967295 |
| PARAM_VALUE | 0 | vbo->tbo.ttm->restore->page_caching | 0-4294967295 |
| PARAM_VALUE | 0 | vbo->tbo.ttm->restore->restored_pages | 0-s64max |
| PARAM_VALUE | 0 | vbo->tbo.ttm->sg->orig_nents | 0-s32max |
| PARAM_VALUE | 0 | vbo->tbo.type | 0-2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | vbo->tbo.base.dev->mode_config.num_colorop | |
| NO_OVERFLOW_SIMPLE | 0 | vbo->tbo.base.dev->mode_config.num_crtc | |
| NO_OVERFLOW_SIMPLE | 0 | vbo->tbo.base.dev->mode_config.num_total_plane | |
| NO_OVERFLOW_SIMPLE | 0 | vbo->tbo.base.dev->num_crtcs | |
| NO_OVERFLOW_SIMPLE | 0 | vbo->tbo.ttm->dma_ttm.sg->orig_nents |
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vmw_user_object_map() -> vmw_bo_map_and_cache()
| Type | Parameter | Key | Value |
|---|
drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.c vmw_cursor_buffer_changed() -> vmw_bo_map_and_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vbo | 1-u64max |
| PARAM_VALUE | 0 | vbo->tbo.base.resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vbo->tbo.base.resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vbo->tbo.base.resv->lock.base.osq.tail.counter | 0-s32max |
| CAPPED_DATA | 0 | vbo | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | new_bo->tbo.base.resv | ||
| LOCK2 | 0 | vbo->tbo.base.resv |
drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.c vmw_cursor_buffer_changed() -> vmw_bo_map_and_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vbo | 4096-ptr_max |
| PARAM_VALUE | 0 | vbo->dirty | 0 |
| PARAM_VALUE | 0 | vbo->tbo.base.resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vbo->tbo.base.resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vbo->tbo.base.resv->lock.base.osq.tail.counter | 0-s32max |
| CAPPED_DATA | 0 | vbo | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | old_bo->tbo.base.resv | ||
| LOCK2 | 0 | vbo->tbo.base.resv |
drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.c vmw_cursor_mob_map() -> vmw_bo_map_and_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vbo | 4096-ptr_max |
| PARAM_VALUE | 0 | vbo->map.virtual | 0 |
| PARAM_VALUE | 0 | vbo->tbo.base.resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vbo->tbo.base.resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vbo->tbo.base.resv->lock.base.osq.tail.counter | 0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | vbo->tbo.base.resv |
drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.c vmw_cursor_plane_prepare_fb() -> vmw_bo_map_and_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vbo | 4096-ptr_max |
| PARAM_VALUE | 0 | vbo->tbo.base.resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vbo->tbo.base.resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vbo->tbo.base.resv->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vbo->tbo.base.resv->lock.ww_class->is_wait_die | 0-1 |
| PARAM_VALUE | 0 | vbo->tbo.bdev->dev_mapping->host->i_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | vbo->tbo.bdev->dev_mapping->host->i_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | vbo->tbo.bdev->dev_mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 0 | vbo->tbo.bdev->dev_mapping->host->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 0 | vbo->tbo.bdev->dev_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 | vbo->tbo.bdev->dev_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 | vbo->tbo.bdev->dev_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | vbo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | vbo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vbo->tbo.resource | 0,4096-ptr_max |
| CAPPED_DATA | 0 | vbo->placement.num_placement | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | vbo->tbo.base.resv |
drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.c vmw_cursor_update_mob() -> vmw_bo_map_and_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | irq |
drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.c vmw_cursor_update_mob() -> vmw_bo_map_and_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | irq |