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_dx_view_remove() -> vmw_ptr_diff()

Type Parameter Key Value
PARAM_VALUE 1 b 4096-ptr_max
BUF_SIZE 0 a (-1),960,4096-6291456
BUF_SIZE 1 b 4
USER_PTR 0 a
LOCK2 &dev_priv->cmdbuf_mutex
TYPE_LOCK (struct vmw_private)->cmdbuf_mutex

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

Type Parameter Key Value
PARAM_VALUE 1 b 4096-ptr_max
BUF_SIZE 0 a 960,4096-6291456
DATA_SOURCE 1 b $5

drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_cmd_set_shader() -> vmw_ptr_diff()

Type Parameter Key Value
PARAM_VALUE 1 b 4096-ptr_max
PARAM_VALUE 1 *b 0-1048575
BUF_SIZE 0 a (-1),960,4096-6291456
BUF_SIZE 1 b 4
USER_PTR 0 a
LOCK2 &dev_priv->cmdbuf_mutex
TYPE_LOCK (struct vmw_private)->cmdbuf_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_cmd_shader_define() -> vmw_ptr_diff()

Type Parameter Key Value
PARAM_VALUE 1 b 4096-ptr_max
BUF_SIZE 0 a (-1),960,4096-6291456
BUF_SIZE 1 b 4
USER_PTR 0 a
LOCK2 &dev_priv->cmdbuf_mutex
TYPE_LOCK (struct vmw_private)->cmdbuf_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_cmd_shader_destroy() -> vmw_ptr_diff()

Type Parameter Key Value
PARAM_VALUE 1 b 4096-ptr_max
BUF_SIZE 0 a (-1),960,4096-6291456
BUF_SIZE 1 b 4
USER_PTR 0 a
LOCK2 &dev_priv->cmdbuf_mutex
TYPE_LOCK (struct vmw_private)->cmdbuf_mutex