Searched refs:writes_to_submit (Results 1 – 1 of 1) sorted by relevance
636 ssize_t writes_to_submit = std::min(kUsbWriteQueueDepth - writes_submitted_, in SubmitWrites() local638 CHECK_GE(writes_to_submit, 0); in SubmitWrites()639 if (writes_to_submit == 0) { in SubmitWrites()644 for (int i = 0; i < writes_to_submit; ++i) { in SubmitWrites()651 writes_submitted_ += writes_to_submit; in SubmitWrites()653 int rc = io_submit(aio_context_.get(), writes_to_submit, iocbs); in SubmitWrites()657 } else if (rc != writes_to_submit) { in SubmitWrites()658 LOG(FATAL) << "failed to submit all writes: wanted to submit " << writes_to_submit in SubmitWrites()