Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/virtio/virtgpu_prime.c virtgpu_dma_buf_init_obj() -> virtgpu_dma_buf_import_sgt()

Type Parameter Key Value
PARAM_VALUE 0 ents 5386998886511071232
PARAM_VALUE 0 *ents 0
PARAM_VALUE 1 nents 4145956559746441216
PARAM_VALUE 2 bo 4096-ptr_max
PARAM_VALUE 2 bo->base.base._resv.fences 0
PARAM_VALUE 2 bo->base.base._resv.lock.base.dep_map->name 0-255
PARAM_VALUE 2 bo->base.base._resv.lock.base.magic 4096-ptr_max
PARAM_VALUE 2 bo->base.base._resv.lock.ctx 0
PARAM_VALUE 2 bo->base.base._resv.lock.ww_class 8825623990767841280
PARAM_VALUE 2 bo->base.base._resv.lock.ww_class->acquire_name 4096-ptr_max
PARAM_VALUE 2 bo->base.base._resv.lock.ww_class->is_wait_die 0-s32max
PARAM_VALUE 2 bo->base.base._resv.lock.ww_class->mutex_name 4096-ptr_max
PARAM_VALUE 2 bo->base.base.filp 0
PARAM_VALUE 2 bo->base.base.funcs 4729814806068948992
PARAM_VALUE 2 bo->base.base.gpuva.list.next 4096-ptr_max
PARAM_VALUE 2 bo->base.base.gpuva.list.next->next 4096-ptr_max
PARAM_VALUE 2 bo->base.base.gpuva.list.prev 4096-ptr_max
PARAM_VALUE 2 bo->base.base.gpuva.list.prev->next 4096-ptr_max
PARAM_VALUE 2 bo->base.base.gpuva.list.prev->prev 4096-ptr_max
PARAM_VALUE 2 bo->base.base.gpuva.lock.dep_map->name 0-255
PARAM_VALUE 2 bo->base.base.gpuva.lock.first_waiter 0
PARAM_VALUE 2 bo->base.base.gpuva.lock.magic 4096-ptr_max
PARAM_VALUE 2 bo->base.base.gpuva.lock.owner.counter 0
PARAM_VALUE 2 bo->base.base.handle_count 0
PARAM_VALUE 2 bo->base.base.import_attach 4096-ptr_max
PARAM_VALUE 2 bo->base.base.import_attach->dev 1-u64max
PARAM_VALUE 2 bo->base.base.import_attach->dmabuf 4096-ptr_max
PARAM_VALUE 2 bo->base.base.import_attach->importer_ops 8418988896761581568
PARAM_VALUE 2 bo->base.base.import_attach->importer_priv 4096-ptr_max
PARAM_VALUE 2 bo->base.base.import_attach->node.next 4096-ptr_max
PARAM_VALUE 2 bo->base.base.import_attach->node.prev 4096-ptr_max
PARAM_VALUE 2 bo->base.base.lru_node.next 4096-ptr_max
PARAM_VALUE 2 bo->base.base.lru_node.next->next 4096-ptr_max
PARAM_VALUE 2 bo->base.base.lru_node.prev 4096-ptr_max
PARAM_VALUE 2 bo->base.base.lru_node.prev->next 4096-ptr_max
PARAM_VALUE 2 bo->base.base.lru_node.prev->prev 4096-ptr_max
PARAM_VALUE 2 bo->base.base.refcount.refcount.refs.counter 1
PARAM_VALUE 2 bo->base.base.resv 1-u64max
PARAM_VALUE 2 bo->base.base.resv->fences 0
PARAM_VALUE 2 bo->base.base.resv->lock.base.magic 4096-ptr_max
PARAM_VALUE 2 bo->base.base.resv->lock.ctx 0
PARAM_VALUE 2 bo->base.base.resv->lock.ww_class 8825623990767841280
PARAM_VALUE 2 bo->base.base.vma_node.driver_private 0
PARAM_VALUE 2 bo->base.base.vma_node.vm_lock.magic 3736018669
PARAM_VALUE 2 bo->base.base.vma_node.vm_lock.owner (-1)
PARAM_VALUE 2 bo->base.base.vma_node.vm_lock.owner_cpu u32max
PARAM_VALUE 2 bo->base.base.vma_node.vm_node.color 0
PARAM_VALUE 2 bo->base.base.vma_node.vm_node.flags 0
PARAM_VALUE 2 bo->base.base.vma_node.vm_node.mm 0
PARAM_VALUE 2 bo->base.base.vma_node.vm_node.size 0
PARAM_VALUE 2 bo->base.base.vma_node.vm_node.stack 0
PARAM_VALUE 2 bo->base.base.vma_node.vm_node.start 0
PARAM_VALUE 2 bo->restore_node.next 4096-ptr_max
PARAM_VALUE 2 bo->restore_node.next->next 4096-ptr_max
PARAM_VALUE 2 bo->restore_node.prev 4096-ptr_max
PARAM_VALUE 2 bo->restore_node.prev->next 4096-ptr_max
PARAM_VALUE 2 bo->restore_node.prev->prev 4096-ptr_max
PARAM_VALUE 3 attach 4096-ptr_max
PARAM_VALUE 3 attach->dmabuf->ops 4096-ptr_max
PARAM_VALUE 3 attach->dmabuf->resv->lock.base.dep_map->name 0-255
PARAM_VALUE 3 attach->dmabuf->resv->lock.base.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 3 attach->dmabuf->resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 3 attach->dmabuf->resv->lock.base.osq.tail.counter 0-s32max
BUF_SIZE 2 bo 912
BUF_SIZE 3 attach 64
DATA_SOURCE 2 bo $1
DATA_SOURCE 3 attach $2
LOCK2 &dev->object_name_lock
LOCK2 &file_priv->prime.lock
LOCK2 resv
HALF_LOCKED2 &p->mutex
TYPE_LOCK (struct drm_device)->object_name_lock
TYPE_LOCK (struct drm_prime_file_private)->lock

drivers/gpu/drm/virtio/virtgpu_plane.c virtio_gpu_prepare_imported_obj() -> virtgpu_dma_buf_import_sgt()

Type Parameter Key Value
PARAM_VALUE 0 ents 6581913338287894528
PARAM_VALUE 0 *ents 0
PARAM_VALUE 1 nents 8818322067407478784
PARAM_VALUE 2 bo 4096-ptr_max
PARAM_VALUE 2 bo->sgt 0
PARAM_VALUE 3 attach 4096-ptr_max
PARAM_VALUE 3 attach->dmabuf->ops 4096-ptr_max
PARAM_VALUE 3 attach->dmabuf->resv->lock.base.dep_map->name 0-255
PARAM_VALUE 3 attach->dmabuf->resv->lock.base.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 3 attach->dmabuf->resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 3 attach->dmabuf->resv->lock.base.osq.tail.counter 0-s32max
RX_PATH
TASK_NOT_RUNNING
LOCK2 resv