Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/virtio/virtgpu_object.c virtio_gpu_object_create() -> virtio_gpu_cmd_create_resource()

Type Parameter Key Value
PARAM_VALUE 0 vgdev 4096-ptr_max
PARAM_VALUE 0 vgdev->ddev 4096-ptr_max
PARAM_VALUE 0 vgdev->ddev->driver 4096-ptr_max
PARAM_VALUE 0 vgdev->ddev->huge_mnt->mnt_sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648
PARAM_VALUE 0 vgdev->ddev->huge_mnt->mnt_sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576
PARAM_VALUE 0 vgdev->ddev->huge_mnt->mnt_sb->s_cop->inode_info_offs 1632,1808,2632,2648,2704,2712
PARAM_VALUE 0 vgdev->ddev->huge_mnt->mnt_sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360
PARAM_VALUE 0 vgdev->ddev->huge_mnt->mnt_sb->s_fs_info->mpol->refcnt.counter s32min-s32max
PARAM_VALUE 0 vgdev->ddev->huge_mnt->mnt_sb->s_fs_info->stat_lock.owner (-1)
PARAM_VALUE 0 vgdev->ddev->huge_mnt->mnt_sb->s_fs_info->stat_lock.owner_cpu 4294967295
PARAM_VALUE 0 vgdev->ddev->huge_mnt->mnt_sb->s_fs_info->stat_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 *vgdev->ddev->huge_mnt->mnt_sb->s_fs_info->stat_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 bo 4096-ptr_max
PARAM_VALUE 1 bo->base.base.dev->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 1 bo->base.base.filp->f_mapping->host->i_mapping 4096-ptr_max
PARAM_VALUE 1 bo->base.base.resv->fences->max_fences 0-4294967295
PARAM_VALUE 1 bo->base.base.resv->lock.base.dep_map->name 0-255
PARAM_VALUE 1 bo->base.base.resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 bo->base.base.resv->lock.base.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 bo->base.base.resv->lock.base.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 1 bo->base.base.resv->lock.base.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 bo->base.base.resv->lock.base.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 bo->base.base.resv->lock.ctx 0
PARAM_VALUE 1 bo->base.pages_mark_accessed_on_put 0
PARAM_VALUE 1 bo->base.pages_mark_dirty_on_put 0
PARAM_VALUE 1 bo->base.sgt 4096-ptr_max
PARAM_VALUE 1 bo->base.sgt->nents 0-s32max
PARAM_VALUE 1 bo->restore_node.next 4096-ptr_max
PARAM_VALUE 1 bo->restore_node.next->next 4096-ptr_max
PARAM_VALUE 1 bo->restore_node.prev 4096-ptr_max
PARAM_VALUE 1 bo->restore_node.prev->next 4096-ptr_max
PARAM_VALUE 1 bo->restore_node.prev->prev 4096-ptr_max
PARAM_VALUE 2 params 2236386924167278592,4743625328666308608
PARAM_VALUE 2 params->blob 0
PARAM_VALUE 2 params->blob_flags 0,2
PARAM_VALUE 2 params->blob_hints 0
PARAM_VALUE 2 params->blob_id 0
PARAM_VALUE 2 params->blob_mem 0-1
PARAM_VALUE 2 params->ctx_id 0
PARAM_VALUE 2 params->virgl 0
PARAM_VALUE 3 objs 0,4096-ptr_max
PARAM_VALUE 3 objs->nents 1
PARAM_VALUE 3 objs->ticket.contending_lock 0
PARAM_VALUE 3 objs->ticket.dep_map->name 0-255
PARAM_VALUE 3 objs->ticket.done_acquire 1
PARAM_VALUE 3 objs->ticket.first_lock_dep_map->name 0-255
PARAM_VALUE 3 objs->ticket.wounded 0-1
PARAM_VALUE 3 objs->ticket.ww_class->acquire_name 4096-ptr_max
PARAM_VALUE 3 objs->ticket.ww_class->is_wait_die 0-s32max
PARAM_VALUE 3 objs->ticket.ww_class->mutex_name 4096-ptr_max
PARAM_VALUE 3 objs->total 1
PARAM_VALUE 4 fence 0,4096-ptr_max
PARAM_VALUE 4 fence->drv 4096-ptr_max
PARAM_VALUE 4 fence->f.cb_list.next 4096-ptr_max
PARAM_VALUE 4 fence->f.cb_list.next->next 4096-ptr_max
PARAM_VALUE 4 fence->f.cb_list.prev 4096-ptr_max
PARAM_VALUE 4 fence->f.cb_list.prev->next 4096-ptr_max
PARAM_VALUE 4 fence->f.cb_list.prev->prev 4096-ptr_max
PARAM_VALUE 4 fence->f.error 0
PARAM_VALUE 4 fence->f.extern_lock 1-u64max
PARAM_VALUE 4 fence->f.flags 1,3,5,7
PARAM_VALUE 4 fence->f.ops 5370990546352951296
PARAM_VALUE 4 fence->f.ops->enable_signaling 0,4096-ptr_max
PARAM_VALUE 4 fence->f.ops->get_driver_name 4096-ptr_max
PARAM_VALUE 4 fence->f.ops->get_timeline_name 4096-ptr_max
PARAM_VALUE 4 fence->f.ops->release 0,4096-ptr_max
PARAM_VALUE 4 fence->f.ops->set_deadline 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424
PARAM_VALUE 4 fence->f.ops->signaled 0,4096-ptr_max
PARAM_VALUE 4 fence->f.ops->wait 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936
PARAM_VALUE 4 fence->f.refcount.refcount.refs.counter 1
PARAM_VALUE 4 fence->f.seqno 0
PARAM_VALUE 4 fence->ring_idx 0
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
BUF_SIZE 3 objs 0,184-s32max
BUF_SIZE 3 objs 0,184-s32max
BUF_SIZE 4 fence (-1),184
BUF_SIZE 4 fence (-1),184
CAPPED_DATA 1 bo->base.base.resv->fences 1
DATA_SOURCE 0 vgdev $0
DATA_SOURCE 2 params $1
DATA_SOURCE 4 fence $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 2 params->array_size 0-u32max[u]
USER_DATA 2 params->bind 0-u32max[u]
USER_DATA 2 params->depth 0-u32max[u]
USER_DATA 2 params->flags 0-u32max[u]
USER_DATA 2 params->format 0-u32max[u]
USER_DATA 2 params->height 0-u32max
USER_DATA 2 params->last_level 0-u32max[u]
USER_DATA 2 params->nr_samples 0-u32max[u]
USER_DATA 2 params->target 0-u32max[u]
USER_DATA 2 params->width 0-u32max[u]
UNITS 0 vgdev unit_byte

