Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Defined in 1 files as a enum:

Referenced in 5 files:

Smatch caller information:

drivers/gpu/drm/vmwgfx/vmwgfx_validation.c vmw_validation_add_resource() -> vmw_res_type()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
BUF_SIZE 0 res (-1),152
BUF_SIZE 0 res (-1),152
DATA_SOURCE 0 res $1
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_execbuf_info_from_res() -> vmw_res_type()

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

drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_execbuf_res_val_add() -> vmw_res_type()

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

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

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

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

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

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

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