Searched refs:uffdio_copy (Results 1 – 7 of 7) sorted by relevance
87 struct uffdio_copy uffdio_copy; in fault_handler_thread() local122 uffdio_copy.dst = msg.arg.pagefault.address & ~(pagesize-1); in fault_handler_thread()124 offset = (char *) uffdio_copy.dst - uf_mem; in fault_handler_thread()125 uffdio_copy.src = (unsigned long) &backing_mem[offset]; in fault_handler_thread()127 uffdio_copy.len = pagesize; in fault_handler_thread()128 uffdio_copy.mode = 0; in fault_handler_thread()129 uffdio_copy.copy = 0; in fault_handler_thread()130 if (ioctl(uffd, UFFDIO_COPY, &uffdio_copy) == -1) { in fault_handler_thread()
571 static void retry_copy_page(int ufd, struct uffdio_copy *uffdio_copy, in retry_copy_page() argument575 uffdio_copy->len, in retry_copy_page()579 if (uffdio_copy->copy != -EEXIST) in retry_copy_page()581 (int64_t)uffdio_copy->copy); in retry_copy_page()584 (int64_t)uffdio_copy->copy); in retry_copy_page()602 struct uffdio_copy uffdio_copy; in __copy_page() local608 uffdio_copy.len = page_size; in __copy_page()612 uffdio_copy.mode = 0; in __copy_page()613 uffdio_copy.copy = 0; in __copy_page()616 if (uffdio_copy.copy != -EEXIST) in __copy_page()[all …]
272 struct uffdio_copy uffdio_copy; in test_uffdio_copy() local310 uffdio_copy.dst = (unsigned long) dst; in test_uffdio_copy()311 uffdio_copy.src = (unsigned long) src; in test_uffdio_copy()312 uffdio_copy.len = pagesize; in test_uffdio_copy()313 uffdio_copy.mode = 0; in test_uffdio_copy()314 if (ioctl(uffd, UFFDIO_COPY, &uffdio_copy)) { in test_uffdio_copy()
95 struct uffdio_copy)275 struct uffdio_copy { struct
69 struct uffdio_copy copy; in handle_uffd_page_request()
457 struct uffdio_copy req; in uffd_thread()
314 struct uffdio_copy copy; in uffd_generic_handler()
Completed in 13 milliseconds