Searched refs:uffdio_wp (Results 1 – 1 of 1) sorted by relevance
1689 struct uffdio_writeprotect uffdio_wp; in userfaultfd_writeprotect() local1699 if (copy_from_user(&uffdio_wp, user_uffdio_wp, in userfaultfd_writeprotect()1703 ret = validate_range(ctx->mm, uffdio_wp.range.start, in userfaultfd_writeprotect()1704 uffdio_wp.range.len); in userfaultfd_writeprotect()1708 if (uffdio_wp.mode & ~(UFFDIO_WRITEPROTECT_MODE_DONTWAKE | in userfaultfd_writeprotect()1712 mode_wp = uffdio_wp.mode & UFFDIO_WRITEPROTECT_MODE_WP; in userfaultfd_writeprotect()1713 mode_dontwake = uffdio_wp.mode & UFFDIO_WRITEPROTECT_MODE_DONTWAKE; in userfaultfd_writeprotect()1719 ret = mwriteprotect_range(ctx, uffdio_wp.range.start, in userfaultfd_writeprotect()1720 uffdio_wp.range.len, mode_wp); in userfaultfd_writeprotect()1730 range.start = uffdio_wp.range.start; in userfaultfd_writeprotect()[all …]