iovecs to shared code