Searched refs:mIobuf (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/media/mtp/ |
D | MtpFfsHandle.cpp | 116 if (posix_madvise(mIobuf[i].bufs.data(), MAX_FILE_CHUNK_SIZE, in advise() 141 mIobuf[0].buf[i] = reinterpret_cast<unsigned char*>(data) + total + i * AIO_BUF_LEN; in doAsync() 143 int ret = iobufSubmit(&mIobuf[0], read ? mBulkOut : mBulkIn, this_len, read); in doAsync() 145 ret = waitEvents(&mIobuf[0], ret, ioevs, nullptr); in doAsync() 153 int ret = iobufSubmit(&mIobuf[0], read ? mBulkOut : mBulkIn, 0, read); in doAsync() 155 ret = waitEvents(&mIobuf[0], ret, ioevs, nullptr); in doAsync() 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() 274 mIobuf[i].iocb.resize(AIO_BUFS_MAX); in start() 275 mIobuf[i].iocbs.resize(AIO_BUFS_MAX); in start() [all …]
|
D | MtpFfsCompatHandle.cpp | 117 mIobuf[i].bufs.resize(MAX_FILE_CHUNK_SIZE); in start() 118 posix_madvise(mIobuf[i].bufs.data(), MAX_FILE_CHUNK_SIZE, in start() 167 unsigned char *data = mIobuf[0].bufs.data(); in receiveFile() 168 unsigned char *data2 = mIobuf[1].bufs.data(); in receiveFile() 258 unsigned char *data = mIobuf[0].bufs.data(); in sendFile() 259 unsigned char *data2 = mIobuf[1].bufs.data(); in sendFile()
|
D | MtpFfsHandle.h | 73 struct io_buffer mIobuf[NUM_IO_BUFS]; variable
|