Lines Matching refs:len
9 unsigned len, int flush_dcache) in raw_copy_to_guest_helper() argument
14 while ( len ) in raw_copy_to_guest_helper()
17 unsigned size = min(len, (unsigned)PAGE_SIZE - offset); in raw_copy_to_guest_helper()
22 return len; in raw_copy_to_guest_helper()
32 len -= 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()
51 unsigned len) 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
61 while ( len ) in raw_clear_guest()
64 unsigned size = min(len, (unsigned)PAGE_SIZE - offset); in raw_clear_guest()
69 return len; in raw_clear_guest()
77 len -= 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
93 while ( len ) in raw_copy_from_guest()
96 unsigned size = min(len, (unsigned)(PAGE_SIZE - offset)); in raw_copy_from_guest()
101 return len; in raw_copy_from_guest()
110 len -= size; in raw_copy_from_guest()