Lines Matching refs:write_command
277 static int write_command(int fd, char reply) {
346 if (write_command(sdref->thread_fd, ret < 0 ? COMMAND_POLL_FAILED : COMMAND_POLL_DONE) < 0)
403 if (write_command(sdref->main_fd, COMMAND_POLL) < 0)
425 ASSERT_SUCCESS(write_command(sdref->main_fd, COMMAND_QUIT));
509 if (write_command(sdref->main_fd, COMMAND_POLL) < 0)