Home
last modified time | relevance | path

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

/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8431/
Dpoc.c31 int dev_fd; variable
59 dev_fd = open(DEV,O_RDONLY); in main()
60 if(dev_fd == -1){ in main()
66 ret = ioctl(dev_fd, DRM_IOCTL_TEGRA_OPEN_CHANNEL, &open_c); in main()
73 ret = ioctl(dev_fd, DRM_IOCTL_TEGRA_GEM_CREATE, &gem_create); in main()
84 ioctl(dev_fd, DRM_IOCTL_TEGRA_SUBMIT, &submit_c); in main()
89 close(dev_fd); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8432/
Dpoc.c35 int dev_fd; variable
95 ioctl(dev_fd, DRM_IOCTL_TEGRA_SUBMIT, &submit_c); in submit_thread()
107 dev_fd = open(DEV,O_RDONLY); in main()
108 if(dev_fd == -1){ in main()
114 ret = ioctl(dev_fd, DRM_IOCTL_TEGRA_OPEN_CHANNEL, &open_c); in main()
123 ret = ioctl(dev_fd, DRM_IOCTL_TEGRA_GEM_CREATE, &gem_create); in main()
134 while(ioctl(dev_fd, DRM_IOCTL_GEM_CLOSE, &gem_close) == 0); in main()
144 close(dev_fd); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0333/
Dpoc.c34 int dev_fd; variable
47 dev_fd = open(DEV, O_RDONLY); in main()
49 if (dev_fd == -1) { in main()
55 ret = ioctl(dev_fd, DRM_IOCTL_NOUVEAU_NVIF, &s_nvif); in main()