Lines Matching refs:which
78 static int check_itimer(int which) in check_itimer() argument
88 if (which == ITIMER_VIRTUAL) in check_itimer()
90 else if (which == ITIMER_PROF) in check_itimer()
92 else if (which == ITIMER_REAL) in check_itimer()
99 if (which == ITIMER_VIRTUAL) in check_itimer()
101 else if (which == ITIMER_PROF) in check_itimer()
103 else if (which == ITIMER_REAL) in check_itimer()
112 err = setitimer(which, &val, NULL); in check_itimer()
118 if (which == ITIMER_VIRTUAL) in check_itimer()
120 else if (which == ITIMER_PROF) in check_itimer()
122 else if (which == ITIMER_REAL) in check_itimer()
139 static int check_timer_create(int which) in check_timer_create() argument
149 if (which == CLOCK_THREAD_CPUTIME_ID) { in check_timer_create()
151 } else if (which == CLOCK_PROCESS_CPUTIME_ID) { in check_timer_create()
157 err = timer_create(which, NULL, &id); in check_timer_create()