Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/vmwgfx/vmwgfx_streamoutput.c vmw_dx_streamoutput_commit_notify() -> vmw_res_to_dx_streamoutput()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
DATA_SOURCE 0 res $0
LOCK2 &dev_priv->cmdbuf_mutex
TYPE_LOCK (struct vmw_private)->cmdbuf_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_streamoutput.c vmw_dx_streamoutput_create() -> vmw_res_to_dx_streamoutput()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
DATA_SOURCE 0 res $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev_priv->cmdbuf_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
DATA_SOURCE 0 res $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev_priv->binding_mutex
HALF_LOCKED2 &dev_priv->cmdbuf_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_streamoutput.c vmw_dx_streamoutput_scrub() -> vmw_res_to_dx_streamoutput()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
DATA_SOURCE 0 res $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 res->guest_memory_bo->tbo.ttm->dma_ttm.sg->orig_nents
LOCK2 &dev_priv->binding_mutex
HALF_LOCKED2 bo->base.resv
TYPE_LOCK (struct vmw_private)->binding_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_streamoutput.c vmw_dx_streamoutput_set_size() -> vmw_res_to_dx_streamoutput()

Type Parameter Key Value
PARAM_VALUE 0 res 0-ptr_max
DATA_SOURCE 0 res $0
LOCK2 &dev_priv->cmdbuf_mutex
TYPE_LOCK (struct vmw_private)->cmdbuf_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_streamoutput.c vmw_dx_streamoutput_unscrub() -> vmw_res_to_dx_streamoutput()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
DATA_SOURCE 0 res $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev_priv->binding_mutex
HALF_LOCKED2 &dev_priv->cmdbuf_mutex
TYPE_LOCK (struct vmw_private)->binding_mutex