Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/gpu/drm/virtio/virtgpu_ioctl.c virtio_gpu_transfer_to_host_ioctl() -> virtio_gpu_cmd_transfer_to_host_2d()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vgdev | 4096-ptr_max |
| PARAM_VALUE | 0 | vgdev->has_virgl_3d | 0 |
| PARAM_VALUE | 6 | objs | 4096-ptr_max |
| PARAM_VALUE | 6 | objs->nents | 1 |
| PARAM_VALUE | 6 | objs->objs | 4096-ptr_max |
| PARAM_VALUE | 6 | objs->total | 1 |
| PARAM_VALUE | 7 | fence | 0 |
| BUF_SIZE | 0 | vgdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | vgdev | s32min-(-2),1-s32max |
| BUF_SIZE | 6 | objs | 184-s32max |
| BUF_SIZE | 6 | objs | 184-s32max |
| DATA_SOURCE | 6 | objs | r virtio_gpu_array_from_handles |
| NOCHECK_CALL | |||
| USER_DATA | 1 | offset | 0-u32max[u] |
| USER_DATA | 2 | width | 0-u32max[u] |
| USER_DATA | 3 | height | 0-u32max[u] |
| USER_DATA | 4 | x | 0-u32max[u] |
| USER_DATA | 5 | y | 0-u32max[u] |
| USER_DATA | 6 | objs->total | 1[u] |
| UNITS | 0 | vgdev | unit_byte |
drivers/gpu/drm/virtio/virtgpu_plane.c virtio_gpu_cursor_plane_update() -> virtio_gpu_cmd_transfer_to_host_2d()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 0 |
| PARAM_VALUE | 4 | x | 0 |
| PARAM_VALUE | 5 | y | 0 |
| PARAM_VALUE | 6 | objs | 4096-ptr_max |
| PARAM_VALUE | 6 | objs->nents | 1 |
| PARAM_VALUE | 6 | objs->total | 1 |
| BUF_SIZE | 0 | vgdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | vgdev | s32min-(-2),1-s32max |
| BUF_SIZE | 6 | objs | 184-s32max |
| BUF_SIZE | 6 | objs | 184-s32max |
| DATA_SOURCE | 6 | objs | r virtio_gpu_array_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | vgdev | unit_byte |
| UNITS | 2 | width | unit_byte |
| UNITS | 3 | height | unit_byte |
| HALF_LOCKED2 | &vkms_output->lock | ||
| HALF_LOCKED2 | irq |
drivers/gpu/drm/virtio/virtgpu_plane.c virtio_gpu_update_dumb_bo() -> virtio_gpu_cmd_transfer_to_host_2d()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 6 | objs | 4096-ptr_max |
| PARAM_VALUE | 6 | objs->nents | 1 |
| PARAM_VALUE | 6 | objs->total | 1 |
| PARAM_VALUE | 7 | fence | 0 |
| BUF_SIZE | 0 | vgdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | vgdev | s32min-(-2),1-s32max |
| BUF_SIZE | 6 | objs | 184-s32max |
| BUF_SIZE | 6 | objs | 184-s32max |
| DATA_SOURCE | 0 | vgdev | $0 |
| DATA_SOURCE | 6 | objs | r virtio_gpu_array_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | vgdev | unit_byte |
| UNITS | 2 | width | unit_byte |
| UNITS | 3 | height | unit_byte |
| UNITS | 4 | x | unit_byte |
| UNITS | 5 | y | unit_byte |
| HALF_LOCKED2 | irq |