Home
last modified time | relevance | path

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

/drivers/block/
Dskd_main.c1645 struct sg_iovec curiov; in skd_sg_io_copy_buffer() local
1652 curiov.iov_len = 0; in skd_sg_io_copy_buffer()
1653 curiov.iov_base = NULL; in skd_sg_io_copy_buffer()
1664 if (curiov.iov_len == 0) { in skd_sg_io_copy_buffer()
1665 curiov = sksgio->iov[iov_ix++]; in skd_sg_io_copy_buffer()
1677 nbytes = min_t(u32, nbytes, curiov.iov_len); in skd_sg_io_copy_buffer()
1681 rc = __copy_from_user(bufp, curiov.iov_base, nbytes); in skd_sg_io_copy_buffer()
1683 rc = __copy_to_user(curiov.iov_base, bufp, nbytes); in skd_sg_io_copy_buffer()
1689 curiov.iov_len -= nbytes; in skd_sg_io_copy_buffer()
1690 curiov.iov_base += nbytes; in skd_sg_io_copy_buffer()