Lines Matching refs:dest
44 ssize_t kboot_copyin(const void *src, vm_offset_t dest, const size_t len);
45 ssize_t kboot_copyout(vm_offset_t src, void *dest, const size_t len);
46 ssize_t kboot_readin(readin_handle_t fd, vm_offset_t dest, const size_t len);
350 get_phys_buffer(vm_offset_t dest, const size_t len, void **buf)
356 if (dest >= (vm_offset_t)loaded_segments[i].mem &&
357 dest < (vm_offset_t)loaded_segments[i].mem +
364 loaded_segments[nkexec_segments].mem = (void *)rounddown2(dest,segsize);
371 *buf = loaded_segments[i].buf + (dest -
373 return (min(len,loaded_segments[i].bufsz - (dest -
378 kboot_copyin(const void *src, vm_offset_t dest, const size_t len)
385 segsize = get_phys_buffer(dest, remainder, &destbuf);
389 dest += segsize;
396 kboot_copyout(vm_offset_t src, void *dest, const size_t len)
404 bcopy(srcbuf, dest, segsize);
407 dest += segsize;
414 kboot_readin(readin_handle_t fd, vm_offset_t dest, const size_t len)
421 p = dest;