Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/vmwgfx/vmwgfx_shader.c vmw_compat_shader_add() -> vmw_shader_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev_priv 4096-ptr_max
PARAM_VALUE 0 dev_priv->bdev.dev_mapping->host->i_sb->s_cop->inode_info_offs 1632,1808,2632,2648
PARAM_VALUE 0 dev_priv->bdev.dev_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792
PARAM_VALUE 0 dev_priv->bdev.dev_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864
PARAM_VALUE 0 dev_priv->bdev.dev_mapping->host->i_sb->s_export_op->fh_to_parent 0,5297,148606482432692224,436469935444291584,467281172929331200
PARAM_VALUE 0 dev_priv->bdev.dev_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 0 dev_priv->bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 dev_priv->bdev.dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 dev_priv->bdev.pool.dev->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 dev_priv->bdev.pool.dev->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 dev_priv->bdev.pool.dev->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 dev_priv->bdev.vma_manager->vm_lock.dep_map->name 0-255
PARAM_VALUE 0 dev_priv->bdev.vma_manager->vm_lock.owner (-1)
PARAM_VALUE 0 dev_priv->bdev.vma_manager->vm_lock.owner_cpu u32max
PARAM_VALUE 0 dev_priv->cman 0,4096-u64max
PARAM_VALUE 0 dev_priv->cman->irq_on 0-1
PARAM_VALUE 0 dev_priv->cmdbuf_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev_priv->cmdbuf_mutex.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 dev_priv->cmdbuf_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev_priv->cmdbuf_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev_priv->cmdbuf_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev_priv->cmdbuf_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 dev_priv->cmdbuf_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 dev_priv->cmdbuf_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 dev_priv->ctx.bo_relocations.next 4096-ptr_max
PARAM_VALUE 0 dev_priv->ctx.bo_relocations.next->next 4096-ptr_max
PARAM_VALUE 0 dev_priv->ctx.bo_relocations.prev 4096-ptr_max
PARAM_VALUE 0 dev_priv->ctx.bo_relocations.prev->next 4096-ptr_max
PARAM_VALUE 0 dev_priv->ctx.bo_relocations.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev_priv->ctx.cmd_bounce_size 0,4096-9437184
PARAM_VALUE 0 dev_priv->ctx.ctx 1255665894879240192
PARAM_VALUE 0 dev_priv->ctx.ctx->bo_list.next 1255665894879240232
PARAM_VALUE 0 dev_priv->ctx.ctx->merge_dups 1
PARAM_VALUE 0 dev_priv->ctx.ctx->page_address 0,4096-ptr_max
PARAM_VALUE 0 dev_priv->ctx.ctx->page_list.next 1255665894879240248
PARAM_VALUE 0 dev_priv->ctx.ctx->res_mutex 0
PARAM_VALUE 0 dev_priv->ctx.ctx->resource_list.next 1255665894879240200
PARAM_VALUE 0 dev_priv->ctx.ctx->sw_context 4096-ptr_max
PARAM_VALUE 0 dev_priv->ctx.ctx->ticket.acquired 0
PARAM_VALUE 0 dev_priv->ctx.ctx->ticket.dep_map.cpu 0
PARAM_VALUE 0 dev_priv->ctx.ctx->ticket.dep_map.ip 0
PARAM_VALUE 0 dev_priv->ctx.ctx->ticket.dep_map.key 0
PARAM_VALUE 0 dev_priv->ctx.ctx->ticket.dep_map.name 0
PARAM_VALUE 0 dev_priv->ctx.ctx->ticket.done_acquire 0
PARAM_VALUE 0 dev_priv->ctx.ctx->ticket.is_wait_die 0
PARAM_VALUE 0 dev_priv->ctx.ctx->ticket.stamp 0
PARAM_VALUE 0 dev_priv->ctx.ctx->ticket.task 0
PARAM_VALUE 0 dev_priv->ctx.ctx->ticket.wounded 0
PARAM_VALUE 0 dev_priv->ctx.ctx->ticket.ww_class 0
PARAM_VALUE 0 dev_priv->ctx.ctx_list.next 4096-ptr_max
PARAM_VALUE 0 dev_priv->ctx.ctx_list.next->next 4096-ptr_max
PARAM_VALUE 0 dev_priv->ctx.ctx_list.prev 4096-ptr_max
PARAM_VALUE 0 dev_priv->ctx.ctx_list.prev->next 4096-ptr_max
PARAM_VALUE 0 dev_priv->ctx.ctx_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev_priv->ctx.dx_query_ctx 0
PARAM_VALUE 0 dev_priv->ctx.dx_query_mob 0
PARAM_VALUE 0 dev_priv->ctx.filp 4096-ptr_max
PARAM_VALUE 0 dev_priv->ctx.filp->minor 4096-ptr_max
PARAM_VALUE 0 dev_priv->ctx.last_query_ctx 0
PARAM_VALUE 0 dev_priv->ctx.needs_post_query_barrier 0
PARAM_VALUE 0 dev_priv->ctx.res_relocations.next 4096-ptr_max
PARAM_VALUE 0 dev_priv->ctx.res_relocations.next->next 4096-ptr_max
PARAM_VALUE 0 dev_priv->ctx.res_relocations.prev 4096-ptr_max
PARAM_VALUE 0 dev_priv->ctx.res_relocations.prev->next 4096-ptr_max
PARAM_VALUE 0 dev_priv->ctx.res_relocations.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev_priv->ctx.staged_bindings->bind_cmd_count 0-4294967295
PARAM_VALUE 0 dev_priv->ctx.staged_bindings->bind_first_slot 0-64
PARAM_VALUE 0 dev_priv->ctx.staged_bindings->dirty 0
PARAM_VALUE 0 dev_priv->ctx.staged_cmd_res.next 4096-ptr_max
PARAM_VALUE 0 dev_priv->ctx.staged_cmd_res.next->next 4096-ptr_max
PARAM_VALUE 0 dev_priv->ctx.staged_cmd_res.prev 4096-ptr_max
PARAM_VALUE 0 dev_priv->ctx.staged_cmd_res.prev->next 4096-ptr_max
PARAM_VALUE 0 dev_priv->ctx.staged_cmd_res.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev_priv->has_mob 1
PARAM_VALUE 1 buffer 4096-ptr_max
PARAM_VALUE 1 buffer->placement.num_placement 1-5
PARAM_VALUE 1 buffer->tbo->resource->bus.addr 0-255
PARAM_VALUE 1 buffer->tbo.base._resv.lock.base.dep_map->name 0-255
PARAM_VALUE 1 buffer->tbo.base._resv.lock.ww_class 8825623990767841280
PARAM_VALUE 1 buffer->tbo.base._resv.lock.ww_class->is_wait_die 0-s32max
PARAM_VALUE 1 buffer->tbo.base.funcs 6304708662516625408
PARAM_VALUE 1 buffer->tbo.base.funcs->close 4493682133572624384
PARAM_VALUE 1 buffer->tbo.base.funcs->evict 0
PARAM_VALUE 1 buffer->tbo.base.funcs->export 0
PARAM_VALUE 1 buffer->tbo.base.funcs->free 5959864495673876480
PARAM_VALUE 1 buffer->tbo.base.funcs->get_sg_table 5854752747816759296
PARAM_VALUE 1 buffer->tbo.base.funcs->mmap 7631482562785378304
PARAM_VALUE 1 buffer->tbo.base.funcs->open 1917071461009981440
PARAM_VALUE 1 buffer->tbo.base.funcs->pin 5907164094082686976
PARAM_VALUE 1 buffer->tbo.base.funcs->print_info 9138211018234052608
PARAM_VALUE 1 buffer->tbo.base.funcs->rss 0
PARAM_VALUE 1 buffer->tbo.base.funcs->status 0
PARAM_VALUE 1 buffer->tbo.base.funcs->unpin 1117158778977624064
PARAM_VALUE 1 buffer->tbo.base.funcs->vm_ops 3753214012899758080
PARAM_VALUE 1 buffer->tbo.base.funcs->vmap 4518654557315420160
PARAM_VALUE 1 buffer->tbo.base.funcs->vunmap 8281116965347872768
PARAM_VALUE 1 buffer->tbo.base.gpuva.lock.dep_map->name 0-255
PARAM_VALUE 1 buffer->tbo.base.resv 4096-ptr_max
PARAM_VALUE 1 buffer->tbo.base.resv->fences->max_fences 0-4294967295
PARAM_VALUE 1 buffer->tbo.base.resv->fences->num_fences 0-4294967295
PARAM_VALUE 1 buffer->tbo.base.resv->lock.base.dep_map->name 0-255
PARAM_VALUE 1 buffer->tbo.base.resv->lock.base.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 1 buffer->tbo.base.resv->lock.base.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 buffer->tbo.base.resv->lock.base.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 buffer->tbo.base.resv->lock.ctx 0
PARAM_VALUE 1 buffer->tbo.base.resv->lock.ww_class 8825623990767841280
PARAM_VALUE 1 buffer->tbo.base.resv->lock.ww_class->is_wait_die 0-1
PARAM_VALUE 1 buffer->tbo.base.vma_node.vm_lock.magic 3736018669
PARAM_VALUE 1 buffer->tbo.base.vma_node.vm_lock.owner (-1)
PARAM_VALUE 1 buffer->tbo.base.vma_node.vm_lock.owner_cpu 4294967295
PARAM_VALUE 1 buffer->tbo.bdev 4096-ptr_max
PARAM_VALUE 1 buffer->tbo.bdev->dev_mapping->host->i_sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 1 buffer->tbo.bdev->dev_mapping->host->i_sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 1 buffer->tbo.bdev->dev_mapping->host->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 1 buffer->tbo.bdev->dev_mapping->host->i_sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 1 buffer->tbo.bdev->dev_mapping->host->i_sb->s_export_op->fh_to_parent 0,4672,5297,148606482432692224,436469935444291584,457356038048772096,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max
PARAM_VALUE 1 buffer->tbo.bdev->dev_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 1 buffer->tbo.bdev->dev_mapping->i_mmap_rwsem.dep_map->name 0-255
PARAM_VALUE 1 buffer->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 buffer->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.next 2212933610777083904
PARAM_VALUE 1 buffer->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 1 buffer->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 buffer->tbo.bdev->lru_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 buffer->tbo.priority 3
PARAM_VALUE 1 buffer->tbo.resource 0,4096-ptr_max
PARAM_VALUE 1 buffer->tbo.resource->bo->bdev->unevictable.prev 4096-ptr_max
PARAM_VALUE 1 buffer->tbo.resource->bo->bdev->unevictable.prev->next 4096-ptr_max
PARAM_VALUE 1 buffer->tbo.resource->bo->bdev->unevictable.prev->next->next 4096-ptr_max
PARAM_VALUE 1 buffer->tbo.resource->bus.addr 0
PARAM_VALUE 1 buffer->tbo.resource->bus.caching 0-2
PARAM_VALUE 1 buffer->tbo.resource->bus.offset 0
PARAM_VALUE 1 buffer->tbo.resource->lru.link.next->prev 4096-ptr_max
PARAM_VALUE 1 buffer->tbo.ttm->caching 0-2
PARAM_VALUE 1 buffer->tbo.ttm->page_flags 0,2-4294967294
PARAM_VALUE 1 buffer->tbo.ttm->restore->alloced_page 0-s64max
PARAM_VALUE 1 buffer->tbo.ttm->restore->alloced_page->_refcount.counter s32min-s32max
PARAM_VALUE 1 buffer->tbo.ttm->restore->alloced_page->page_type 0-4294967295
PARAM_VALUE 1 buffer->tbo.ttm->restore->alloced_pages 0-s64max
PARAM_VALUE 1 buffer->tbo.ttm->restore->first_dma 0-s64max
PARAM_VALUE 1 buffer->tbo.ttm->restore->order 0-4294967295
PARAM_VALUE 1 buffer->tbo.ttm->restore->page_caching 0-4294967295
PARAM_VALUE 1 buffer->tbo.ttm->restore->restored_pages 0-s64max
PARAM_VALUE 1 buffer->tbo.ttm->sg->orig_nents 0-s32max
PARAM_VALUE 1 buffer->tbo.type 0-2
PARAM_VALUE 3 offset 0
PARAM_VALUE 4 shader_type 0-15
CAPPED_DATA 1 buffer->placement.num_placement 1
CAPPED_DATA 1 buffer->tbo.base.resv->fences 1
DATA_SOURCE 0 dev_priv $0
DATA_SOURCE 2 shader_size $5 [m]
DATA_SOURCE 4 shader_type $4
HARD_MAX 4 shader_type 15
NO_OVERFLOW_SIMPLE 0 dev_priv->cman->headers->allocation
NO_OVERFLOW_SIMPLE 1 buffer->tbo.base.dev->mode_config.num_colorop
NO_OVERFLOW_SIMPLE 1 buffer->tbo.base.dev->mode_config.num_crtc
NO_OVERFLOW_SIMPLE 1 buffer->tbo.base.dev->mode_config.num_total_plane
NO_OVERFLOW_SIMPLE 1 buffer->tbo.base.dev->num_crtcs
NO_OVERFLOW_SIMPLE 1 buffer->tbo.ttm->dma_ttm.sg->orig_nents
UNITS 2 shader_size unit_byte
LOCK2 0 &dev_priv->cmdbuf_mutex
TYPE_LOCK (struct vmw_private)->cmdbuf_mutex