Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/vhost/
Dvringh.c86 size_t partlen = min(iov->iov[iov->i].iov_len, len); in vringh_kiov_advance() local
88 iov->consumed += partlen; in vringh_kiov_advance()
89 iov->iov[iov->i].iov_len -= partlen; in vringh_kiov_advance()
90 iov->iov[iov->i].iov_base += partlen; in vringh_kiov_advance()
101 len -= partlen; in vringh_kiov_advance()
117 size_t partlen; in vringh_iov_xfer() local
119 partlen = min(iov->iov[iov->i].iov_len, len); in vringh_iov_xfer()
120 err = xfer(vrh, iov->iov[iov->i].iov_base, ptr, partlen); in vringh_iov_xfer()
123 done += partlen; in vringh_iov_xfer()
124 len -= partlen; in vringh_iov_xfer()
[all …]