Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

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

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

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

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

drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_cmd_dx_define_query() -> vmw_context_cotable()

Type Parameter Key Value
PARAM_VALUE 1 cotable_type 9
LOCK2 &dev_priv->cmdbuf_mutex
TYPE_LOCK (struct vmw_private)->cmdbuf_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_cmd_dx_define_shader() -> vmw_context_cotable()

Type Parameter Key Value
PARAM_VALUE 1 cotable_type 10
LOCK2 &dev_priv->cmdbuf_mutex
TYPE_LOCK (struct vmw_private)->cmdbuf_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_cmd_dx_define_streamoutput() -> vmw_context_cotable()

Type Parameter Key Value
PARAM_VALUE 1 cotable_type 8
LOCK2 &dev_priv->cmdbuf_mutex
TYPE_LOCK (struct vmw_private)->cmdbuf_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_cmd_dx_so_define() -> vmw_context_cotable()

Type Parameter Key Value
LOCK2 &dev_priv->cmdbuf_mutex
TYPE_LOCK (struct vmw_private)->cmdbuf_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_cmd_dx_view_define() -> vmw_context_cotable()

Type Parameter Key Value
LOCK2 &dev_priv->cmdbuf_mutex
TYPE_LOCK (struct vmw_private)->cmdbuf_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_resource_context_res_add() -> vmw_context_cotable()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->dev_priv 4096-ptr_max
PARAM_VALUE 0 ctx->dev_priv->sm_type 0-4
PARAM_VALUE 1 cotable_type 0-11
CAPPED_DATA 1 cotable_type 1
DATA_SOURCE 0 ctx $2
FUZZY_MAX 1 cotable_type 11
HARD_MAX 1 cotable_type 11
HALF_LOCKED2 &dev_priv->binding_mutex
HALF_LOCKED2 &dev_priv->cmdbuf_mutex

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

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