Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/virtio/virtgpu_prime.c virtgpu_dma_buf_free_obj() -> virtio_gpu_cmd_unref_resource()

Type Parameter Key Value
PARAM_VALUE 1 bo 4096-ptr_max
PARAM_VALUE 1 bo->base.base.dev 4096-ptr_max
PARAM_VALUE 1 bo->base.base.dev->dev_private 4096-ptr_max
PARAM_VALUE 1 bo->base.base.dev->dev_private->obj_restore_lock.dep_map->name 0-255
PARAM_VALUE 1 bo->base.base.dev->dev_private->obj_restore_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 bo->base.base.dev->dev_private->obj_restore_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 bo->created 1
PARAM_VALUE 1 bo->restore_node.next->prev 4096-ptr_max
PARAM_VALUE 1 bo->restore_node.prev->next 4096-ptr_max
PARAM_VALUE 2 no_cb 0
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
NOCHECK_CALL
UNITS 0 vgdev unit_byte
HALF_LOCKED2 &dev->object_name_lock
HALF_LOCKED2 &file_priv->prime.lock

drivers/gpu/drm/virtio/virtgpu_vram.c virtio_gpu_vram_free() -> virtio_gpu_cmd_unref_resource()

Type Parameter Key Value
PARAM_VALUE 0 vgdev 4096-ptr_max
PARAM_VALUE 0 vgdev->host_visible_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 bo 4096-ptr_max
PARAM_VALUE 1 bo->base.base.dev 4096-ptr_max
PARAM_VALUE 1 bo->base.base.dev->dev_private 4096-ptr_max
PARAM_VALUE 1 bo->base.base.dev->dev_private->obj_restore_lock.dep_map->name 0-255
PARAM_VALUE 1 bo->base.base.dev->dev_private->obj_restore_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 bo->base.base.dev->dev_private->obj_restore_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 bo->created 1
PARAM_VALUE 1 bo->restore_node.next->prev 4096-ptr_max
PARAM_VALUE 1 bo->restore_node.prev->next 4096-ptr_max
PARAM_VALUE 2 no_cb 0
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
NOCHECK_CALL
UNITS 0 vgdev unit_byte

drivers/gpu/drm/virtio/virtgpu_object.c virtio_gpu_free_object() -> virtio_gpu_cmd_unref_resource()

Type Parameter Key Value
PARAM_VALUE 0 vgdev 4096-ptr_max
PARAM_VALUE 1 bo 4096-ptr_max
PARAM_VALUE 1 bo->base.base.dev 4096-ptr_max
PARAM_VALUE 1 bo->base.base.dev->dev_private 4096-ptr_max
PARAM_VALUE 1 bo->base.base.dev->dev_private->obj_restore_lock.dep_map->name 0-255
PARAM_VALUE 1 bo->base.base.dev->dev_private->obj_restore_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 bo->base.base.dev->dev_private->obj_restore_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 bo->created 1
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.next->prev 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 no_cb 0
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
NOCHECK_CALL
UNITS 0 vgdev unit_byte

drivers/gpu/drm/virtio/virtgpu_object.c virtio_gpu_object_unref_all() -> virtio_gpu_cmd_unref_resource()

Type Parameter Key Value
PARAM_VALUE 0 vgdev 4096-ptr_max
PARAM_VALUE 0 vgdev->hibernated 1
PARAM_VALUE 0 vgdev->obj_restore_lock.dep_map->name 0-255
PARAM_VALUE 0 vgdev->obj_restore_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 vgdev->obj_restore_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 vgdev->obj_restore_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 vgdev->obj_restore_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 vgdev->obj_restore_lock.wait_lock.owner (-1)
PARAM_VALUE 0 vgdev->obj_restore_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 bo 4096-ptr_max
PARAM_VALUE 1 bo->created 1
PARAM_VALUE 2 no_cb 1
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
CAPPED_DATA 0 &vgdev->obj_restore_list 1
CAPPED_DATA 0 &vgdev->obj_restore_lock 1
CAPPED_DATA 1 &bo->restore_node 1
DATA_SOURCE 0 vgdev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 vgdev unit_byte
LOCK2 0 &vgdev->obj_restore_lock
TYPE_LOCK (struct virtio_gpu_device)->obj_restore_lock