Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/vmwgfx/vmwgfx_resource.c vmw_resource_do_evict() -> vmw_resource_mob_detach()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
PARAM_VALUE 0 res->dev_priv->bdev.dev_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792
PARAM_VALUE 0 res->dev_priv->bdev.dev_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864
PARAM_VALUE 0 res->dev_priv->bdev.dev_mapping->host->i_sb->s_export_op->fh_to_parent 0,4672,148606482432692224,436469935444291584,457356038048772096
PARAM_VALUE 0 res->dev_priv->bdev.dev_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 0 res->dev_priv->bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 res->dev_priv->bdev.dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 res->dev_priv->bdev.pool.dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 res->dev_priv->bdev.pool.dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 res->dev_priv->bdev.vma_manager->vm_lock.dep_map->name 0-255
PARAM_VALUE 0 res->dev_priv->bdev.vma_manager->vm_lock.owner (-1)
PARAM_VALUE 0 res->dev_priv->bdev.vma_manager->vm_lock.owner_cpu u32max
PARAM_VALUE 0 res->func 4096-ptr_max
PARAM_VALUE 0 res->func->busy_domain 1,12,16
PARAM_VALUE 0 res->func->domain 1,8,16
PARAM_VALUE 0 res->func->may_evict 1
PARAM_VALUE 0 res->func->unbind 4096-ptr_max
PARAM_VALUE 0 res->guest_memory_bo 1-u64max
PARAM_VALUE 0 res->guest_memory_bo->placement.num_placement 1-5
PARAM_VALUE 0 res->guest_memory_bo->tbo.base._resv.lock.ww_class 8825623990767841280
PARAM_VALUE 0 res->guest_memory_bo->tbo.base.funcs 6304708662516625408
PARAM_VALUE 0 res->guest_memory_bo->tbo.base.vma_node.vm_lock.magic 3736018669
PARAM_VALUE 0 res->guest_memory_bo->tbo.base.vma_node.vm_lock.owner (-1)
PARAM_VALUE 0 res->guest_memory_bo->tbo.base.vma_node.vm_lock.owner_cpu u32max
PARAM_VALUE 0 res->guest_memory_bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 res->guest_memory_bo->tbo.priority 3
PARAM_VALUE 0 res->guest_memory_size 0,4096-u64max
PARAM_VALUE 0 res->lru_head.next->prev 4096-ptr_max
PARAM_VALUE 0 res->lru_head.prev->next 4096-ptr_max
DATA_SOURCE 0 res $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev_priv->cmdbuf_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_resource.c vmw_resource_release() -> vmw_resource_mob_detach()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
PARAM_VALUE 0 res->dev_priv 4096-ptr_max
PARAM_VALUE 0 res->dev_priv->res_idr 4096-ptr_max
PARAM_VALUE 0 res->dev_priv->resource_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 res->func 4096-ptr_max
PARAM_VALUE 0 res->func->unbind 0,4096-ptr_max
PARAM_VALUE 0 res->guest_memory_bo 1-u64max
PARAM_VALUE 0 res->guest_memory_bo->tbo.base.resv->lock.base.dep_map->name 0-255
PARAM_VALUE 0 res->guest_memory_bo->tbo.base.resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 res->guest_memory_bo->tbo.base.resv->lock.base.osq.tail.counter 0-s32max
PARAM_VALUE 0 res->guest_memory_dirty 0
PARAM_VALUE 0 res->lru_head.next->prev 4096-ptr_max
PARAM_VALUE 0 res->lru_head.prev->next 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 bo->base.resv
HALF_LOCKED2 &dev_priv->binding_mutex
HALF_LOCKED2 &dev_priv->cmdbuf_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_resource.c vmw_resource_unbind_list() -> vmw_resource_mob_detach()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
PARAM_VALUE 0 res->func 4096-ptr_max
PARAM_VALUE 0 res->func->unbind 0,4096-ptr_max
PARAM_VALUE 0 res->guest_memory_dirty 1
PARAM_VALUE 0 res->res_dirty 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 res unit_byte
HALF_LOCKED2 bo->base.resv

