Lines Matching refs:iov_base
13 iov[i].iov_base = g_malloc(iov[i].iov_len); in iov_random()
23 g_free(iov[i].iov_base); in iov_free()
44 b = iov[i].iov_base; in test_iov_bytes()
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()
337 g_assert(iov_tmp->iov_base == old_base + (size - iov->iov_len)); in test_discard_front()
338 iov_tmp->iov_base = old_base; /* undo before g_free() */ in test_discard_front()
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()
488 g_assert(iov[iov_cnt - 2].iov_base == old_base); in test_discard_back()