Lines Matching refs:to
8 static unsigned long raw_copy_to_guest_helper(void *to, const void *from, in raw_copy_to_guest_helper() argument
12 unsigned offset = (vaddr_t)to & ~PAGE_MASK; in raw_copy_to_guest_helper()
20 page = get_page_from_gva(current, (vaddr_t) to, GV2M_WRITE); in raw_copy_to_guest_helper()
34 to += 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()
56 unsigned long raw_clear_guest(void *to, unsigned len) in raw_clear_guest() argument
59 unsigned offset = (vaddr_t)to & ~PAGE_MASK; in raw_clear_guest()
67 page = get_page_from_gva(current, (vaddr_t) to, GV2M_WRITE); in raw_clear_guest()
78 to += size; in raw_clear_guest()
89 unsigned long raw_copy_from_guest(void *to, const void __user *from, unsigned len) in raw_copy_from_guest() argument
106 memcpy(to, p, size); in raw_copy_from_guest()
112 to += size; in raw_copy_from_guest()