Lines Matching refs:kernel_commands
3930 void *kernel_commands, u32 command_size, in vmw_execbuf_submit_fifo() argument
3945 memcpy(cmd, kernel_commands, command_size); in vmw_execbuf_submit_fifo()
4009 void *kernel_commands, u32 command_size, in vmw_execbuf_cmdbuf() argument
4021 if (!dev_priv->cman || kernel_commands) in vmw_execbuf_cmdbuf()
4022 return kernel_commands; in vmw_execbuf_cmdbuf()
4027 kernel_commands = vmw_cmdbuf_alloc(dev_priv->cman, cmdbuf_size, true, in vmw_execbuf_cmdbuf()
4029 if (IS_ERR(kernel_commands)) in vmw_execbuf_cmdbuf()
4030 return kernel_commands; in vmw_execbuf_cmdbuf()
4032 ret = copy_from_user(kernel_commands, user_commands, command_size); in vmw_execbuf_cmdbuf()
4040 return kernel_commands; in vmw_execbuf_cmdbuf()
4084 void __user *user_commands, void *kernel_commands, in vmw_execbuf_process() argument
4111 kernel_commands = vmw_execbuf_cmdbuf(dev_priv, user_commands, in vmw_execbuf_process()
4112 kernel_commands, command_size, in vmw_execbuf_process()
4114 if (IS_ERR(kernel_commands)) { in vmw_execbuf_process()
4115 ret = PTR_ERR(kernel_commands); in vmw_execbuf_process()
4126 if (kernel_commands == NULL) { in vmw_execbuf_process()
4139 kernel_commands = sw_context->cmd_bounce; in vmw_execbuf_process()
4166 ret = vmw_cmd_check_all(dev_priv, sw_context, kernel_commands, in vmw_execbuf_process()
4202 ret = vmw_execbuf_submit_fifo(dev_priv, kernel_commands, in vmw_execbuf_process()