Lines Matching refs:iov_base
552 memcpy(tmp + offs, iov[i].iov_base, iov[i].iov_len); in iovec_hash_djb2()
596 iovec[i].iov_base = mmap(NULL, iovec[i].iov_len, in alloc_test_iovec()
600 if (iovec[i].iov_base == MAP_FAILED) { in alloc_test_iovec()
605 if (test_iovec[i].iov_base != MAP_FAILED) in alloc_test_iovec()
606 iovec[i].iov_base += (uintptr_t)test_iovec[i].iov_base; in alloc_test_iovec()
611 if (test_iovec[i].iov_base == MAP_FAILED) { in alloc_test_iovec()
612 if (munmap(iovec[i].iov_base, iovec[i].iov_len)) { in alloc_test_iovec()
622 if (test_iovec[i].iov_base == MAP_FAILED) in alloc_test_iovec()
626 ((uint8_t *)iovec[i].iov_base)[j] = rand() & 0xff; in alloc_test_iovec()
641 if (test_iovec[i].iov_base != MAP_FAILED) { in free_test_iovec()
642 if (test_iovec[i].iov_base) in free_test_iovec()
643 iovec[i].iov_base -= (uintptr_t)test_iovec[i].iov_base; in free_test_iovec()
645 if (munmap(iovec[i].iov_base, iovec[i].iov_len)) { in free_test_iovec()