Lines Matching refs:req
49 } req = { in main() local
63 if (syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, &req.ts, NULL)) in main()
67 (intmax_t) req.ts.tv_sec, (intmax_t) req.ts.tv_nsec); in main()
75 &req.ts, &rem.ts) == 0); in main()
78 (intmax_t) req.ts.tv_sec, (intmax_t) req.ts.tv_nsec, &rem.ts); in main()
80 req.ts.tv_nsec = 999999999 + 1; in main()
82 &req.ts, &rem.ts) == -1); in main()
85 (intmax_t) req.ts.tv_sec, (intmax_t) req.ts.tv_nsec, &rem.ts); in main()
99 --req.ts.tv_nsec; in main()
101 &req.ts, &rem.ts) == -1); in main()
105 (intmax_t) req.ts.tv_sec, (intmax_t) req.ts.tv_nsec, in main()
109 assert(syscall(__NR_clock_gettime, CLOCK_REALTIME, &req.ts) == 0); in main()
111 (intmax_t) req.ts.tv_sec, (intmax_t) req.ts.tv_nsec); in main()
113 ++req.ts.tv_sec; in main()
117 &req.ts, &rem.ts) == -1); in main()
121 (intmax_t) req.ts.tv_sec, (intmax_t) req.ts.tv_nsec, &rem.ts); in main()