Lines Matching defs:kernel_commands
3929 * @kernel_commands: Pointer to the unpatched command batch.
3934 * by @kernel_commands will have been modified.
3937 void *kernel_commands, u32 command_size,
3952 memcpy(cmd, kernel_commands, command_size);
4006 * @kernel_commands: If command buffers could not be used, the function will
4007 * return the value of @kernel_commands on function call. That value may be
4016 void *kernel_commands, u32 command_size,
4028 if (!dev_priv->cman || kernel_commands)
4029 return kernel_commands;
4034 kernel_commands = vmw_cmdbuf_alloc(dev_priv->cman, cmdbuf_size, true,
4036 if (IS_ERR(kernel_commands))
4037 return kernel_commands;
4039 ret = copy_from_user(kernel_commands, user_commands, command_size);
4047 return kernel_commands;
4091 void __user *user_commands, void *kernel_commands,
4118 kernel_commands = vmw_execbuf_cmdbuf(dev_priv, user_commands,
4119 kernel_commands, command_size,
4121 if (IS_ERR(kernel_commands)) {
4122 ret = PTR_ERR(kernel_commands);
4133 if (kernel_commands == NULL) {
4146 kernel_commands = sw_context->cmd_bounce;
4173 ret = vmw_cmd_check_all(dev_priv, sw_context, kernel_commands,
4209 ret = vmw_execbuf_submit_fifo(dev_priv, kernel_commands,