Lines Matching full:which
77 static int check_itimer(int which) in check_itimer() argument
87 if (which == ITIMER_VIRTUAL) in check_itimer()
89 else if (which == ITIMER_PROF) in check_itimer()
91 else if (which == ITIMER_REAL) in check_itimer()
98 if (which == ITIMER_VIRTUAL) in check_itimer()
100 else if (which == ITIMER_PROF) in check_itimer()
102 else if (which == ITIMER_REAL) in check_itimer()
111 err = setitimer(which, &val, NULL); in check_itimer()
117 if (which == ITIMER_VIRTUAL) in check_itimer()
119 else if (which == ITIMER_PROF) in check_itimer()
121 else if (which == ITIMER_REAL) in check_itimer()
138 static int check_timer_create(int which) in check_timer_create() argument
148 if (which == CLOCK_THREAD_CPUTIME_ID) { in check_timer_create()
150 } else if (which == CLOCK_PROCESS_CPUTIME_ID) { in check_timer_create()
156 err = timer_create(which, NULL, &id); in check_timer_create()