Home
last modified time | relevance | path

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

/art/libartbase/base/
Dsafe_copy.cc48 struct iovec src_iovs[kMaxIovecs]; in SafeCopy() local
58 src_iovs[iovecs_used].iov_base = const_cast<char*>(cur); in SafeCopy()
60 src_iovs[iovecs_used].iov_len = AlignUp(cur, PAGE_SIZE) - cur; in SafeCopy()
62 src_iovs[iovecs_used].iov_len = PAGE_SIZE; in SafeCopy()
65 src_iovs[iovecs_used].iov_len = std::min(src_iovs[iovecs_used].iov_len, len); in SafeCopy()
67 len -= src_iovs[iovecs_used].iov_len; in SafeCopy()
68 cur += src_iovs[iovecs_used].iov_len; in SafeCopy()
72 ssize_t rc = process_vm_readv(getpid(), &dst_iov, 1, src_iovs, iovecs_used, 0); in SafeCopy()