Home
last modified time | relevance | path

Searched refs:readRet (Results 1 – 1 of 1) sorted by relevance

/drivers/peripheral/usb/gadget/function/mtp/src/
Dusbfn_mtp_impl.cpp268 ssize_t readRet = read(mtpPort->mtpDev->xferFd, req->buf, static_cast<size_t>(req->length)); in UsbMtpPortSubmitAsyncTxReq() local
269 if (readRet != static_cast<ssize_t>(req->length)) { in UsbMtpPortSubmitAsyncTxReq()
270 … HDF_LOGE("%{public}s: read failed: %{public}zd < %{public}u", __func__, readRet, req->length); in UsbMtpPortSubmitAsyncTxReq()
1389 …ssize_t readRet = read(mtpDev_->xferFd, static_cast<void *>(bufOffset), static_cast<size_t>(oneReq… in UsbMtpPortSendFileFillFirstReq() local
1390 if (readRet != static_cast<ssize_t>(oneReqLeft)) { in UsbMtpPortSendFileFillFirstReq()
1391 …HDF_LOGE("%{public}s: read failed: %{public}zd vs %{public}" PRId64 "", __func__, readRet, oneReqL… in UsbMtpPortSendFileFillFirstReq()