Searched refs:NUM_IO_BUFS (Results 1 – 3 of 3) sorted by relevance
33 constexpr int NUM_IO_BUFS = 2; variable79 struct io_buffer mIobuf[NUM_IO_BUFS];
116 for (unsigned i = 0; i < NUM_IO_BUFS; i++) { in advise()273 for (unsigned i = 0; i < NUM_IO_BUFS; i++) { in start()554 i = (i + 1) % NUM_IO_BUFS; in receiveFile()626 if (waitEvents(&mIobuf[(i-1)%NUM_IO_BUFS], mIobuf[(i-1)%NUM_IO_BUFS].actual, ioevs, in sendFile()629 cancelEvents(mIobuf[(i-1)%NUM_IO_BUFS].iocb.data(), ioevs, num_events, in sendFile()630 mIobuf[(i-1)%NUM_IO_BUFS].actual, false); in sendFile()661 i = (i + 1) % NUM_IO_BUFS; in sendFile()
116 for (unsigned i = 0; i < NUM_IO_BUFS; i++) { in start()