Lines Matching full:which

337 linux_common_clock_gettime(struct thread *td, clockid_t which,  in linux_common_clock_gettime()  argument
348 error = linux_to_native_clockid(&nwhich, which); in linux_common_clock_gettime()
351 "unsupported clock_gettime clockid %d", which); in linux_common_clock_gettime()
359 if (which < 0) { in linux_common_clock_gettime()
360 clockwhich = LINUX_CPUCLOCK_WHICH(which); in linux_common_clock_gettime()
361 pid = LINUX_CPUCLOCK_ID(which); in linux_common_clock_gettime()
402 if (which < 0) { in linux_common_clock_gettime()
403 clockwhich = LINUX_CPUCLOCK_WHICH(which); in linux_common_clock_gettime()
404 tid = LINUX_CPUCLOCK_ID(which); in linux_common_clock_gettime()
464 error = linux_common_clock_gettime(td, args->which, &tp); in linux_clock_gettime()
483 error = linux_common_clock_gettime(td, args->which, &tp); in linux_clock_gettime64()
497 linux_common_clock_settime(struct thread *td, clockid_t which, in linux_common_clock_settime() argument
503 error = linux_to_native_clockid(&nwhich, which); in linux_common_clock_settime()
506 "unsupported clock_settime clockid %d", which); in linux_common_clock_settime()
531 return (linux_common_clock_settime(td, args->which, &ts)); in linux_clock_settime()
546 return (linux_common_clock_settime(td, args->which, &ts)); in linux_clock_settime64()
551 linux_common_clock_getres(struct thread *td, clockid_t which, in linux_common_clock_getres() argument
560 error = linux_to_native_clockid(&nwhich, which); in linux_common_clock_getres()
563 "unsupported clock_getres clockid %d", which); in linux_common_clock_getres()
573 if (which < 0) { in linux_common_clock_getres()
576 tid = LINUX_CPUCLOCK_ID(which); in linux_common_clock_getres()
585 pid = LINUX_CPUCLOCK_ID(which); in linux_common_clock_getres()
604 clockwhich = LINUX_CPUCLOCK_WHICH(which); in linux_common_clock_getres()
613 if (which > 0 || clockwhich == LINUX_CPUCLOCK_SCHED) { in linux_common_clock_getres()
652 error = linux_common_clock_getres(td, args->which, &ts); in linux_clock_getres()
670 error = linux_common_clock_getres(td, args->which, &ts); in linux_clock_getres_time64()
712 linux_common_clock_nanosleep(struct thread *td, clockid_t which, in linux_common_clock_nanosleep() argument
725 error = linux_to_native_clockid(&clockid, which); in linux_common_clock_nanosleep()
728 "unsupported clock_nanosleep clockid %d", which); in linux_common_clock_nanosleep()
730 unsupported_clockid, which); in linux_common_clock_nanosleep()
758 error = linux_common_clock_nanosleep(td, args->which, args->flags, in linux_clock_nanosleep()
792 error = linux_common_clock_nanosleep(td, args->which, args->flags, in linux_clock_nanosleep_time64()