Lines Matching refs:dest
34 static size_t copy_file_fd(void *dest, lpaddr_t offset, struct fd_store *fds)
43 printf("copying %zu bytes from %p to %p\n", size, &fds->handle, dest);
44 memcpy(dest, &fds->handle, size);
52 static size_t copy_unixsock_fd(void *dest, lpaddr_t offset,
66 printf("copying %zu bytes from %p to %p\n", size, fds->handle, dest);
67 memcpy(dest, fds->handle, size);
128 char *dest = buf;
133 offset = (genpaddr_t)(dest - buf);
136 size = copy_file_fd(dest, offset, fds);
139 size = copy_unixsock_fd(dest, offset, fds);
146 dest += size;