Lines Matching refs:bufs
116 if (posix_madvise(mIobuf[i].bufs.data(), MAX_FILE_CHUNK_SIZE, in advise()
160 mIobuf[0].buf[i] = mIobuf[0].bufs.data() + i * AIO_BUF_LEN; in doAsync()
273 mIobuf[i].bufs.resize(MAX_FILE_CHUNK_SIZE); in start()
278 mIobuf[i].buf[j] = mIobuf[i].bufs.data() + j * AIO_BUF_LEN; in start()
539 aio_prepare(&aio, mIobuf[i].bufs.data(), ret, offset); in receiveFile()
550 if (read(mIobuf[0].bufs.data(), packet_size) != 0) { in receiveFile()
582 mtp_data_header *header = reinterpret_cast<mtp_data_header*>(mIobuf[0].bufs.data()); in sendFile()
590 if (TEMP_FAILURE_RETRY(pread(mfr.fd, mIobuf[0].bufs.data() + in sendFile()
593 if (doAsync(mIobuf[0].bufs.data(), sizeof(mtp_data_header) + init_read_len, in sendFile()
605 aio_prepare(&aio, mIobuf[i].bufs.data(), length, offset); in sendFile()
652 if (write(mIobuf[0].bufs.data(), 0) != 0) { in sendFile()