Lines Matching refs:current_command
110 sp->current_command->status = IBMASM_CMD_FAILED;
111 wake_up(&sp->current_command->wait);
112 command_put(sp->current_command);
120 * Commands are executed sequentially. One command (sp->current_command)
134 if (!sp->current_command) {
135 sp->current_command = cmd;
136 command_get(sp->current_command);
153 sp->current_command = dequeue_command(sp);
154 if (sp->current_command) {
155 command_get(sp->current_command);
183 struct command *cmd = sp->current_command;
185 if (!sp->current_command)
190 wake_up(&sp->current_command->wait);
191 command_put(sp->current_command);