Lines Matching refs:uffdio_zeropage
1099 struct uffdio_zeropage *uffdio_zeropage, in retry_uffdio_zeropage() argument
1102 uffd_test_ops->alias_mapping(&uffdio_zeropage->range.start, in retry_uffdio_zeropage()
1103 uffdio_zeropage->range.len, in retry_uffdio_zeropage()
1105 if (ioctl(ufd, UFFDIO_ZEROPAGE, uffdio_zeropage)) { in retry_uffdio_zeropage()
1106 if (uffdio_zeropage->zeropage != -EEXIST) in retry_uffdio_zeropage()
1108 (int64_t)uffdio_zeropage->zeropage); in retry_uffdio_zeropage()
1111 (int64_t)uffdio_zeropage->zeropage); in retry_uffdio_zeropage()
1117 struct uffdio_zeropage uffdio_zeropage; in __uffdio_zeropage() local
1124 uffdio_zeropage.range.start = (unsigned long) area_dst + offset; in __uffdio_zeropage()
1125 uffdio_zeropage.range.len = page_size; in __uffdio_zeropage()
1126 uffdio_zeropage.mode = 0; in __uffdio_zeropage()
1127 ret = ioctl(ufd, UFFDIO_ZEROPAGE, &uffdio_zeropage); in __uffdio_zeropage()
1128 res = uffdio_zeropage.zeropage; in __uffdio_zeropage()
1141 retry_uffdio_zeropage(ufd, &uffdio_zeropage, in __uffdio_zeropage()
1152 static int uffdio_zeropage(int ufd, unsigned long offset) in uffdio_zeropage() function
1178 if (uffdio_zeropage(uffd, 0)) in userfaultfd_zeropage_test()