Home
last modified time | relevance | path

Searched refs:UFFDIO_WRITEPROTECT (Results 1 – 7 of 7) sorted by relevance

/linux/include/uapi/linux/
H A Duserfaultfd.h100 #define UFFDIO_WRITEPROTECT _IOWR(UFFDIO, _UFFDIO_WRITEPROTECT, \ macro
/linux/Documentation/admin-guide/mm/
H A Duserfaultfd.rst203 ``ioctl(uffd, UFFDIO_WRITEPROTECT, struct *uffdio_writeprotect)``
210 ``ioctl(uffd, UFFDIO_WRITEPROTECT, struct *uffdio_writeprotect)``
228 For anonymous memory, ``ioctl(UFFDIO_WRITEPROTECT)`` will ignore none ptes
278 explicitly write-protected by ``ioctl(UFFDIO_WRITEPROTECT)`` with the mode
H A Dpagemap.rst294 or the ``UFFDIO_WRITEPROTECT`` IOCTL can be used. Both of these perform the
/linux/tools/testing/selftests/mm/
H A Dksm_functional_tests.c416 if (ioctl(uffd, UFFDIO_WRITEPROTECT, &uffd_writeprotect)) { in test_unmerge_uffd_wp()
H A Duffd-common.c388 if (ioctl(ufd, UFFDIO_WRITEPROTECT, &prms)) in wp_range()
H A Dpagemap_ioctl.c126 if (!(uffdio_register.ioctls & UFFDIO_WRITEPROTECT)) in wp_init()
133 if (ioctl(uffd, UFFDIO_WRITEPROTECT, &wp)) in wp_init()
134 ksft_exit_fail_msg("ioctl(UFFDIO_WRITEPROTECT)\n"); in wp_init()
/linux/fs/
H A Duserfaultfd.c2024 case UFFDIO_WRITEPROTECT: in userfaultfd_ioctl()