Lines Matching refs:status
89 s32 status; /* command execution status, host -> guest */
223 pipe->command_buffer->status = PIPE_ERROR_INVAL;
225 return pipe->command_buffer->status;
230 int status;
234 status = goldfish_pipe_cmd_locked(pipe, cmd);
236 return status;
243 static int goldfish_pipe_error_convert(int status)
245 switch (status) {
332 int *status)
355 *status = goldfish_pipe_cmd_locked(pipe,
416 int status;
420 &consumed_size, &status);
425 /* No matter what's the status, we've transferred
431 if (status > 0)
433 if (status == 0) {
445 if (status != PIPE_ERROR_AGAIN)
448 status, is_write ? "write" : "read");
456 if (status != PIPE_ERROR_AGAIN ||
458 ret = goldfish_pipe_error_convert(status);
462 status = wait_for_host_signal(pipe, is_write);
463 if (status < 0)
464 return status;
494 int status;
498 status = goldfish_pipe_cmd(pipe, PIPE_CMD_POLL);
499 if (status < 0)
502 if (status & PIPE_POLL_IN)
504 if (status & PIPE_POLL_OUT)
506 if (status & PIPE_POLL_HUP)
700 int status;
720 status = -ENOMEM;
728 status = id;
741 status = goldfish_pipe_cmd_locked(pipe, PIPE_CMD_OPEN);
743 if (status < 0)
757 return status;