Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev 1-u64max
PARAM_VALUE 0 dev->dev_private 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->driver->gem_prime_import 1-u64max
PARAM_VALUE 0 dev->object_name_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->object_name_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->object_name_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->object_name_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->object_name_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->object_name_lock.wait_lock.owner (-1)
PARAM_VALUE 0 dev->object_name_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 bo 4096-ptr_max
PARAM_VALUE 1 bo->base.base._resv.fences 0
PARAM_VALUE 1 bo->base.base._resv.lock.base.dep_map->name 0-255
PARAM_VALUE 1 bo->base.base._resv.lock.base.magic 4096-ptr_max
PARAM_VALUE 1 bo->base.base._resv.lock.ctx 0
PARAM_VALUE 1 bo->base.base._resv.lock.ww_class 8825623990767841280
PARAM_VALUE 1 bo->base.base._resv.lock.ww_class->is_wait_die 0-s32max
PARAM_VALUE 1 bo->base.base.filp 0
PARAM_VALUE 1 bo->base.base.funcs 4729814806068948992
PARAM_VALUE 1 bo->base.base.gpuva.lock.dep_map->name 0-255
PARAM_VALUE 1 bo->base.base.gpuva.lock.first_waiter 0
PARAM_VALUE 1 bo->base.base.gpuva.lock.magic 4096-ptr_max
PARAM_VALUE 1 bo->base.base.gpuva.lock.owner.counter 0
PARAM_VALUE 1 bo->base.base.handle_count 0
PARAM_VALUE 1 bo->base.base.import_attach 4096-ptr_max
PARAM_VALUE 1 bo->base.base.import_attach->dev 1-u64max
PARAM_VALUE 1 bo->base.base.import_attach->dmabuf 4096-ptr_max
PARAM_VALUE 1 bo->base.base.import_attach->importer_ops 8418988896761581568
PARAM_VALUE 1 bo->base.base.import_attach->importer_priv 4096-ptr_max
PARAM_VALUE 1 bo->base.base.import_attach->node.next 4096-ptr_max
PARAM_VALUE 1 bo->base.base.import_attach->node.prev 4096-ptr_max
PARAM_VALUE 1 bo->base.base.lru_node.next 4096-ptr_max
PARAM_VALUE 1 bo->base.base.lru_node.next->next 4096-ptr_max
PARAM_VALUE 1 bo->base.base.lru_node.prev 4096-ptr_max
PARAM_VALUE 1 bo->base.base.lru_node.prev->next 4096-ptr_max
PARAM_VALUE 1 bo->base.base.lru_node.prev->prev 4096-ptr_max
PARAM_VALUE 1 bo->base.base.refcount.refcount.refs.counter 1
PARAM_VALUE 1 bo->base.base.resv 1-u64max
PARAM_VALUE 1 bo->base.base.resv->fences 0
PARAM_VALUE 1 bo->base.base.resv->lock.base.magic 4096-ptr_max
PARAM_VALUE 1 bo->base.base.resv->lock.ctx 0
PARAM_VALUE 1 bo->base.base.resv->lock.ww_class 8825623990767841280
PARAM_VALUE 1 bo->base.base.vma_node.driver_private 0
PARAM_VALUE 1 bo->base.base.vma_node.vm_lock.magic 3736018669
PARAM_VALUE 1 bo->base.base.vma_node.vm_lock.owner (-1)
PARAM_VALUE 1 bo->base.base.vma_node.vm_lock.owner_cpu u32max
PARAM_VALUE 1 bo->base.base.vma_node.vm_node.color 0
PARAM_VALUE 1 bo->base.base.vma_node.vm_node.flags 0
PARAM_VALUE 1 bo->base.base.vma_node.vm_node.mm 0
PARAM_VALUE 1 bo->base.base.vma_node.vm_node.size 0
PARAM_VALUE 1 bo->base.base.vma_node.vm_node.stack 0
PARAM_VALUE 1 bo->base.base.vma_node.vm_node.start 0
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 attach 4096-ptr_max
PARAM_VALUE 2 attach->dev 1-u64max
PARAM_VALUE 2 attach->dmabuf 4096-ptr_max
PARAM_VALUE 2 attach->importer_ops 8418988896761581568
PARAM_VALUE 2 attach->importer_priv 4096-ptr_max
PARAM_VALUE 2 attach->node.next 4096-ptr_max
PARAM_VALUE 2 attach->node.prev 4096-ptr_max
BUF_SIZE 1 bo 912
BUF_SIZE 2 attach 64
BUF_SIZE 2 attach->dmabuf s32min-(-2),1-s32max
BUF_SIZE 2 attach->importer_ops 16
BUF_SIZE 2 attach->importer_priv 704
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 bo r _kzalloc_noprof
DATA_SOURCE 2 attach r dma_buf_dynamic_attach
UNITS 0 dev unit_byte
LOCK2 &file_priv->prime.lock
LOCK2 0 &dev->object_name_lock
HALF_LOCKED2 &p->mutex
TYPE_LOCK (struct drm_device)->object_name_lock
TYPE_LOCK (struct drm_prime_file_private)->lock