Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 12 files:

Smatch caller information:

drivers/gpu/drm/vmwgfx/vmwgfx_shader.c vmw_compat_shader_add() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 1862611809670606848
PARAM_VALUE 0 *p_res 4096-ptr_max
NOCHECK_CALL
LOCK2 &dev_priv->cmdbuf_mutex
TYPE_LOCK (struct vmw_private)->cmdbuf_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_shader.c vmw_dx_shader_add() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 8949176196080525312
PARAM_VALUE 0 *p_res 4096-ptr_max
NOCHECK_CALL
LOCK2 &dev_priv->cmdbuf_mutex
TYPE_LOCK (struct vmw_private)->cmdbuf_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_shader.c vmw_dx_shader_res_free() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 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_shader.c vmw_user_shader_alloc() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 3268861346048909312
PARAM_VALUE 0 *p_res 4096-ptr_max
NOCHECK_CALL

drivers/gpu/drm/vmwgfx/vmwgfx_shader.c vmw_user_shader_alloc() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 4642290069865906176
PARAM_VALUE 0 *p_res 4096-ptr_max
NOCHECK_CALL

drivers/gpu/drm/vmwgfx/vmwgfx_shader.c vmw_user_shader_base_release() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 5856496119010267136
PARAM_VALUE 0 *p_res 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &tfile->lock

drivers/gpu/drm/vmwgfx/vmwgfx_vkms.c vmw_surface_unreference() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 905136801475346432
PARAM_VALUE 0 *p_res 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/vmwgfx/vmwgfx_so.c vmw_view_add() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 3110641873577295872
PARAM_VALUE 0 *p_res 4096-ptr_max
NOCHECK_CALL
LOCK2 &dev_priv->cmdbuf_mutex
TYPE_LOCK (struct vmw_private)->cmdbuf_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_so.c vmw_view_res_free() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 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_so.c vmw_view_res_free() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 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_cmdbuf_res.c vmw_cmdbuf_res_commit() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 4096-ptr_max
PARAM_VALUE 0 *p_res 4096-ptr_max
NOCHECK_CALL
LOCK2 &dev_priv->cmdbuf_mutex
TYPE_LOCK (struct vmw_private)->cmdbuf_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c vmw_cmdbuf_res_free() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev_priv->cmdbuf_mutex
TYPE_LOCK (struct vmw_private)->cmdbuf_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_resource.c vmw_resource_evict_type() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 7747057858440888320
PARAM_VALUE 0 *p_res 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev_priv->cmdbuf_mutex
TYPE_LOCK (struct vmw_private)->cmdbuf_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_resource.c vmw_resource_evict_type() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 7747057858440888320
PARAM_VALUE 0 *p_res 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev_priv->cmdbuf_mutex
TYPE_LOCK (struct vmw_private)->cmdbuf_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_resource.c vmw_resource_validate() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 3692085508797038592
PARAM_VALUE 0 *p_res 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_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 3692085508797038592
PARAM_VALUE 0 *p_res 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev_priv->cmdbuf_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_validation.c vmw_validation_unref_lists() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev_priv->cmdbuf_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c vmw_surface_unreference() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 3762770589042130944
PARAM_VALUE 0 *p_res 4096-ptr_max
NOCHECK_CALL
LOCK2 &dev->mode_config.mutex
TYPE_LOCK (struct drm_mode_config)->mutex

drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c vmw_simple_resource_base_release() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 6172306928786677760
PARAM_VALUE 0 *p_res 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &tfile->lock

drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c vmw_simple_resource_create_ioctl() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 8804116887988707328
PARAM_VALUE 0 *p_res 4096-ptr_max
NOCHECK_CALL

drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c vmw_simple_resource_create_ioctl() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 1174735776703180800
PARAM_VALUE 0 *p_res 4096-ptr_max
NOCHECK_CALL

drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c vmw_simple_resource_init() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 5352648397844758528
PARAM_VALUE 0 *p_res 4096-ptr_max
NOCHECK_CALL

