Lines Matching refs:mfr
443 int MtpFfsHandle::receiveFile(mtp_file_range mfr, bool zero_packet) { in receiveFile() argument
446 uint32_t file_length = mfr.length; in receiveFile()
447 uint64_t offset = mfr.offset; in receiveFile()
450 aio.aio_fildes = mfr.fd; in receiveFile()
463 advise(mfr.fd); in receiveFile()
564 int MtpFfsHandle::sendFile(mtp_file_range mfr) { in sendFile() argument
565 uint64_t file_length = mfr.length; in sendFile()
568 uint64_t offset = mfr.offset; in sendFile()
576 advise(mfr.fd); in sendFile()
579 aio.aio_fildes = mfr.fd; in sendFile()
592 header->command = htole16(mfr.command); in sendFile()
593 header->transaction_id = htole32(mfr.transaction_id); in sendFile()
597 if (TEMP_FAILURE_RETRY(pread(mfr.fd, mIobuf[0].bufs.data() + in sendFile()