Lines Matching refs:iov_base
557 memcpy(tmp + offs, iov[i].iov_base, iov[i].iov_len); in iovec_hash_djb2()
601 iovec[i].iov_base = mmap(NULL, iovec[i].iov_len, in alloc_test_iovec()
605 if (iovec[i].iov_base == MAP_FAILED) { in alloc_test_iovec()
610 if (test_iovec[i].iov_base != MAP_FAILED) in alloc_test_iovec()
611 iovec[i].iov_base += (uintptr_t)test_iovec[i].iov_base; in alloc_test_iovec()
616 if (test_iovec[i].iov_base == MAP_FAILED) { in alloc_test_iovec()
617 if (munmap(iovec[i].iov_base, iovec[i].iov_len)) { in alloc_test_iovec()
627 if (test_iovec[i].iov_base == MAP_FAILED) in alloc_test_iovec()
631 ((uint8_t *)iovec[i].iov_base)[j] = rand() & 0xff; in alloc_test_iovec()
646 if (test_iovec[i].iov_base != MAP_FAILED) { in free_test_iovec()
647 if (test_iovec[i].iov_base) in free_test_iovec()
648 iovec[i].iov_base -= (uintptr_t)test_iovec[i].iov_base; in free_test_iovec()
650 if (munmap(iovec[i].iov_base, iovec[i].iov_len)) { in free_test_iovec()