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

/linux-4.4.14/tools/testing/selftests/vm/
H A Duserfaultfd.c10 * memory across the two virtual areas (from area_src to area_dst)
17 * area_src), and increments a per-page counter in the same page,
30 * complete. area_src and area_dst are then swapped. All threads are
81 static char *area_src, *area_dst; variable
228 uffdio_copy.src = (unsigned long) area_src + offset; copy_page()
379 * Be strict and immediately zap area_src, the whole area has stress()
381 * area_src could then be faulted in in a racy way by still stress()
383 * area_src (but they're guaranteed to get -EEXIST from stress()
387 if (madvise(area_src, nr_pages * page_size, MADV_DONTNEED)) { stress()
432 area_src = area; userfaultfd_stress()
465 *area_mutex(area_src, nr) = (pthread_mutex_t) userfaultfd_stress()
467 count_verify[nr] = *area_count(area_src, nr) = 1; userfaultfd_stress()
475 *(area_count(area_src, nr) + 1) = 1; userfaultfd_stress()
547 * area_src and it would map a zero page in it (of userfaultfd_stress()
551 * generate zeropages in the area_src, so invalidating userfaultfd_stress()
554 * area_src would lead to -EEXIST failure during the userfaultfd_stress()
586 *area_count(area_src, nr), userfaultfd_stress()
596 tmp_area = area_src; userfaultfd_stress()
597 area_src = area_dst; userfaultfd_stress()

Completed in 34 milliseconds