Lines Matching refs:kernel_commands
3934 void *kernel_commands, u32 command_size, in vmw_execbuf_submit_fifo() argument
3949 memcpy(cmd, kernel_commands, command_size); in vmw_execbuf_submit_fifo()
4013 void *kernel_commands, u32 command_size, in vmw_execbuf_cmdbuf() argument
4025 if (!dev_priv->cman || kernel_commands) in vmw_execbuf_cmdbuf()
4026 return kernel_commands; in vmw_execbuf_cmdbuf()
4031 kernel_commands = vmw_cmdbuf_alloc(dev_priv->cman, cmdbuf_size, true, in vmw_execbuf_cmdbuf()
4033 if (IS_ERR(kernel_commands)) in vmw_execbuf_cmdbuf()
4034 return kernel_commands; in vmw_execbuf_cmdbuf()
4036 ret = copy_from_user(kernel_commands, user_commands, command_size); in vmw_execbuf_cmdbuf()
4044 return kernel_commands; in vmw_execbuf_cmdbuf()
4088 void __user *user_commands, void *kernel_commands, in vmw_execbuf_process() argument
4115 kernel_commands = vmw_execbuf_cmdbuf(dev_priv, user_commands, in vmw_execbuf_process()
4116 kernel_commands, command_size, in vmw_execbuf_process()
4118 if (IS_ERR(kernel_commands)) { in vmw_execbuf_process()
4119 ret = PTR_ERR(kernel_commands); in vmw_execbuf_process()
4130 if (kernel_commands == NULL) { in vmw_execbuf_process()
4143 kernel_commands = sw_context->cmd_bounce; in vmw_execbuf_process()
4170 ret = vmw_cmd_check_all(dev_priv, sw_context, kernel_commands, in vmw_execbuf_process()
4206 ret = vmw_execbuf_submit_fifo(dev_priv, kernel_commands, in vmw_execbuf_process()