Home
last modified time | relevance | path

Searched refs:UFFDIO_API (Results 1 – 12 of 12) sorted by relevance

/Linux-v6.6/tools/testing/selftests/mm/
Dhugepage-mremap.c76 if (ioctl(uffd, UFFDIO_API, &uffdio_api) == -1) { in register_region_with_uffd()
Duffd-unit-tests.c143 if (ioctl(uffd, UFFDIO_API, &uffdio_api) == 0) { in test_uffd_api()
151 if (ioctl(uffd, UFFDIO_API, &uffdio_api) == 0) { in test_uffd_api()
159 if (ioctl(uffd, UFFDIO_API, &uffdio_api)) { in test_uffd_api()
166 if (ioctl(uffd, UFFDIO_API, &uffdio_api) == 0) { in test_uffd_api()
Duffd-common.c246 if (ioctl(uffd, UFFDIO_API, &uffdio_api)) in userfaultfd_open()
671 if (ioctl(fd, UFFDIO_API, &uffdio_api)) { in uffd_get_features()
Dmkdirty.c295 if (ioctl(uffd, UFFDIO_API, &uffdio_api) < 0) { in test_uffdio_copy()
Dksm_functional_tests.c360 if (ioctl(uffd, UFFDIO_API, &uffdio_api) < 0) { in test_unmerge_uffd_wp()
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dbpf_mod_race.c75 if (ioctl(uffd, UFFDIO_API, &uffd_api)) { in test_setup_uffd()
/Linux-v6.6/tools/testing/selftests/kvm/lib/
Duserfaultfd_util.c139 TEST_ASSERT(ioctl(uffd, UFFDIO_API, &uffdio_api) != -1, in uffd_setup_demand_paging()
/Linux-v6.6/include/uapi/linux/
Duserfaultfd.h82 #define UFFDIO_API _IOWR(UFFDIO, _UFFDIO_API, \ macro
/Linux-v6.6/tools/testing/selftests/powerpc/tm/
Dtm-signal-pagefault.c155 if (ioctl(uffd, UFFDIO_API, &uffdio_api) == -1) { in setup_uf_mem()
/Linux-v6.6/Documentation/admin-guide/mm/
Duserfaultfd.rst87 ``UFFDIO_API`` ioctl specifying a ``uffdio_api.api`` value set to ``UFFD_API`` (or
90 userland requires. The ``UFFDIO_API`` ioctl if successful (i.e. if the
97 The ``uffdio_api.features`` bitmask returned by the ``UFFDIO_API`` ioctl
117 when invoking the ``UFFDIO_API`` ioctl, to request that those features be
333 bits in ``uffdio_api.features`` passed to ``UFFDIO_API`` ioctl:
/Linux-v6.6/tools/testing/selftests/x86/
Dtest_shadow_stack.c505 if (ioctl(uffd, UFFDIO_API, &uffdio_api)) in test_userfaultfd()
/Linux-v6.6/fs/
Duserfaultfd.c2094 if (cmd != UFFDIO_API && !userfaultfd_is_initialized(ctx)) in userfaultfd_ioctl()
2098 case UFFDIO_API: in userfaultfd_ioctl()