Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c vmw_cmdbuf_man_create() -> vmw_cmdbuf_startstop()

Type Parameter Key Value
PARAM_VALUE 0 man 4096-ptr_max
PARAM_VALUE 0 man->alloc_queue.head.next 4096-ptr_max
PARAM_VALUE 0 man->alloc_queue.head.next->next 4096-ptr_max
PARAM_VALUE 0 man->alloc_queue.head.prev 4096-ptr_max
PARAM_VALUE 0 man->alloc_queue.head.prev->next 4096-ptr_max
PARAM_VALUE 0 man->alloc_queue.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 man->ctx 4096-ptr_max
PARAM_VALUE 0 man->cur_mutex.dep_map->name 0-255
PARAM_VALUE 0 man->cur_mutex.first_waiter 0
PARAM_VALUE 0 man->cur_mutex.magic 4096-ptr_max
PARAM_VALUE 0 man->cur_mutex.osq.tail.counter 0
PARAM_VALUE 0 man->cur_mutex.owner.counter 0
PARAM_VALUE 0 man->default_size 960
PARAM_VALUE 0 man->dev_priv 4096-ptr_max
PARAM_VALUE 0 man->dev_priv->active_display_unit 1-3
PARAM_VALUE 0 man->dev_priv->capabilities 16777216-u32max
PARAM_VALUE 0 man->dev_priv->drm.dev 4096-ptr_max
PARAM_VALUE 0 man->dev_priv->fifo 4096-ptr_max
PARAM_VALUE 0 man->dev_priv->fifo_mem 4096-ptr_max
PARAM_VALUE 0 man->dev_priv->fifo_mem_size 0-u32max
PARAM_VALUE 0 man->dev_priv->fman 4096-ptr_max
PARAM_VALUE 0 man->dev_priv->initial_height 800-u32max
PARAM_VALUE 0 man->dev_priv->initial_width 1280-u32max
PARAM_VALUE 0 man->dev_priv->map_mode 0-2
PARAM_VALUE 0 man->dev_priv->max_mob_pages 0-1073741823
PARAM_VALUE 0 man->dev_priv->max_primary_mem 0-u32max
PARAM_VALUE 0 man->dev_priv->num_irq_vectors 0-s32max
PARAM_VALUE 0 man->dev_priv->pci_id 0-1029,1031-u32max
PARAM_VALUE 0 man->dev_priv->sm_type 0-4
PARAM_VALUE 0 man->dheaders 4096-ptr_max
PARAM_VALUE 0 man->error.next 4096-ptr_max
PARAM_VALUE 0 man->error.next->next 4096-ptr_max
PARAM_VALUE 0 man->error.prev 4096-ptr_max
PARAM_VALUE 0 man->error.prev->next 4096-ptr_max
PARAM_VALUE 0 man->error.prev->prev 4096-ptr_max
PARAM_VALUE 0 man->error_mutex.dep_map->name 0-255
PARAM_VALUE 0 man->error_mutex.first_waiter 0
PARAM_VALUE 0 man->error_mutex.magic 4096-ptr_max
PARAM_VALUE 0 man->error_mutex.osq.tail.counter 0
PARAM_VALUE 0 man->error_mutex.owner.counter 0
PARAM_VALUE 0 man->headers 4096-ptr_max
PARAM_VALUE 0 man->idle_queue.head.next 4096-ptr_max
PARAM_VALUE 0 man->idle_queue.head.next->next 4096-ptr_max
PARAM_VALUE 0 man->idle_queue.head.prev 4096-ptr_max
PARAM_VALUE 0 man->idle_queue.head.prev->next 4096-ptr_max
PARAM_VALUE 0 man->idle_queue.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 man->max_hw_submitted 31
PARAM_VALUE 0 man->num_contexts 1-2
PARAM_VALUE 0 man->space_mutex.dep_map->name 0-255
PARAM_VALUE 0 man->space_mutex.first_waiter 0
PARAM_VALUE 0 man->space_mutex.magic 4096-ptr_max
PARAM_VALUE 0 man->space_mutex.osq.tail.counter 0
PARAM_VALUE 0 man->space_mutex.owner.counter 0
PARAM_VALUE 1 context 0
PARAM_VALUE 2 enable 1
BUF_SIZE 0 man 1272
BUF_SIZE 0 man->dheaders 192
BUF_SIZE 0 man->headers 192
CAPPED_DATA 0 man->dheaders->allocation 1
CAPPED_DATA 0 man->dheaders->boundary 1
CAPPED_DATA 0 man->dheaders->size 1
CAPPED_DATA 0 man->headers->allocation 1
CAPPED_DATA 0 man->headers->boundary 1
CAPPED_DATA 0 man->headers->size 1
CAPPED_DATA 0 man->num_contexts 1
DATA_SOURCE 0 man r _kzalloc_noprof
FUZZY_MAX 0 man->num_contexts 2
HARD_MAX 0 man->num_contexts 2
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 man->dev_priv->capabilities 16777216-2147483646,2147483648-u32max
HOST_DATA 0 man->dev_priv->capabilities2 0-u32max
HOST_DATA 0 man->dev_priv->config_done_state 0-u32max
HOST_DATA 0 man->dev_priv->drm.mode_config.object_idr.idr_rt.xa_flags 0,4-67108868
HOST_DATA 0 man->dev_priv->enable_state 0-u32max
HOST_DATA 0 man->dev_priv->fb_max_height 0-u32max
HOST_DATA 0 man->dev_priv->fb_max_width 0-u32max[c]
HOST_DATA 0 man->dev_priv->fifo_mem_size 0-u32max
HOST_DATA 0 man->dev_priv->initial_height 801-u32max[c]
HOST_DATA 0 man->dev_priv->initial_width 1281-u32max[c]
HOST_DATA 0 man->dev_priv->max_gmr_ids 0-u32max
HOST_DATA 0 man->dev_priv->max_gmr_pages 0-u32max
HOST_DATA 0 man->dev_priv->max_mob_pages 0-1073741823[c]
HOST_DATA 0 man->dev_priv->max_mob_size 0-u32max
HOST_DATA 0 man->dev_priv->max_primary_mem 0-u32max
HOST_DATA 0 man->dev_priv->memory_size 0-u32max
HOST_DATA 0 man->dev_priv->stdu_max_height 0-u32max
HOST_DATA 0 man->dev_priv->stdu_max_width 0-u32max
HOST_DATA 0 man->dev_priv->texture_max_height 0-u32max
HOST_DATA 0 man->dev_priv->texture_max_width 0-u32max
HOST_DATA 0 man->dev_priv->traces_state 0-u32max
HOST_DATA 0 man->dev_priv->vram_size 0-u32max
NO_OVERFLOW_SIMPLE 0 man->dev_priv->drm.num_crtcs

drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c vmw_cmdbuf_man_destroy() -> vmw_cmdbuf_startstop()

Type Parameter Key Value
PARAM_VALUE 0 man 4096-ptr_max
PARAM_VALUE 0 man->cmd_space->tbo.base._resv.lock.ww_class->is_wait_die 0-1
PARAM_VALUE 0 man->cmd_space->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 man->cur 0
PARAM_VALUE 0 man->cur_mutex.dep_map->name 0-255
PARAM_VALUE 0 man->cur_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 man->cur_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 man->cur_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 man->cur_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 man->dev_priv 4096-ptr_max
PARAM_VALUE 0 man->dev_priv->bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 man->dev_priv->bdev.dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 man->dev_priv->drm.dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 man->dev_priv->waiter_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 man->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 man->num_contexts 0-s32max
PARAM_VALUE 0 man->work.entry.next->prev 4096-ptr_max
PARAM_VALUE 1 context 0
PARAM_VALUE 2 enable 0
BUF_SIZE 0 man (-1)-0,1272
BUF_SIZE 0 man (-1)-0,1272
BUF_SIZE 0 man->dheaders (-1),192
BUF_SIZE 0 man->headers (-1),192
CAPPED_DATA 0 man->num_contexts 1
DATA_SOURCE 0 man $0
FUZZY_MAX 0 man->num_contexts 2
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 man->dev_priv->capabilities 16777216-2147483646,2147483648-u32max
HOST_DATA 0 man->dev_priv->capabilities2 0-u32max
HOST_DATA 0 man->dev_priv->config_done_state 0-u32max
HOST_DATA 0 man->dev_priv->drm.mode_config.object_idr.idr_rt.xa_flags 0,4-u32max
HOST_DATA 0 man->dev_priv->enable_state 0-u32max
HOST_DATA 0 man->dev_priv->fb_max_height 0-u32max
HOST_DATA 0 man->dev_priv->fb_max_width 0-u32max[c]
HOST_DATA 0 man->dev_priv->fifo_mem_size 0-u32max
HOST_DATA 0 man->dev_priv->initial_height 801-u32max[c]
HOST_DATA 0 man->dev_priv->initial_width 1281-u32max[c]
HOST_DATA 0 man->dev_priv->max_gmr_ids 0-u32max
HOST_DATA 0 man->dev_priv->max_gmr_pages 0-u32max
HOST_DATA 0 man->dev_priv->max_mob_pages 0-1073741823[c]
HOST_DATA 0 man->dev_priv->max_mob_size 0-u32max
HOST_DATA 0 man->dev_priv->max_primary_mem 0-u32max
HOST_DATA 0 man->dev_priv->memory_size 0-u32max
HOST_DATA 0 man->dev_priv->stdu_max_height 0-u32max
HOST_DATA 0 man->dev_priv->stdu_max_width 0-u32max
HOST_DATA 0 man->dev_priv->texture_max_height 0-u32max
HOST_DATA 0 man->dev_priv->texture_max_width 0-u32max
HOST_DATA 0 man->dev_priv->traces_state 0-u32max
HOST_DATA 0 man->dev_priv->vram_size 0-u32max
NO_OVERFLOW_SIMPLE 0 man->cmd_space->tbo.base.dev->mode_config.num_colorop
NO_OVERFLOW_SIMPLE 0 man->cmd_space->tbo.base.dev->mode_config.num_crtc
NO_OVERFLOW_SIMPLE 0 man->cmd_space->tbo.base.dev->mode_config.num_total_plane
NO_OVERFLOW_SIMPLE 0 man->cmd_space->tbo.base.dev->num_crtcs
NO_OVERFLOW_SIMPLE 0 man->dev_priv->drm.num_crtcs
NO_OVERFLOW_SIMPLE 0 man->headers->allocation

drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c vmw_cmdbuf_work_func() -> vmw_cmdbuf_startstop()

Type Parameter Key Value
PARAM_VALUE 0 man 4096-ptr_max
PARAM_VALUE 0 man->ctx 4096-ptr_max
PARAM_VALUE 0 man->dev_priv->hw_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 man->dheaders->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 man->dheaders->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 man->dheaders->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 man->dheaders->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 man->dheaders->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 man->dheaders->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 man->error_mutex.dep_map->name 0-255
PARAM_VALUE 0 man->error_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 man->error_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 man->error_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 man->error_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 man->error_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 man->error_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 man->headers->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 man->headers->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 man->headers->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 man->headers->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 man->headers->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 man->headers->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 man->irq_on 0
PARAM_VALUE 0 man->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 man->num_contexts 0-s32max
PARAM_VALUE 0 man->space_mutex.dep_map->name 0-255
PARAM_VALUE 0 man->space_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 man->space_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 man->space_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 man->space_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 man->space_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 man->space_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 man->space_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 man->space_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 context 0
PARAM_VALUE 2 enable 1
CAPPED_DATA 0 man->num_contexts 1
CAPPED_DATA 0 &man->error 1
CAPPED_DATA 0 &man->error_mutex 1
LOCK2 0 &man->error_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct vmw_cmdbuf_man)->error_mutex