Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c igt_dmabuf_export() -> i915_gem_prime_export()

Type Parameter Key Value
PARAM_VALUE 0 gem_obj 4096-ptr_max
PARAM_VALUE 1 flags 0

drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c igt_dmabuf_export_vmap() -> i915_gem_prime_export()

Type Parameter Key Value
PARAM_VALUE 0 gem_obj 4096-ptr_max
PARAM_VALUE 1 flags 0

drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c igt_dmabuf_import_same_driver() -> i915_gem_prime_export()

Type Parameter Key Value
PARAM_VALUE 0 gem_obj 4096-ptr_max
PARAM_VALUE 1 flags 0

drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c igt_dmabuf_import_same_driver_lmem() -> i915_gem_prime_export()

Type Parameter Key Value
PARAM_VALUE 0 gem_obj 4096-ptr_max
PARAM_VALUE 1 flags 0

drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c igt_dmabuf_import_self() -> i915_gem_prime_export()

Type Parameter Key Value
PARAM_VALUE 0 gem_obj 4096-ptr_max
PARAM_VALUE 1 flags 0

drivers/gpu/drm/i915/gvt/dmabuf.c intel_vgpu_get_dmabuf() -> i915_gem_prime_export()

Type Parameter Key Value
PARAM_VALUE 0 gem_obj 4096-ptr_max
PARAM_VALUE 0 gem_obj->_resv.lock.base.magic 4096-ptr_max
PARAM_VALUE 0 gem_obj->_resv.lock.ww_class 8825623990767841280
PARAM_VALUE 0 gem_obj->filp 0
PARAM_VALUE 0 gem_obj->funcs 8073635319949537280
PARAM_VALUE 0 gem_obj->gpuva.list.next 4096-ptr_max
PARAM_VALUE 0 gem_obj->gpuva.list.prev 4096-ptr_max
PARAM_VALUE 0 gem_obj->gpuva.lock.magic 4096-ptr_max
PARAM_VALUE 0 gem_obj->lru_node.next 4096-ptr_max
PARAM_VALUE 0 gem_obj->lru_node.prev 4096-ptr_max
PARAM_VALUE 0 gem_obj->refcount.refcount.refs.counter 1
PARAM_VALUE 0 gem_obj->resv 1-u64max
PARAM_VALUE 0 gem_obj->size 0-4294967296
PARAM_VALUE 0 gem_obj->vma_node.vm_lock.magic 3736018669
PARAM_VALUE 0 gem_obj->vma_node.vm_lock.owner (-1)
PARAM_VALUE 0 gem_obj->vma_node.vm_lock.owner_cpu u32max
PARAM_VALUE 1 flags 524290
LOCK2 &vgpu->dmabuf_lock
TYPE_LOCK (struct intel_vgpu)->dmabuf_lock

drivers/gpu/drm/drm_prime.c export_and_register_object() -> (struct drm_gem_object_funcs)->export()

Type Parameter Key Value
PARAM_VALUE 0 gem_obj 4096-ptr_max
PARAM_VALUE 0 gem_obj->dma_buf 0
PARAM_VALUE 0 gem_obj->funcs 4096-ptr_max
PARAM_VALUE 0 gem_obj->funcs->export 4096-ptr_max
PARAM_VALUE 0 gem_obj->handle_count 1-u32max
PARAM_VALUE 0 gem_obj->import_attach 0
PARAM_VALUE 1 flags 0-1048574
DATA_SOURCE 0 gem_obj $1
DATA_SOURCE 1 flags $2
CONTAINER 0 -32-672+0 $(-1)
BIT_INFO 1 flags 0x0,0x80002
USER_DATA 1 flags 0-1048574[u]
LOCK2 &dev->object_name_lock
LOCK2 &file_priv->prime.lock
HALF_LOCKED2 &mem->lock
HALF_LOCKED2 &p->mutex
TYPE_LOCK (struct drm_device)->object_name_lock
TYPE_LOCK (struct drm_prime_file_private)->lock