Lines Matching full:which
77 static int check_itimer(int which) in check_itimer() argument
86 if (which == ITIMER_VIRTUAL) in check_itimer()
88 else if (which == ITIMER_PROF) in check_itimer()
90 else if (which == ITIMER_REAL) in check_itimer()
97 if (which == ITIMER_VIRTUAL) in check_itimer()
99 else if (which == ITIMER_PROF) in check_itimer()
101 else if (which == ITIMER_REAL) in check_itimer()
110 err = setitimer(which, &val, NULL); in check_itimer()
116 if (which == ITIMER_VIRTUAL) in check_itimer()
118 else if (which == ITIMER_PROF) in check_itimer()
120 else if (which == ITIMER_REAL) in check_itimer()
134 static int check_timer_create(int which) in check_timer_create() argument
144 if (which == CLOCK_THREAD_CPUTIME_ID) { in check_timer_create()
146 } else if (which == CLOCK_PROCESS_CPUTIME_ID) { in check_timer_create()
149 ksft_print_msg("Unknown timer_create() type %d\n", which); in check_timer_create()
154 err = timer_create(which, NULL, &id); in check_timer_create()