Home
last modified time | relevance | path

Searched refs:uffdio_zeropage (Results 1 – 6 of 6) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/vm/
Duserfaultfd.c626 static int uffdio_zeropage(int ufd, unsigned long offset) in uffdio_zeropage() function
628 struct uffdio_zeropage uffdio_zeropage; in uffdio_zeropage() local
635 uffdio_zeropage.range.start = (unsigned long) area_dst + offset; in uffdio_zeropage()
636 uffdio_zeropage.range.len = page_size; in uffdio_zeropage()
637 uffdio_zeropage.mode = 0; in uffdio_zeropage()
638 ret = ioctl(ufd, UFFDIO_ZEROPAGE, &uffdio_zeropage); in uffdio_zeropage()
642 if (uffdio_zeropage.zeropage == -EEXIST) in uffdio_zeropage()
647 uffdio_zeropage.zeropage), exit(1); in uffdio_zeropage()
649 if (uffdio_zeropage.zeropage != -EINVAL) in uffdio_zeropage()
652 uffdio_zeropage.zeropage), exit(1); in uffdio_zeropage()
[all …]
/external/kernel-headers/original/uapi/linux/
Duserfaultfd.h58 struct uffdio_zeropage)
155 struct uffdio_zeropage { struct
/external/strace/
Duserfaultfd.c138 struct uffdio_zeropage uz; in uffdio_ioctl()
/external/strace/tests-mx32/
Dioctl_uffdio.c152 TAIL_ALLOC_OBJECT_CONST_PTR(struct uffdio_zeropage, zero_struct); in main()
/external/strace/tests-m32/
Dioctl_uffdio.c152 TAIL_ALLOC_OBJECT_CONST_PTR(struct uffdio_zeropage, zero_struct); in main()
/external/strace/tests/
Dioctl_uffdio.c152 TAIL_ALLOC_OBJECT_CONST_PTR(struct uffdio_zeropage, zero_struct); in main()