drivers/gpu/drm/vmwgfx/vmwgfx_context.c vmw_context_cotables_unref() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 2726183414231670784
PARAM_VALUE 0 *p_res 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/vmwgfx/vmwgfx_context.c vmw_context_define() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 7192166672694370304
PARAM_VALUE 0 *p_res 4096-ptr_max
NOCHECK_CALL

drivers/gpu/drm/vmwgfx/vmwgfx_context.c vmw_context_define() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 7749049045559521280
PARAM_VALUE 0 *p_res 4096-ptr_max
NOCHECK_CALL

drivers/gpu/drm/vmwgfx/vmwgfx_context.c vmw_context_init() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 *p_res 4096-ptr_max
NOCHECK_CALL

drivers/gpu/drm/vmwgfx/vmwgfx_context.c vmw_context_init() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 *p_res 4096-ptr_max
NOCHECK_CALL

drivers/gpu/drm/vmwgfx/vmwgfx_context.c vmw_dx_context_scrub_cotables() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 6607134829506412544
PARAM_VALUE 0 *p_res 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev_priv->binding_mutex
HALF_LOCKED2 bo->base.resv
TYPE_LOCK (struct vmw_private)->binding_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_context.c vmw_user_context_base_release() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 4552610582505705472
PARAM_VALUE 0 *p_res 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &tfile->lock

drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_dumb_create() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 7376383244960518144
PARAM_VALUE 0 *p_res 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_gb_surface_define_internal() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 9091417020360691712
PARAM_VALUE 0 *p_res 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_gb_surface_define_internal() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 9091417020360691712
PARAM_VALUE 0 *p_res 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_gb_surface_define_internal() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 9091417020360691712
PARAM_VALUE 0 *p_res 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_gb_surface_define_internal() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 6740771665027198976
PARAM_VALUE 0 *p_res 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_gb_surface_define_internal() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 9091417020360691712
PARAM_VALUE 0 *p_res 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_gb_surface_define_internal() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 9091417020360691712
PARAM_VALUE 0 *p_res 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_surface_define_ioctl() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 2103077855647981568
PARAM_VALUE 0 *p_res 4096-ptr_max
NOCHECK_CALL

drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_surface_define_ioctl() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 2103077855647981568
PARAM_VALUE 0 *p_res 4096-ptr_max
NOCHECK_CALL

drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_surface_define_ioctl() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 9144789094419521536
PARAM_VALUE 0 *p_res 4096-ptr_max
NOCHECK_CALL

drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_surface_define_ioctl() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 2103077855647981568
PARAM_VALUE 0 *p_res 4096-ptr_max
NOCHECK_CALL

drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_surface_define_ioctl() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 2103077855647981568
PARAM_VALUE 0 *p_res 4096-ptr_max
NOCHECK_CALL

drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_user_surface_base_release() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 3659257687756066816
PARAM_VALUE 0 *p_res 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &tfile->lock

drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_cmd_res_check() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 1507242901714145280
PARAM_VALUE 0 *p_res 4096-ptr_max
NOCHECK_CALL

drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_execbuf_tie_context() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 7410337428314488832
PARAM_VALUE 0 *p_res 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_execbuf_tie_context() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 7410337428314488832
PARAM_VALUE 0 *p_res 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_surface_unreference() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 2446367275064053760
PARAM_VALUE 0 *p_res 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/vmwgfx/vmwgfx_streamoutput.c vmw_dx_streamoutput_add() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 8732389678859112448
PARAM_VALUE 0 *p_res 4096-ptr_max
NOCHECK_CALL
LOCK2 &dev_priv->cmdbuf_mutex
TYPE_LOCK (struct vmw_private)->cmdbuf_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_streamoutput.c vmw_dx_streamoutput_res_free() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 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_kms.c vmw_surface_unreference() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 2974447357242167296
PARAM_VALUE 0 *p_res 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c vmw_overlay_ioctl() -> vmw_resource_unreference()

Type Parameter Key Value
PARAM_VALUE 0 p_res 5191654726793019392
PARAM_VALUE 0 *p_res 4096-ptr_max
NOCHECK_CALL