Lines Matching refs:ret
85 int ret = 0; in set_affinity() local
89 ret = sched_setaffinity(0, sizeof(cpu_set_t), &mask); in set_affinity()
90 if(ret == -1){ in set_affinity()
93 return ret; in set_affinity()
103 int ret = 1; in child() local
106 while(ret){ in child()
107 ret = ioctl(fd, DRM_IOCTL_TEGRA_CLOSE_CHANNEL, &close_c); in child()
114 int i, try_time = THREAD_NUM, ret; in main() local
136 ret = ioctl(fd, DRM_IOCTL_TEGRA_OPEN_CHANNEL, &open_c); in main()
139 ret = ioctl(fd, DRM_IOCTL_TEGRA_CLOSE_CHANNEL, &close_c); in main()
140 if(ret){ in main()