Defined in 1 files as a function:
Referenced in 9 files:
- drivers/gpu/drm/vmwgfx/vmwgfx_bo.c
- drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c
- drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c, line 1952
- drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c, line 454
- drivers/gpu/drm/vmwgfx/vmwgfx_prime.c, line 120
- drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
- drivers/gpu/drm/vmwgfx/vmwgfx_shader.c, line 817
- drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
Smatch caller information:
drivers/gpu/drm/vmwgfx/vmwgfx_shader.c vmw_shader_define() -> vmw_user_bo_unref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1683984364616986624 |
| PARAM_VALUE | 0 | *buf | 0,4096-ptr_max |
| NOCHECK_CALL |
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c vmw_resource_check_buffer() -> vmw_user_bo_unref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | *buf | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev_priv->cmdbuf_mutex |
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c vmw_resource_release() -> vmw_user_bo_unref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | *buf | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev_priv->binding_mutex | ||
| HALF_LOCKED2 | &dev_priv->cmdbuf_mutex |
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c vmw_resource_unreserve() -> vmw_user_bo_unref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | *buf | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev_priv->cmdbuf_mutex |
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c vmw_resource_validate() -> vmw_user_bo_unref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | *buf | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev_priv->cmdbuf_mutex |
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c vmw_user_object_lookup() -> vmw_user_bo_unref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 6633407560607899656 |
| PARAM_VALUE | 0 | *buf | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &crtc->cursor->mutex | ||
| HALF_LOCKED2 | &crtc->mutex |
drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c vmw_cotable_resize() -> vmw_user_bo_unref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 5440303152285122560 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev_priv->cmdbuf_mutex | ||
| HALF_LOCKED2 | bo->base.resv |
drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c vmw_cotable_resize() -> vmw_user_bo_unref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1687188257039306752 |
| PARAM_VALUE | 0 | *buf | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev_priv->cmdbuf_mutex |
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_buffer_prime_to_surface_base() -> vmw_user_bo_unref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 456941708843683840 |
| PARAM_VALUE | 0 | *buf | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev_priv->drm.object_name_lock |
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_gb_surface_define_internal() -> vmw_user_bo_unref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | *buf | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_gb_surface_define_internal() -> vmw_user_bo_unref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | *buf | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_translate_guest_ptr() -> vmw_user_bo_unref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 5802791733494013952 |
| PARAM_VALUE | 0 | *buf | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | &dev_priv->cmdbuf_mutex | ||
| TYPE_LOCK | (struct vmw_private)->cmdbuf_mutex |
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_translate_mob_ptr() -> vmw_user_bo_unref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 2985655624225456128 |
| PARAM_VALUE | 0 | *buf | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | &dev_priv->cmdbuf_mutex | ||
| TYPE_LOCK | (struct vmw_private)->cmdbuf_mutex |
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c vmw_user_bo_synccpu_ioctl() -> vmw_user_bo_unref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3806973315165044736 |
| PARAM_VALUE | 0 | *buf | 4096-ptr_max |
| NOCHECK_CALL |
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c vmw_user_bo_synccpu_release() -> vmw_user_bo_unref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1036870250879152128 |
| PARAM_VALUE | 0 | *buf | 4096-ptr_max |
| NOCHECK_CALL |
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vmw_user_object_unref() -> vmw_user_bo_unref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | *buf | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/vmwgfx/vmwgfx_prime.c vmw_prime_handle_to_fd() -> vmw_user_bo_unref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 6253288986845859840 |
| PARAM_VALUE | 0 | *buf | 4096-ptr_max |
| NOCHECK_CALL |
drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c vmw_overlay_ioctl() -> vmw_user_bo_unref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3544962430247759872 |
| PARAM_VALUE | 0 | *buf | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | &overlay->mutex | ||
| TYPE_LOCK | (struct vmw_overlay)->mutex |