Lines Matching refs:ret
52 int ret = 0; in set_affinity() local
56 ret = sched_setaffinity(0, sizeof(cpu_set_t), &mask); in set_affinity()
57 if(ret == -1){ in set_affinity()
60 return ret; in set_affinity()
84 int i, try_time = TRY_TIMES, ret; in main() local
100 ret = ioctl(fd, NVHOST_IOCTL_CHANNEL_OPEN, &o_args); in main()
101 if(ret == -1) { in main()
115 ret = pthread_create(close_thread_id + i, NULL, close_thread, NULL); in main()
116 if(ret){ in main()
127 ret = ioctl(fd, NVHOST_IOCTL_CHANNEL_OPEN, &o_args); in main()
128 if(ret == -1) { in main()