drivers/gpu/drm/virtio/virtgpu_object.c virtio_gpu_object_restore_all() -> virtio_gpu_cmd_create_resource()

Type Parameter Key Value
PARAM_VALUE 0 vgdev 4096-ptr_max
PARAM_VALUE 0 vgdev->hibernated 0
PARAM_VALUE 0 vgdev->obj_restore_lock.dep_map->name 0-255
PARAM_VALUE 0 vgdev->obj_restore_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 vgdev->obj_restore_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 vgdev->obj_restore_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 vgdev->obj_restore_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 vgdev->obj_restore_lock.wait_lock.owner (-1)
PARAM_VALUE 0 vgdev->obj_restore_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 vgdev->vdev->config->find_vqs 4096-ptr_max
PARAM_VALUE 1 bo 4096-ptr_max
PARAM_VALUE 1 bo->base.base.import_attach 0
PARAM_VALUE 1 bo->params.blob 0
PARAM_VALUE 2 params 4096-ptr_max
PARAM_VALUE 2 params->blob 0
PARAM_VALUE 3 objs 0
PARAM_VALUE 4 fence 0
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
CAPPED_DATA 0 &vgdev->obj_restore_list 1
CAPPED_DATA 0 &vgdev->obj_restore_lock 1
CAPPED_DATA 1 &bo->restore_node 1
DATA_SOURCE 0 vgdev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 vgdev unit_byte
LOCK2 0 &vgdev->obj_restore_lock
TYPE_LOCK (struct virtio_gpu_device)->obj_restore_lock