drivers/gpu/drm/vmwgfx/vmwgfx_resource.c vmw_resource_unreserve() -> vmw_resource_mob_detach()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
PARAM_VALUE 0 res->dev_priv->bdev.dev_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 res->dev_priv->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 res->dev_priv->bdev.dev_mapping->host->i_sb->s_export_op->fh_to_parent 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max
PARAM_VALUE 0 res->dev_priv->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 res->dev_priv->bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 res->dev_priv->bdev.dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 res->dev_priv->cman 0,4096-u64max
PARAM_VALUE 0 res->dev_priv->sm_type 0-4
PARAM_VALUE 0 res->func->bind 0,4096-ptr_max
PARAM_VALUE 0 res->func->busy_domain 1,12,16
PARAM_VALUE 0 res->func->create 0,4096-ptr_max
PARAM_VALUE 0 res->func->dirty_prio 0-3
PARAM_VALUE 0 res->func->domain 1,8,16
PARAM_VALUE 0 res->func->prio 0-1,3
PARAM_VALUE 0 res->guest_memory_bo 1-u64max
PARAM_VALUE 0 res->guest_memory_bo->tbo.base._resv.lock.ww_class->is_wait_die 0-1
PARAM_VALUE 0 res->guest_memory_bo->tbo.base.resv->lock.ww_class->is_wait_die 0-1
PARAM_VALUE 0 res->guest_memory_bo->tbo.bdev->dev_mapping->host->i_sb->s_cop->empty_dir 0,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 0 res->guest_memory_bo->tbo.bdev->dev_mapping->host->i_sb->s_cop->get_context 0,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 0 res->guest_memory_bo->tbo.bdev->dev_mapping->host->i_sb->s_cop->inode_info_offs 1632,1720,2632,2648
PARAM_VALUE 0 res->guest_memory_bo->tbo.bdev->dev_mapping->host->i_sb->s_cop->set_context 0,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 0 res->guest_memory_bo->tbo.bdev->dev_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 res->guest_memory_bo->tbo.bdev->dev_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 res->guest_memory_bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 res->guest_memory_bo->tbo.bdev->pool.dev->dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 res->lru_head.next 4096-ptr_max
CAPPED_DATA 0 &res->lru_head 1
DATA_SOURCE 0 res $0
PARAM_COMPARE 0 &res->lru_head == $0->lru_head.next
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev_priv->cmdbuf_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c vmw_cotable_resize() -> vmw_resource_mob_detach()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
PARAM_VALUE 0 res->dev_priv 4096-ptr_max
PARAM_VALUE 0 res->dev_priv->bdev.dev_mapping->host->i_sb->s_cop->inode_info_offs 1632,1808,2632,2648
PARAM_VALUE 0 res->dev_priv->bdev.dev_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792
PARAM_VALUE 0 res->dev_priv->bdev.dev_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864
PARAM_VALUE 0 res->dev_priv->bdev.dev_mapping->host->i_sb->s_export_op->fh_to_parent 0,5297,148606482432692224,436469935444291584,467281172929331200
PARAM_VALUE 0 res->dev_priv->bdev.dev_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 0 res->dev_priv->bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 res->dev_priv->bdev.dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 res->dev_priv->bdev.pool.dev->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 res->dev_priv->bdev.pool.dev->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 res->dev_priv->bdev.pool.dev->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 res->dev_priv->bdev.vma_manager->vm_lock.dep_map->name 0-255
PARAM_VALUE 0 res->dev_priv->bdev.vma_manager->vm_lock.owner (-1)
PARAM_VALUE 0 res->dev_priv->bdev.vma_manager->vm_lock.owner_cpu u32max
PARAM_VALUE 0 res->dev_priv->cman 0,4096-ptr_max
PARAM_VALUE 0 res->dev_priv->cman->cur->cb_context 0,63
PARAM_VALUE 0 res->dev_priv->cman->cur->cb_header->dxContext 0-4294967294
PARAM_VALUE 0 res->dev_priv->cman->cur->inline_space 1
PARAM_VALUE 0 res->dev_priv->cman->cur->size 0,960
PARAM_VALUE 0 res->dev_priv->cman->cur_mutex.dep_map->name 0-255
PARAM_VALUE 0 res->dev_priv->cman->cur_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 res->dev_priv->cman->cur_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 res->dev_priv->cman->cur_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 res->dev_priv->cman->cur_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 res->dev_priv->cman->cur_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 res->dev_priv->cman->cur_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 res->dev_priv->cman->cur_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 res->dev_priv->cman->dheaders->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 res->dev_priv->cman->headers->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 res->dev_priv->cman->irq_on 0-1
PARAM_VALUE 0 res->dev_priv->cman->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 res->dev_priv->cman->map 0-s64max
PARAM_VALUE 0 res->dev_priv->fifo->fifo_mutex.dep_map->name 0-255
PARAM_VALUE 0 res->dev_priv->fifo->fifo_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 res->dev_priv->fifo->fifo_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 res->dev_priv->fifo->fifo_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 res->dev_priv->fifo->fifo_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 res->dev_priv->fifo->fifo_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 res->dev_priv->fifo->fifo_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 res->dev_priv->fifo->fifo_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 res->dev_priv->fifo->reserved_size 0-4294967294
PARAM_VALUE 0 res->dev_priv->fman->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 res->dev_priv->pci_id 0-1029,1031-u32max
PARAM_VALUE 0 res->dev_priv->res_lru 4096-ptr_max
PARAM_VALUE 0 res->dev_priv->waiter_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 res->func 4096-ptr_max
PARAM_VALUE 0 res->func->busy_domain 1,12,16
PARAM_VALUE 0 res->func->create 4096-ptr_max
PARAM_VALUE 0 res->func->domain 1,8,16
PARAM_VALUE 0 res->guest_memory_bo->tbo.base.resv->fences->num_fences 0-4294967295
PARAM_VALUE 0 res->guest_memory_bo->tbo.bdev->dev_mapping->host->i_sb->s_cop->inode_info_offs 1632,1808,2632,2648,2712
PARAM_VALUE 0 res->guest_memory_bo->tbo.bdev->dev_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 res->guest_memory_bo->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 res->guest_memory_bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 res->guest_memory_bo->tbo.resource 4096-ptr_max
PARAM_VALUE 0 res->guest_memory_bo->tbo.ttm->restore->alloced_page 0-s64max
PARAM_VALUE 0 res->guest_memory_bo->tbo.ttm->restore->alloced_pages 0-s64max
PARAM_VALUE 0 res->guest_memory_bo->tbo.ttm->restore->first_dma 0-s64max
PARAM_VALUE 0 res->guest_memory_bo->tbo.ttm->restore->order 0-4294967295
PARAM_VALUE 0 res->guest_memory_bo->tbo.ttm->restore->page_caching 0-4294967295
PARAM_VALUE 0 res->guest_memory_bo->tbo.ttm->restore->restored_pages 0-s64max
PARAM_VALUE 0 res->guest_memory_size 0-18446744073709551614
PARAM_VALUE 0 res->id (-1)
CAPPED_DATA 0 res->guest_memory_size 1
DATA_SOURCE 0 res $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev_priv->cmdbuf_mutex
HALF_LOCKED2 bo->base.resv

