Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/virtio/virtgpu_ioctl.c virtio_gpu_context_init_ioctl() -> virtio_gpu_create_context_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vgdev | 4096-ptr_max |
| PARAM_VALUE | 0 | vgdev->has_context_init | 1 |
| PARAM_VALUE | 0 | vgdev->has_virgl_3d | 1 |
| PARAM_VALUE | 1 | vfpriv | 4096-ptr_max |
| PARAM_VALUE | 1 | vfpriv->context_created | 0 |
| PARAM_VALUE | 1 | vfpriv->context_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | vfpriv->context_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | vfpriv->context_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | vfpriv->context_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | vfpriv->context_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | vfpriv->context_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | vfpriv->context_lock.wait_lock.owner_cpu | u32max |
| BUF_SIZE | 0 | vgdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | vgdev | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | vfpriv | 16,48,104,120,152,248,256,352,424,464,576,768,968,1120,1424,2256,4712,13184 |
| BUF_SIZE | 1 | vfpriv | 16,48,104,120,152,248,256,352,424,464,576,768,968,1120,1424,2256,4712,13184 |
| CAPPED_DATA | 1 | &vfpriv->context_lock | 1 |
| NOCHECK_CALL | |||
| UNITS | 0 | vgdev | unit_byte |
| LOCK2 | 1 | &vfpriv->context_lock | |
| TYPE_LOCK | (struct virtio_gpu_fpriv)->context_lock |
drivers/gpu/drm/virtio/virtgpu_ioctl.c virtio_gpu_create_context() -> virtio_gpu_create_context_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vgdev | 4096-ptr_max |
| PARAM_VALUE | 1 | vfpriv | 4096-ptr_max |
| PARAM_VALUE | 1 | vfpriv->context_created | 0 |
| PARAM_VALUE | 1 | vfpriv->context_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | vfpriv->context_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | vfpriv->context_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | vfpriv->context_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | vfpriv->context_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | vfpriv->context_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | vfpriv->context_lock.wait_lock.owner_cpu | u32max |
| BUF_SIZE | 0 | vgdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | vgdev | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | vfpriv | 16,48,104,120,152,248,256,352,424,464,576,768,968,1120,1424,2256,4712,13184 |
| BUF_SIZE | 1 | vfpriv | 16,48,104,120,152,248,256,352,424,464,576,768,968,1120,1424,2256,4712,13184 |
| CAPPED_DATA | 1 | &vfpriv->context_lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | vgdev | unit_byte |
| LOCK2 | 1 | &vfpriv->context_lock | |
| TYPE_LOCK | (struct virtio_gpu_fpriv)->context_lock |