Searched refs:uffdio_zeropage (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/tools/testing/selftests/mm/ |
D | uffd-unit-tests.c | 887 struct uffdio_zeropage *uffdio_zeropage) in retry_uffdio_zeropage() argument 889 uffd_test_ops->alias_mapping(&uffdio_zeropage->range.start, in retry_uffdio_zeropage() 890 uffdio_zeropage->range.len, in retry_uffdio_zeropage() 892 if (ioctl(ufd, UFFDIO_ZEROPAGE, uffdio_zeropage)) { in retry_uffdio_zeropage() 893 if (uffdio_zeropage->zeropage != -EEXIST) in retry_uffdio_zeropage() 895 (int64_t)uffdio_zeropage->zeropage); in retry_uffdio_zeropage() 898 (int64_t)uffdio_zeropage->zeropage); in retry_uffdio_zeropage() 904 struct uffdio_zeropage uffdio_zeropage = { 0 }; in do_uffdio_zeropage() local 908 uffdio_zeropage.range.start = (unsigned long) area_dst; in do_uffdio_zeropage() 909 uffdio_zeropage.range.len = page_size; in do_uffdio_zeropage() [all …]
|
/linux-6.12.1/fs/ |
D | userfaultfd.c | 1638 struct uffdio_zeropage uffdio_zeropage; in userfaultfd_zeropage() local 1639 struct uffdio_zeropage __user *user_uffdio_zeropage; in userfaultfd_zeropage() 1642 user_uffdio_zeropage = (struct uffdio_zeropage __user *) arg; in userfaultfd_zeropage() 1649 if (copy_from_user(&uffdio_zeropage, user_uffdio_zeropage, in userfaultfd_zeropage() 1651 sizeof(uffdio_zeropage)-sizeof(__s64))) in userfaultfd_zeropage() 1654 ret = validate_range(ctx->mm, uffdio_zeropage.range.start, in userfaultfd_zeropage() 1655 uffdio_zeropage.range.len); in userfaultfd_zeropage() 1659 if (uffdio_zeropage.mode & ~UFFDIO_ZEROPAGE_MODE_DONTWAKE) in userfaultfd_zeropage() 1663 ret = mfill_atomic_zeropage(ctx, uffdio_zeropage.range.start, in userfaultfd_zeropage() 1664 uffdio_zeropage.range.len); in userfaultfd_zeropage() [all …]
|
/linux-6.12.1/tools/include/uapi/linux/ |
D | userfaultfd.h | 97 struct uffdio_zeropage) 296 struct uffdio_zeropage { struct
|
/linux-6.12.1/include/uapi/linux/ |
D | userfaultfd.h | 97 struct uffdio_zeropage) 296 struct uffdio_zeropage { struct
|