drivers/gpu/drm/vmwgfx/vmwgfx_bo.c vmw_bo_free() -> vmw_resource_mob_detach()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
PARAM_VALUE 0 res->dev_priv 4096-ptr_max
PARAM_VALUE 0 res->dev_priv->bdev.dev_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792
PARAM_VALUE 0 res->dev_priv->bdev.dev_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864
PARAM_VALUE 0 res->dev_priv->bdev.dev_mapping->host->i_sb->s_export_op->fh_to_parent 0,4672,5297,148606482432692224,436469935444291584,457356038048772096,467281172929331200
PARAM_VALUE 0 res->dev_priv->bdev.dev_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 0 res->dev_priv->bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 res->dev_priv->bdev.dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 res->dev_priv->cmdbuf_mutex.dep_map->name 0-255
PARAM_VALUE 0 res->dev_priv->cmdbuf_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 res->dev_priv->cmdbuf_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 res->dev_priv->cmdbuf_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 res->dev_priv->cmdbuf_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 res->dev_priv->cmdbuf_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 res->dev_priv->resource_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 res->func 4096-ptr_max
PARAM_VALUE 0 res->func->busy_domain 1,12,16
PARAM_VALUE 0 res->func->domain 1,8,16
PARAM_VALUE 0 res->guest_memory_bo 1-u64max
PARAM_VALUE 0 res->lru_head.next->prev 4096-ptr_max
PARAM_VALUE 0 res->lru_head.prev->next 4096-ptr_max
BUF_SIZE 0 res 152
CAPPED_DATA 0 &res->dev_priv->cmdbuf_mutex 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &res->dev_priv->cmdbuf_mutex
TYPE_LOCK (struct vmw_private)->cmdbuf_mutex