Lines Matching refs:mfr
438 int MtpFfsHandle::receiveFile(mtp_file_range mfr, bool zero_packet) { in receiveFile() argument
441 uint32_t file_length = mfr.length; in receiveFile()
442 uint64_t offset = mfr.offset; in receiveFile()
445 aio.aio_fildes = mfr.fd; in receiveFile()
458 advise(mfr.fd); in receiveFile()
557 int MtpFfsHandle::sendFile(mtp_file_range mfr) { in sendFile() argument
558 uint64_t file_length = mfr.length; in sendFile()
561 uint64_t offset = mfr.offset; in sendFile()
569 advise(mfr.fd); in sendFile()
572 aio.aio_fildes = mfr.fd; in sendFile()
585 header->command = htole16(mfr.command); in sendFile()
586 header->transaction_id = htole32(mfr.transaction_id); in sendFile()
590 if (TEMP_FAILURE_RETRY(pread(mfr.fd, mIobuf[0].bufs.data() + in sendFile()