Lines Matching refs:kernel_commands
3941 void *kernel_commands, u32 command_size, in vmw_execbuf_submit_fifo() argument
3956 memcpy(cmd, kernel_commands, command_size); in vmw_execbuf_submit_fifo()
4020 void *kernel_commands, u32 command_size, in vmw_execbuf_cmdbuf() argument
4032 if (!dev_priv->cman || kernel_commands) in vmw_execbuf_cmdbuf()
4033 return kernel_commands; in vmw_execbuf_cmdbuf()
4038 kernel_commands = vmw_cmdbuf_alloc(dev_priv->cman, cmdbuf_size, true, in vmw_execbuf_cmdbuf()
4040 if (IS_ERR(kernel_commands)) in vmw_execbuf_cmdbuf()
4041 return kernel_commands; in vmw_execbuf_cmdbuf()
4043 ret = copy_from_user(kernel_commands, user_commands, command_size); in vmw_execbuf_cmdbuf()
4051 return kernel_commands; in vmw_execbuf_cmdbuf()
4091 void __user *user_commands, void *kernel_commands, in vmw_execbuf_process() argument
4118 kernel_commands = vmw_execbuf_cmdbuf(dev_priv, user_commands, in vmw_execbuf_process()
4119 kernel_commands, command_size, in vmw_execbuf_process()
4121 if (IS_ERR(kernel_commands)) { in vmw_execbuf_process()
4122 ret = PTR_ERR(kernel_commands); in vmw_execbuf_process()
4133 if (kernel_commands == NULL) { in vmw_execbuf_process()
4146 kernel_commands = sw_context->cmd_bounce; in vmw_execbuf_process()
4181 ret = vmw_cmd_check_all(dev_priv, sw_context, kernel_commands, in vmw_execbuf_process()
4217 ret = vmw_execbuf_submit_fifo(dev_priv, kernel_commands, in vmw_execbuf_process()