Lines Matching refs:dest
45 ofw_mapmem(vm_offset_t dest, const size_t len) in ofw_mapmem() argument
60 if (dest >= last_dest && in ofw_mapmem()
61 (dest + len) <= (last_dest + last_len)) { in ofw_mapmem()
68 if (dest < (last_dest + last_len) && dest >= last_dest) { in ofw_mapmem()
69 nlen -= (last_dest + last_len) - dest; in ofw_mapmem()
70 dest = last_dest + last_len; in ofw_mapmem()
73 destp = (void *)(dest & ~PAGE_MASK); in ofw_mapmem()
74 resid = dest & PAGE_MASK; in ofw_mapmem()
114 ofw_copyin(const void *src, vm_offset_t dest, const size_t len) in ofw_copyin() argument
116 if (ofw_mapmem(dest, len)) { in ofw_copyin()
121 bcopy(src, (void *)dest, len); in ofw_copyin()
126 ofw_copyout(const vm_offset_t src, void *dest, const size_t len) in ofw_copyout() argument
128 bcopy((void *)src, dest, len); in ofw_copyout()
133 ofw_readin(readin_handle_t fd, vm_offset_t dest, const size_t len) in ofw_readin() argument
140 p = dest; in ofw_readin()
149 if (ofw_mapmem(dest, len)) { in ofw_readin()