Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 8 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c amdgpu_gem_prime_export() -> drm_gem_prime_export()

Type Parameter Key Value
PARAM_VALUE 0 obj 4096-ptr_max
PARAM_VALUE 0 obj->dma_buf 0
PARAM_VALUE 0 obj->funcs 4096-ptr_max
PARAM_VALUE 0 obj->funcs->export 4096-ptr_max
PARAM_VALUE 0 obj->handle_count 1-u32max
PARAM_VALUE 0 obj->import_attach 0
PARAM_VALUE 1 flags 0-1048574
DATA_SOURCE 0 obj $0
DATA_SOURCE 1 flags $1
BIT_INFO 1 flags 0x0,0x80002
USER_DATA 1 flags 0-1048574[u]
LOCK2 &dev->object_name_lock
LOCK2 &file_priv->prime.lock
TYPE_LOCK (struct drm_device)->object_name_lock
TYPE_LOCK (struct drm_prime_file_private)->lock

drivers/gpu/drm/vc4/vc4_bo.c vc4_prime_export() -> drm_gem_prime_export()

Type Parameter Key Value
PARAM_VALUE 0 obj 4096-ptr_max
PARAM_VALUE 0 obj->dma_buf 0
PARAM_VALUE 0 obj->funcs 4096-ptr_max
PARAM_VALUE 0 obj->funcs->export 4096-ptr_max
PARAM_VALUE 0 obj->handle_count 1-u32max
PARAM_VALUE 0 obj->import_attach 0
PARAM_VALUE 1 flags 0-1048574
DATA_SOURCE 0 obj $0
DATA_SOURCE 1 flags $1
BIT_INFO 1 flags 0x0,0x80002
USER_DATA 1 flags 0-1048574[u]
LOCK2 &dev->object_name_lock
LOCK2 &file_priv->prime.lock
TYPE_LOCK (struct drm_device)->object_name_lock
TYPE_LOCK (struct drm_prime_file_private)->lock

drivers/gpu/drm/radeon/radeon_prime.c radeon_gem_prime_export() -> drm_gem_prime_export()

Type Parameter Key Value
PARAM_VALUE 0 obj 4096-ptr_max
PARAM_VALUE 0 obj->dma_buf 0
PARAM_VALUE 0 obj->funcs 4096-ptr_max
PARAM_VALUE 0 obj->funcs->export 4096-ptr_max
PARAM_VALUE 0 obj->handle_count 1-u32max
PARAM_VALUE 0 obj->import_attach 0
PARAM_VALUE 1 flags 0-1048574
DATA_SOURCE 0 obj $0
DATA_SOURCE 1 flags $1
BIT_INFO 1 flags 0x0,0x80002
USER_DATA 1 flags 0-1048574[u]
LOCK2 &dev->object_name_lock
LOCK2 &file_priv->prime.lock
TYPE_LOCK (struct drm_device)->object_name_lock
TYPE_LOCK (struct drm_prime_file_private)->lock

drivers/gpu/drm/xe/xe_dma_buf.c xe_gem_prime_export() -> drm_gem_prime_export()

Type Parameter Key Value
PARAM_VALUE 0 obj 0-ptr_max
PARAM_VALUE 0 obj->funcs->export 0,4096-ptr_max
PARAM_VALUE 1 flags 0-1048574
DATA_SOURCE 0 obj $0
DATA_SOURCE 1 flags $1
BIT_INFO 1 flags 0x0,0x80002
USER_DATA 1 flags 0-1048574[u]
HALF_LOCKED2 &dev->object_name_lock
HALF_LOCKED2 &file_priv->prime.lock

drivers/gpu/drm/drm_prime.c export_and_register_object() -> drm_gem_prime_export()

Type Parameter Key Value
PARAM_VALUE 0 obj 4096-ptr_max
PARAM_VALUE 0 obj->dma_buf 0
PARAM_VALUE 0 obj->funcs 0,4096-ptr_max
PARAM_VALUE 0 obj->funcs->export 0
PARAM_VALUE 0 obj->handle_count 1-u32max
PARAM_VALUE 0 obj->import_attach 0
PARAM_VALUE 1 flags 0-1048574
DATA_SOURCE 0 obj $1
DATA_SOURCE 1 flags $2
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

drivers/gpu/drm/nouveau/nouveau_prime.c nouveau_gem_prime_export() -> drm_gem_prime_export()

Type Parameter Key Value
PARAM_VALUE 0 obj 4096-ptr_max
PARAM_VALUE 0 obj->dma_buf 0
PARAM_VALUE 0 obj->funcs 4096-ptr_max
PARAM_VALUE 0 obj->funcs->export 4096-ptr_max
PARAM_VALUE 0 obj->handle_count 1-u32max
PARAM_VALUE 0 obj->import_attach 0
PARAM_VALUE 1 flags 0-1048574
DATA_SOURCE 0 obj $0
DATA_SOURCE 1 flags $1
BIT_INFO 1 flags 0x0,0x80002
USER_DATA 1 flags 0-1048574[u]
LOCK2 &dev->object_name_lock
LOCK2 &file_priv->prime.lock
TYPE_LOCK (struct drm_device)->object_name_lock
TYPE_LOCK (struct drm_prime_file_private)->lock

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

Type Parameter Key Value
PARAM_VALUE 0 obj 4096-ptr_max
PARAM_VALUE 0 obj->dma_buf 0
PARAM_VALUE 0 obj->funcs 4096-ptr_max
PARAM_VALUE 0 obj->funcs->export 4096-ptr_max
PARAM_VALUE 0 obj->handle_count 1-u32max
PARAM_VALUE 0 obj->import_attach 0
PARAM_VALUE 1 flags 0-1048574
DATA_SOURCE 0 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