Home
last modified time | relevance | path

Searched refs:zero_struct (Results 1 – 3 of 3) sorted by relevance

/external/strace/tests/
Dioctl_uffdio.c151 struct uffdio_zeropage *zero_struct = tail_alloc(sizeof(*zero_struct)); in main() local
154 memset(zero_struct, 0, sizeof(*zero_struct)); in main()
155 rc = ioctl(-1, UFFDIO_ZEROPAGE, zero_struct); in main()
163 zero_struct->range.start = (uint64_t)(uintptr_t)area2; in main()
164 zero_struct->range.len = pagesize; in main()
165 zero_struct->mode = UFFDIO_ZEROPAGE_MODE_DONTWAKE; in main()
166 rc = ioctl(fd, UFFDIO_ZEROPAGE, zero_struct); in main()
/external/strace/tests-mx32/
Dioctl_uffdio.c151 struct uffdio_zeropage *zero_struct = tail_alloc(sizeof(*zero_struct)); in main() local
154 memset(zero_struct, 0, sizeof(*zero_struct)); in main()
155 rc = ioctl(-1, UFFDIO_ZEROPAGE, zero_struct); in main()
163 zero_struct->range.start = (uint64_t)(uintptr_t)area2; in main()
164 zero_struct->range.len = pagesize; in main()
165 zero_struct->mode = UFFDIO_ZEROPAGE_MODE_DONTWAKE; in main()
166 rc = ioctl(fd, UFFDIO_ZEROPAGE, zero_struct); in main()
/external/strace/tests-m32/
Dioctl_uffdio.c151 struct uffdio_zeropage *zero_struct = tail_alloc(sizeof(*zero_struct)); in main() local
154 memset(zero_struct, 0, sizeof(*zero_struct)); in main()
155 rc = ioctl(-1, UFFDIO_ZEROPAGE, zero_struct); in main()
163 zero_struct->range.start = (uint64_t)(uintptr_t)area2; in main()
164 zero_struct->range.len = pagesize; in main()
165 zero_struct->mode = UFFDIO_ZEROPAGE_MODE_DONTWAKE; in main()
166 rc = ioctl(fd, UFFDIO_ZEROPAGE, zero_struct); in main()