Lines Matching refs:from
8 static unsigned long raw_copy_to_guest_helper(void *to, const void *from, in raw_copy_to_guest_helper() argument
26 memcpy(p, from, size); in raw_copy_to_guest_helper()
33 from += size; in raw_copy_to_guest_helper()
45 unsigned long raw_copy_to_guest(void *to, const void *from, unsigned len) in raw_copy_to_guest() argument
47 return raw_copy_to_guest_helper(to, from, len, 0); in raw_copy_to_guest()
50 unsigned long raw_copy_to_guest_flush_dcache(void *to, const void *from, in raw_copy_to_guest_flush_dcache() argument
53 return raw_copy_to_guest_helper(to, from, len, 1); in raw_copy_to_guest_flush_dcache()
89 unsigned long raw_copy_from_guest(void *to, const void __user *from, unsigned len) in raw_copy_from_guest() argument
91 unsigned offset = (vaddr_t)from & ~PAGE_MASK; in raw_copy_from_guest()
99 page = get_page_from_gva(current, (vaddr_t) from, GV2M_READ); in raw_copy_from_guest()
104 p += ((vaddr_t)from & (~PAGE_MASK)); in raw_copy_from_guest()
111 from += size; in raw_copy_from_guest()