Lines Matching refs:errno
189 errno = 0; in handleEvent()
193 errno = ESHUTDOWN; in handleEvent()
229 errno = ECANCELED; in handleControlRequest()
235 errno = EINVAL; in handleControlRequest()
318 error = errno; in waitEvents()
327 error = errno; in waitEvents()
338 error = errno; in waitEvents()
343 errno = -events[j].res; in waitEvents()
345 error = errno; in waitEvents()
354 errno = error; in waitEvents()
364 if (::read(mBulkIn, nullptr, 0) != -1 || errno != EBADMSG) in cancelTransaction()
366 if (::write(mBulkOut, nullptr, 0) != -1 || errno != EBADMSG) in cancelTransaction()
369 errno = ECANCELED; in cancelTransaction()
380 int save_errno = errno; in cancelEvents()
381 errno = 0; in cancelEvents()
384 if (io_cancel(mCtx, iocb[j], nullptr) != -1 || errno != EINPROGRESS) { in cancelEvents()
392 errno = EIO; in cancelEvents()
406 errno = save_errno; in cancelEvents()
431 errno = EIO; in iobufSubmit()
474 errno = written == -1 ? aio_error(&aio) : EIO; in receiveFile()
526 errno = EIO; in receiveFile()
626 errno = num_read == -1 ? aio_error(&aio) : EIO; in sendFile()