Home | History | Annotate | Download | only in vm

Lines Matching refs:UFFDIO_COPY

36  * transfer (UFFDIO_COPY).
323 struct uffdio_copy uffdio_copy;
328 uffdio_copy.dst = (unsigned long) area_dst + offset;
329 uffdio_copy.src = (unsigned long) area_src + offset;
330 uffdio_copy.len = page_size;
331 uffdio_copy.mode = 0;
332 uffdio_copy.copy = 0;
333 if (ioctl(ufd, UFFDIO_COPY, &uffdio_copy)) {
335 if (uffdio_copy.copy != -EEXIST)
336 fprintf(stderr, "UFFDIO_COPY error %Ld\n",
337 uffdio_copy.copy), exit(1);
338 } else if (uffdio_copy.copy != page_size) {
339 fprintf(stderr, "UFFDIO_COPY unexpected copy %Ld\n",
340 uffdio_copy.copy), exit(1);
505 * UFFDIO_COPY without writing zero pages into area_dst
872 * UFFDIO_COPY. UFFDIO_COPY will read the zapped
874 * course such a UFFDIO_COPY is perfectly safe as it'd
876 * bounce though: that racing UFFDIO_COPY would