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_gem.c virtio_gpu_gem_object_open() -> virtio_gpu_cmd_context_attach_resource()

Type Parameter Key Value
PARAM_VALUE 0 vgdev 4096-ptr_max
PARAM_VALUE 0 vgdev->has_virgl_3d 1
PARAM_VALUE 2 objs 4096-ptr_max
PARAM_VALUE 2 objs->nents 1
PARAM_VALUE 2 objs->total 1
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
BUF_SIZE 2 objs 184-s32max
BUF_SIZE 2 objs 184-s32max
DATA_SOURCE 2 objs r virtio_gpu_array_alloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 vgdev unit_byte
HALF_LOCKED2 &dev->object_name_lock
HALF_LOCKED2 &file->driver_priv->mutex
HALF_LOCKED2 &file->prime.lock
HALF_LOCKED2 &obj->dev->object_name_lock