Searched refs:uffdio_zeropage (Results 1 – 1 of 1) sorted by relevance
1764 struct uffdio_zeropage uffdio_zeropage; in userfaultfd_zeropage() local1765 struct uffdio_zeropage __user *user_uffdio_zeropage; in userfaultfd_zeropage()1768 user_uffdio_zeropage = (struct uffdio_zeropage __user *) arg; in userfaultfd_zeropage()1775 if (copy_from_user(&uffdio_zeropage, user_uffdio_zeropage, in userfaultfd_zeropage()1777 sizeof(uffdio_zeropage)-sizeof(__s64))) in userfaultfd_zeropage()1780 ret = validate_range(ctx->mm, &uffdio_zeropage.range.start, in userfaultfd_zeropage()1781 uffdio_zeropage.range.len); in userfaultfd_zeropage()1785 if (uffdio_zeropage.mode & ~UFFDIO_ZEROPAGE_MODE_DONTWAKE) in userfaultfd_zeropage()1789 ret = mfill_zeropage(ctx->mm, uffdio_zeropage.range.start, in userfaultfd_zeropage()1790 uffdio_zeropage.range.len, in userfaultfd_zeropage()[all …]