Lines Matching refs:mFD
100 : mFD(fd), in MtpServer()
154 int fd = mFD; in run()
241 mFD = -1; in run()
269 int ret = mEvent.write(mFD); in sendEvent()
739 int ret = ioctl(mFD, MTP_SEND_FILE_WITH_HEADER, (unsigned long)&mfr); in doGetObject()
759 mData.writeData(mFD, thumb, thumbSize); in doGetThumb()
805 int ret = ioctl(mFD, MTP_SEND_FILE_WITH_HEADER, (unsigned long)&mfr); in doGetPartialObject()
927 ret = mData.read(mFD); in doSendObject()
960 ret = ioctl(mFD, MTP_RECEIVE_FILE, (unsigned long)&mfr); in doSendObject()
1116 int ret = mData.read(mFD); in doSendPartialObject()
1122 ret = pwrite(edit->mFD, mData.getData(), initialData, offset); in doSendPartialObject()
1129 mfr.fd = edit->mFD; in doSendPartialObject()
1134 ret = ioctl(mFD, MTP_RECEIVE_FILE, (unsigned long)&mfr); in doSendPartialObject()
1166 if (ftruncate(edit->mFD, offset) != 0) { in doTruncateObject()