Lines Matching defs:dest
48 ofw_mapmem(vm_offset_t dest, const size_t len)
63 if (dest >= last_dest &&
64 (dest + len) <= (last_dest + last_len)) {
71 if (dest < (last_dest + last_len) && dest >= last_dest) {
72 nlen -= (last_dest + last_len) - dest;
73 dest = last_dest + last_len;
76 destp = (void *)(dest & ~PAGE_MASK);
77 resid = dest & PAGE_MASK;
117 ofw_copyin(const void *src, vm_offset_t dest, const size_t len)
119 if (ofw_mapmem(dest, len)) {
124 bcopy(src, (void *)dest, len);
129 ofw_copyout(const vm_offset_t src, void *dest, const size_t len)
131 bcopy((void *)src, dest, len);
136 ofw_readin(const int fd, vm_offset_t dest, const size_t len)
143 p = dest;
152 if (ofw_mapmem(dest, len)) {