Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

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,2712
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->iommu->attach_deferred 0-1
PARAM_VALUE 0 dev_priv->bdev.pool.dev->iommu->pci_32bit_workaround 0-1
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->bdev.vma_manager->vm_lock.raw_lock.cnts.counter 0-s32max
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.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 res 4096-ptr_max
PARAM_VALUE 3 offset 0
PARAM_VALUE 4 type 0-15
PARAM_VALUE 5 num_input_sig 0
PARAM_VALUE 6 num_output_sig 0
PARAM_VALUE 7 byte_code 4096-ptr_max
PARAM_VALUE 7 byte_code->placement.num_placement 1-5
PARAM_VALUE 7 byte_code->tbo->resource->bus.addr 0-255
PARAM_VALUE 7 byte_code->tbo->ttm->ttm.backup->f_security (-4611686018427387904)-4611686018427387903
PARAM_VALUE 7 byte_code->tbo->ttm->ttm.swap_storage->f_security (-4611686018427387904)-4611686018427387903
PARAM_VALUE 7 byte_code->tbo.base._resv.lock.base.dep_map->name 0-255
PARAM_VALUE 7 byte_code->tbo.base._resv.lock.ww_class 8825623990767841280
PARAM_VALUE 7 byte_code->tbo.base._resv.lock.ww_class->is_wait_die 0-s32max
PARAM_VALUE 7 byte_code->tbo.base.funcs 6304708662516625408
PARAM_VALUE 7 byte_code->tbo.base.funcs->close 4493682133572624384
PARAM_VALUE 7 byte_code->tbo.base.funcs->evict 0
PARAM_VALUE 7 byte_code->tbo.base.funcs->export 0
PARAM_VALUE 7 byte_code->tbo.base.funcs->free 5959864495673876480
PARAM_VALUE 7 byte_code->tbo.base.funcs->get_sg_table 5854752747816759296
PARAM_VALUE 7 byte_code->tbo.base.funcs->mmap 7631482562785378304
PARAM_VALUE 7 byte_code->tbo.base.funcs->open 1917071461009981440
PARAM_VALUE 7 byte_code->tbo.base.funcs->pin 5907164094082686976
PARAM_VALUE 7 byte_code->tbo.base.funcs->print_info 9138211018234052608
PARAM_VALUE 7 byte_code->tbo.base.funcs->rss 0
PARAM_VALUE 7 byte_code->tbo.base.funcs->status 0
PARAM_VALUE 7 byte_code->tbo.base.funcs->unpin 1117158778977624064
PARAM_VALUE 7 byte_code->tbo.base.funcs->vm_ops 3753214012899758080
PARAM_VALUE 7 byte_code->tbo.base.funcs->vmap 4518654557315420160
PARAM_VALUE 7 byte_code->tbo.base.funcs->vunmap 8281116965347872768
PARAM_VALUE 7 byte_code->tbo.base.gpuva.lock.dep_map->name 0-255
PARAM_VALUE 7 byte_code->tbo.base.resv 4096-ptr_max
PARAM_VALUE 7 byte_code->tbo.base.resv->fences->max_fences 0-4294967295
PARAM_VALUE 7 byte_code->tbo.base.resv->fences->num_fences 0-4294967295
PARAM_VALUE 7 byte_code->tbo.base.resv->lock.base.dep_map->name 0-255
PARAM_VALUE 7 byte_code->tbo.base.resv->lock.base.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 7 byte_code->tbo.base.resv->lock.base.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 7 byte_code->tbo.base.resv->lock.base.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 7 byte_code->tbo.base.resv->lock.ctx 0
PARAM_VALUE 7 byte_code->tbo.base.resv->lock.ww_class 8825623990767841280
PARAM_VALUE 7 byte_code->tbo.base.vma_node.vm_lock.magic 3736018669
PARAM_VALUE 7 byte_code->tbo.base.vma_node.vm_lock.owner (-1)
PARAM_VALUE 7 byte_code->tbo.base.vma_node.vm_lock.owner_cpu u32max
PARAM_VALUE 7 byte_code->tbo.bdev 4096-ptr_max
PARAM_VALUE 7 byte_code->tbo.bdev->dev_mapping->host->i_sb->s_cop->empty_dir 0,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 7 byte_code->tbo.bdev->dev_mapping->host->i_sb->s_cop->get_context 0,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 7 byte_code->tbo.bdev->dev_mapping->host->i_sb->s_cop->inode_info_offs 1632,1808,2632,2648
PARAM_VALUE 7 byte_code->tbo.bdev->dev_mapping->host->i_sb->s_cop->set_context 0,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 7 byte_code->tbo.bdev->dev_mapping->i_mmap_rwsem.dep_map->name 0-255
PARAM_VALUE 7 byte_code->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 7 byte_code->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.next 2212933610777083904
PARAM_VALUE 7 byte_code->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 7 byte_code->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 7 byte_code->tbo.bdev->lru_lock.rlock.dep_map->name 0-255
PARAM_VALUE 7 byte_code->tbo.bdev->pool.dev->dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 7 byte_code->tbo.priority 3
PARAM_VALUE 7 byte_code->tbo.resource 0,4096-ptr_max
PARAM_VALUE 7 byte_code->tbo.resource->bo->bdev->unevictable.prev 4096-ptr_max
PARAM_VALUE 7 byte_code->tbo.resource->bo->bdev->unevictable.prev->next 4096-ptr_max
PARAM_VALUE 7 byte_code->tbo.resource->bo->bdev->unevictable.prev->next->next 4096-ptr_max
PARAM_VALUE 7 byte_code->tbo.resource->bus.addr 0
PARAM_VALUE 7 byte_code->tbo.resource->bus.caching 0-2
PARAM_VALUE 7 byte_code->tbo.resource->bus.offset 0
PARAM_VALUE 7 byte_code->tbo.resource->lru.link.next->prev 4096-ptr_max
PARAM_VALUE 7 byte_code->tbo.ttm->caching 0-2
PARAM_VALUE 7 byte_code->tbo.ttm->page_flags 0,2-4294967294
PARAM_VALUE 7 byte_code->tbo.ttm->restore->alloced_page 0-s64max
PARAM_VALUE 7 byte_code->tbo.ttm->restore->alloced_page->_refcount.counter s32min-s32max
PARAM_VALUE 7 byte_code->tbo.ttm->restore->alloced_page->page_type 0-4294967295
PARAM_VALUE 7 byte_code->tbo.ttm->restore->alloced_pages 0-s64max
PARAM_VALUE 7 byte_code->tbo.ttm->restore->first_dma 0-s64max
PARAM_VALUE 7 byte_code->tbo.ttm->restore->order 0-4294967295
PARAM_VALUE 7 byte_code->tbo.ttm->restore->page_caching 0-4294967295
PARAM_VALUE 7 byte_code->tbo.ttm->restore->restored_pages 0-s64max
PARAM_VALUE 7 byte_code->tbo.type 0-2
BUF_SIZE 1 res 152
CAPPED_DATA 7 byte_code->placement.num_placement 1
CAPPED_DATA 7 byte_code->tbo.base.resv->fences 1
CAPPED_DATA 7 byte_code->tbo.bdev->pool.dev->cma_area->nranges 1
DATA_SOURCE 0 dev_priv $0
DATA_SOURCE 2 size $2
DATA_SOURCE 3 offset $3
DATA_SOURCE 4 type $4
DATA_SOURCE 7 byte_code $1
HARD_MAX 4 type 15
NO_OVERFLOW_SIMPLE 0 dev_priv->cman->headers->allocation
NO_OVERFLOW_SIMPLE 7 byte_code->tbo.base.dev->mode_config.num_colorop
NO_OVERFLOW_SIMPLE 7 byte_code->tbo.base.dev->mode_config.num_crtc
NO_OVERFLOW_SIMPLE 7 byte_code->tbo.base.dev->mode_config.num_total_plane
NO_OVERFLOW_SIMPLE 7 byte_code->tbo.base.dev->num_crtcs
UNITS 2 size unit_byte
LOCK2 0 &dev_priv->cmdbuf_mutex
TYPE_LOCK (struct vmw_private)->cmdbuf_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_shader.c vmw_user_shader_alloc() -> vmw_gb_shader_init()

Type Parameter Key Value
PARAM_VALUE 0 dev_priv 4096-ptr_max
PARAM_VALUE 1 res 4096-ptr_max
PARAM_VALUE 4 type 1-2
PARAM_VALUE 5 num_input_sig 0
PARAM_VALUE 6 num_output_sig 0
PARAM_VALUE 7 byte_code 0,4096-ptr_max
BUF_SIZE 1 res 152
DATA_SOURCE 0 dev_priv $0
DATA_SOURCE 2 size $2
DATA_SOURCE 3 offset $3
DATA_SOURCE 4 type $4
DATA_SOURCE 5 num_input_sig $5
DATA_SOURCE 6 num_output_sig $6
DATA_SOURCE 7 byte_code $1
FUZZY_MAX 4 type 2
HARD_MAX 4 type 2
USER_DATA 2 size 0-u32max[u]
USER_DATA 3 offset 0-u64max[u]