Searched refs:to_page_end (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/lguest/x86/
H A Dcore.c335 size_t to_page_end = PAGE_SIZE - (vaddr % PAGE_SIZE); copy_from_guest() local
341 if (len > to_page_end) { copy_from_guest()
343 if (__guest_pa(cpu, vaddr + to_page_end, &paddr)) copy_from_guest()
344 copy_from_guest(cpu, dst + to_page_end, copy_from_guest()
345 vaddr + to_page_end, copy_from_guest()
346 len - to_page_end); copy_from_guest()
349 memset(dst + to_page_end, 0, len - to_page_end); copy_from_guest()
350 len = to_page_end; copy_from_guest()

Completed in 48 milliseconds