Lines Matching refs:userfaults
497 unsigned long userfaults = 0; in uffd_poll_thread() local
527 userfaults += uffd_handle_page_fault(&msg); in uffd_poll_thread()
546 return (void *)userfaults; in uffd_poll_thread()
583 static int stress(unsigned long *userfaults) in stress() argument
589 void **_userfaults = (void **) userfaults; in stress()
911 unsigned long userfaults; in userfaultfd_events_test() local
958 if (pthread_join(uffd_mon, (void **)&userfaults)) in userfaultfd_events_test()
962 printf("userfaults: %ld\n", userfaults); in userfaultfd_events_test()
964 return userfaults != nr_pages; in userfaultfd_events_test()
971 unsigned long userfaults; in userfaultfd_sig_test() local
1023 if (pthread_join(uffd_mon, (void **)&userfaults)) in userfaultfd_sig_test()
1027 if (userfaults) in userfaultfd_sig_test()
1029 userfaults); in userfaultfd_sig_test()
1031 return userfaults != 0; in userfaultfd_sig_test()
1041 unsigned long userfaults[nr_cpus]; in userfaultfd_stress() local
1171 if (stress(userfaults)) in userfaultfd_stress()
1214 printf(" %lu", userfaults[cpu]); in userfaultfd_stress()