Home
last modified time | relevance | path

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

/external/strace/tests/
Dioctl_uffdio.c57 struct uffdio_api *api_struct = tail_alloc(sizeof(*api_struct)); in main() local
60 memset(api_struct, 0, sizeof(*api_struct)); in main()
61 rc = ioctl(-1, UFFDIO_API, api_struct); in main()
69 api_struct->api = UFFD_API; in main()
70 api_struct->features = 0; in main()
71 rc = ioctl(fd, UFFDIO_API, api_struct); in main()
75 fd, (uint64_t)api_struct->features); in main()
76 api_struct->ioctls &= ~(1ull<<_UFFDIO_REGISTER| in main()
79 if (api_struct->ioctls) in main()
80 printf("|%#" PRIx64, (uint64_t)api_struct->ioctls); in main()
/external/strace/tests-mx32/
Dioctl_uffdio.c57 struct uffdio_api *api_struct = tail_alloc(sizeof(*api_struct)); in main() local
60 memset(api_struct, 0, sizeof(*api_struct)); in main()
61 rc = ioctl(-1, UFFDIO_API, api_struct); in main()
69 api_struct->api = UFFD_API; in main()
70 api_struct->features = 0; in main()
71 rc = ioctl(fd, UFFDIO_API, api_struct); in main()
75 fd, (uint64_t)api_struct->features); in main()
76 api_struct->ioctls &= ~(1ull<<_UFFDIO_REGISTER| in main()
79 if (api_struct->ioctls) in main()
80 printf("|%#" PRIx64, (uint64_t)api_struct->ioctls); in main()
/external/strace/tests-m32/
Dioctl_uffdio.c57 struct uffdio_api *api_struct = tail_alloc(sizeof(*api_struct)); in main() local
60 memset(api_struct, 0, sizeof(*api_struct)); in main()
61 rc = ioctl(-1, UFFDIO_API, api_struct); in main()
69 api_struct->api = UFFD_API; in main()
70 api_struct->features = 0; in main()
71 rc = ioctl(fd, UFFDIO_API, api_struct); in main()
75 fd, (uint64_t)api_struct->features); in main()
76 api_struct->ioctls &= ~(1ull<<_UFFDIO_REGISTER| in main()
79 if (api_struct->ioctls) in main()
80 printf("|%#" PRIx64, (uint64_t)api_struct->ioctls); in main()