Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/gpu/drm/virtio/virtgpu_ioctl.c virtio_gpu_resource_create_ioctl() -> virtio_gpu_fence_alloc()

Type Parameter Key Value
PARAM_VALUE 0 vgdev 4096-ptr_max
PARAM_VALUE 2 ring_idx 0
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
UNITS 0 vgdev unit_byte

drivers/gpu/drm/virtio/virtgpu_ioctl.c virtio_gpu_transfer_from_host_ioctl() -> virtio_gpu_fence_alloc()

Type Parameter Key Value
PARAM_VALUE 0 vgdev 4096-ptr_max
PARAM_VALUE 0 vgdev->has_virgl_3d 1
PARAM_VALUE 2 ring_idx 0
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
UNITS 0 vgdev unit_byte

drivers/gpu/drm/virtio/virtgpu_ioctl.c virtio_gpu_transfer_to_host_ioctl() -> virtio_gpu_fence_alloc()

Type Parameter Key Value
PARAM_VALUE 0 vgdev 4096-ptr_max
PARAM_VALUE 0 vgdev->has_virgl_3d 1
PARAM_VALUE 2 ring_idx 0
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
UNITS 0 vgdev unit_byte

drivers/gpu/drm/virtio/virtgpu_plane.c virtio_gpu_plane_prepare_fb() -> virtio_gpu_fence_alloc()

Type Parameter Key Value
PARAM_VALUE 0 vgdev 4096-ptr_max
PARAM_VALUE 2 ring_idx 0
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vgdev unit_byte

drivers/gpu/drm/virtio/virtgpu_submit.c virtio_gpu_init_submit() -> virtio_gpu_fence_alloc()

Type Parameter Key Value
PARAM_VALUE 0 vgdev 4096-ptr_max
PARAM_VALUE 2 ring_idx 0-4294967294
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
CAPPED_DATA 2 ring_idx 1
DATA_SOURCE 1 base_fence_ctx $4
DATA_SOURCE 2 ring_idx $5
FUZZY_MAX 2 ring_idx 0
NOSPEC 2 ring_idx
NOSPEC 2 ring_idx
USER_DATA 2 ring_idx 0-s32max[c]
UNITS 0 vgdev unit_byte
UNITS 1 base_fence_ctx unit_array_size
UNITS 2 ring_idx unit_array_size

drivers/gpu/drm/virtio/virtgpu_object.c virtio_gpu_detach_object_fenced() -> virtio_gpu_fence_alloc()

Type Parameter Key Value
PARAM_VALUE 0 vgdev 4096-ptr_max
PARAM_VALUE 2 ring_idx 0
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
BUF_SIZE 0 vgdev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vgdev unit_byte
HALF_LOCKED2 dmabuf->resv