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

/linux-master/tools/testing/selftests/kvm/include/
H A Duserfaultfd_util.h3 * KVM userfaultfd util
14 #include <linux/userfaultfd.h>
/linux-master/tools/testing/selftests/kvm/
H A Dmemslot_modification_stress_test.c22 #include <linux/userfaultfd.h>
H A Ddemand_paging_test.c18 #include <linux/userfaultfd.h>
213 printf(" -u: use userfaultfd to handle vCPU page faults. Mode is a\n"
284 TEST_FAIL("userfaultfd MINOR mode requires shared memory; pick a different -s");
304 print_skip("__NR_userfaultfd must be present for userfaultfd test");
/linux-master/tools/testing/selftests/mm/
H A Duffd-common.h28 #include <linux/userfaultfd.h>
H A Dhugepage-mremap.c23 #include <linux/userfaultfd.h>
64 long uffd; /* userfaultfd file descriptor */
67 /* Create and enable userfaultfd object. */
71 ksft_exit_fail_msg("userfaultfd: %s\n", strerror(errno));
81 * the userfaultfd.
92 * handling by the userfaultfd object. In mode, we request to track
H A Drun_vmtests.sh34 - userfaultfd
35 tests for userfaultfd(2)
150 # huge pages totaling 256MB (262144KB) in size. The userfaultfd
293 CATEGORY="userfaultfd" run_test ./uffd-unit-tests
295 CATEGORY="userfaultfd" run_test ${uffd_stress_bin} anon 20 16
298 CATEGORY="userfaultfd" run_test ${uffd_stress_bin} hugetlb "$half_ufd_size_MB" 32
299 CATEGORY="userfaultfd" run_test ${uffd_stress_bin} hugetlb-private "$half_ufd_size_MB" 32
300 CATEGORY="userfaultfd" run_test ${uffd_stress_bin} shmem 20 16
301 CATEGORY="userfaultfd" run_test ${uffd_stress_bin} shmem-private 20 16
H A Dmkdirty.c22 #include <linux/userfaultfd.h>
369 /* Placing a fresh page via userfaultfd may set the PTE dirty. */
H A Dvm_util.c6 #include <linux/userfaultfd.h>
H A Dksm_functional_tests.c22 #include <linux/userfaultfd.h>
H A Dpagemap_ioctl.c13 #include <linux/userfaultfd.h>
/linux-master/tools/testing/selftests/powerpc/tm/
H A Dtm-signal-pagefault.c10 * pagefault handling is done in userspace using the userfaultfd facility.
13 * to point to additional memory regions managed by the userfaultfd, so using
23 #include <linux/userfaultfd.h>
39 /* Memory handled by userfaultfd */
56 * userfaultfd. If 'backing_data' is not NULL, its content will be save to
85 struct uffd_msg msg; /* Data read from userfaultfd */
86 long uffd; /* userfaultfd file descriptor */
103 fprintf(stderr, "read(): EOF on userfaultfd\n");
114 fprintf(stderr, "Unexpected event on userfaultfd\n");
139 long uffd; /* userfaultfd fil
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_mod_race.c9 #include <linux/userfaultfd.h>
21 * userfaultfd is used to trigger a fault in an fmod_ret program, and make it
23 * inspected. After this, the userfaultfd is closed so that the module loading
121 if (!ASSERT_GE(uffd, 0, "userfaultfd open + register address"))
139 * bpf_copy_from_user. Read userfaultfd descriptor to verify that.
/linux-master/tools/testing/selftests/kvm/lib/
H A Duserfaultfd_util.c3 * KVM userfaultfd util
18 #include <linux/userfaultfd.h>
149 expected_ioctls, "missing userfaultfd ioctls");
/linux-master/fs/
H A DMakefile29 obj-$(CONFIG_USERFAULTFD) += userfaultfd.o
H A Duserfaultfd.c3 * fs/userfaultfd.c
114 * userfaultfd-wp is enabled (see vma_wants_writenotify()). We'll simply
115 * recalculate vma->vm_page_prot whenever userfaultfd-wp changes.
162 * userfaultfd_ctx_get - Acquires a reference to the internal userfaultfd
164 * @ctx: [in] Pointer to the userfaultfd context.
172 * userfaultfd_ctx_put - Releases a reference to the internal userfaultfd
174 * @ctx: [in] Pointer to userfaultfd context.
176 * The userfaultfd context reference must have been previously acquired either
430 * userfaultfd while the userfaultfd wa
[all...]
/linux-master/include/linux/
H A Duserfaultfd_k.h14 #include <linux/userfaultfd.h> /* linux/include/uapi/linux/userfaultfd.h */
30 * from userfaultfd, in order to leave a free define-space for
66 /* userfaultfd syscall flags */
73 * Prevents userfaultfd operations (fill/move/wp) from happening while
75 * in write-mode. Whereas, userfaultfd operations, which includes
/linux-master/mm/
H A DMakefile119 obj-$(CONFIG_USERFAULTFD) += userfaultfd.o
/linux-master/kernel/
H A Dsys_ni.c257 COND_SYSCALL(userfaultfd); variable
/linux-master/tools/testing/selftests/x86/
H A Dtest_shadow_stack.c32 #include <linux/userfaultfd.h>

Completed in 196 milliseconds