Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_cmd_res_switch_backup() -> vmw_execbuf_info_from_res()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw_context | 4096-ptr_max |
| BUF_SIZE | 0 | sw_context->buf_start | (-1),960,4096-6291456 |
| BUF_SIZE | 0 | sw_context->ctx | 248 |
| BUF_SIZE | 0 | sw_context->filp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sw_context->fp | 16,48,104,120,152,248,256,264,424,464,576,768,968,1120,1424,2256,4712,13184 |
| DATA_SOURCE | 0 | sw_context | $1 |
| DATA_SOURCE | 1 | res | $2 |
| USER_DATA | 0 | *sw_context->buf_start | 0-u32max |
| USER_DATA | 0 | *sw_context->cmd_bounce | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | sw_context->cmd_bounce_size | |
| USER_PTR | 0 | sw_context->buf_start | |
| USER_PTR | 0 | sw_context->cmd_bounce | |
| LOCK2 | &dev_priv->cmdbuf_mutex | ||
| TYPE_LOCK | (struct vmw_private)->cmdbuf_mutex |
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_cmd_set_render_target_check() -> vmw_execbuf_info_from_res()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw_context | 4096-ptr_max |
| BUF_SIZE | 0 | sw_context->buf_start | (-1),960,4096-6291456 |
| BUF_SIZE | 0 | sw_context->ctx | 248 |
| BUF_SIZE | 0 | sw_context->filp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sw_context->fp | 16,48,104,120,152,248,256,264,424,464,576,768,968,1120,1424,2256,4712,13184 |
| DATA_SOURCE | 0 | sw_context | $1 |
| MEM_ZERO | 0 | sw_context->res_cache | |
| USER_DATA | 0 | *sw_context->buf_start | 0-u32max |
| USER_DATA | 0 | *sw_context->cmd_bounce | 0-u32max |
| USER_PTR | 0 | sw_context->buf_start | |
| USER_PTR | 0 | sw_context->cmd_bounce | |
| LOCK2 | &dev_priv->cmdbuf_mutex | ||
| TYPE_LOCK | (struct vmw_private)->cmdbuf_mutex |
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_cmd_set_shader() -> vmw_execbuf_info_from_res()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw_context | 4096-ptr_max |
| BUF_SIZE | 0 | sw_context->buf_start | (-1),960,4096-6291456 |
| BUF_SIZE | 0 | sw_context->ctx | 248 |
| BUF_SIZE | 0 | sw_context->filp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sw_context->fp | 16,48,104,120,152,248,256,264,424,464,576,768,968,1120,1424,2256,4712,13184 |
| DATA_SOURCE | 0 | sw_context | $1 |
| MEM_ZERO | 0 | sw_context->res_cache | |
| USER_DATA | 0 | *sw_context->buf_start | 0-u32max |
| USER_DATA | 0 | *sw_context->cmd_bounce | 0-u32max |
| USER_PTR | 0 | sw_context->buf_start | |
| USER_PTR | 0 | sw_context->cmd_bounce | |
| LOCK2 | &dev_priv->cmdbuf_mutex | ||
| TYPE_LOCK | (struct vmw_private)->cmdbuf_mutex |
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_cmd_tex_state() -> vmw_execbuf_info_from_res()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw_context | 4096-ptr_max |
| BUF_SIZE | 0 | sw_context->buf_start | (-1),960,4096-6291456 |
| BUF_SIZE | 0 | sw_context->ctx | 248 |
| BUF_SIZE | 0 | sw_context->filp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sw_context->fp | 16,48,104,120,152,248,256,264,424,464,576,768,968,1120,1424,2256,4712,13184 |
| DATA_SOURCE | 0 | sw_context | $1 |
| MEM_ZERO | 0 | sw_context->res_cache | |
| USER_DATA | 0 | *sw_context->buf_start | 0-u32max |
| USER_DATA | 0 | *sw_context->cmd_bounce | 0-u32max |
| USER_PTR | 0 | sw_context->buf_start | |
| USER_PTR | 0 | sw_context->cmd_bounce | |
| LOCK2 | &dev_priv->cmdbuf_mutex | ||
| TYPE_LOCK | (struct vmw_private)->cmdbuf_mutex |
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_execbuf_tie_context() -> vmw_execbuf_info_from_res()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw_context | 4096-ptr_max |
| PARAM_VALUE | 1 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | res->func | 4096-ptr_max |
| BUF_SIZE | 0 | sw_context | 33216 |
| BUF_SIZE | 0 | sw_context->ctx | 248 |
| BUF_SIZE | 0 | sw_context->filp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sw_context->fp | 16,48,104,120,152,248,256,352,424,464,576,768,968,1120,1424,2256,4712,13184 |
| CAPPED_DATA | 1 | res | 1 |
| DATA_SOURCE | 0 | sw_context | $1 |
| MEM_ZERO | 0 | sw_context->res_cache | |
| USER_DATA | 0 | *sw_context->cmd_bounce | 0-u32max |
| USER_PTR | 0 | sw_context->cmd_bounce | |
| LOCK2 | &dev_priv->cmdbuf_mutex | ||
| TYPE_LOCK | (struct vmw_private)->cmdbuf_mutex |