Searched refs:uffdio_zeropage (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/fs/
H A Duserfaultfd.c1093 struct uffdio_zeropage uffdio_zeropage; userfaultfd_zeropage() local
1094 struct uffdio_zeropage __user *user_uffdio_zeropage; userfaultfd_zeropage()
1097 user_uffdio_zeropage = (struct uffdio_zeropage __user *) arg; userfaultfd_zeropage()
1100 if (copy_from_user(&uffdio_zeropage, user_uffdio_zeropage, userfaultfd_zeropage()
1102 sizeof(uffdio_zeropage)-sizeof(__s64))) userfaultfd_zeropage()
1105 ret = validate_range(ctx->mm, uffdio_zeropage.range.start, userfaultfd_zeropage()
1106 uffdio_zeropage.range.len); userfaultfd_zeropage()
1110 if (uffdio_zeropage.mode & ~UFFDIO_ZEROPAGE_MODE_DONTWAKE) userfaultfd_zeropage()
1113 ret = mfill_zeropage(ctx->mm, uffdio_zeropage.range.start, userfaultfd_zeropage()
1114 uffdio_zeropage.range.len); userfaultfd_zeropage()
1122 if (!(uffdio_zeropage.mode & UFFDIO_ZEROPAGE_MODE_DONTWAKE)) { userfaultfd_zeropage()
1123 range.start = uffdio_zeropage.range.start; userfaultfd_zeropage()
1126 ret = range.len == uffdio_zeropage.range.len ? 0 : -EAGAIN; userfaultfd_zeropage()
/linux-4.4.14/include/uapi/linux/
H A Duserfaultfd.h58 struct uffdio_zeropage)
155 struct uffdio_zeropage { struct

Completed in 56 milliseconds