Home
last modified time | relevance | path

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

/qemu/tests/unit/
H A Dtest-iov.c269 void *old_base; in test_discard_front() local
307 old_base = iov->iov_base; in test_discard_front()
313 g_assert(iov_tmp->iov_base == old_base + size); in test_discard_front()
314 iov_tmp->iov_base = old_base; /* undo before g_free() */ in test_discard_front()
331 old_base = iov[1].iov_base; in test_discard_front()
428 void *old_base; in test_discard_back() local
461 old_base = iov[iov_cnt - 1].iov_base; in test_discard_back()
466 g_assert(iov[iov_cnt - 1].iov_base == old_base); in test_discard_back()
472 old_base = iov[iov_cnt - 1].iov_base; in test_discard_back()
482 old_base = iov[iov_cnt - 2].iov_base; in test_discard_back()
[all …]