Lines Matching defs:args

246 linux_clock_gettime(struct thread *td, struct linux_clock_gettime_args *args)
258 LIN_SDT_PROBE2(time, linux_clock_gettime, entry, args->which, args->tp);
260 error = linux_to_native_clockid(&nwhich, args->which);
270 clockwhich = LINUX_CPUCLOCK_WHICH(args->which);
271 pid = LINUX_CPUCLOCK_ID(args->which);
312 clockwhich = LINUX_CPUCLOCK_WHICH(args->which);
314 tid = LINUX_CPUCLOCK_ID(args->which);
369 error = copyout(&lts, args->tp, sizeof lts);
378 linux_clock_settime(struct thread *td, struct linux_clock_settime_args *args)
385 LIN_SDT_PROBE2(time, linux_clock_settime, entry, args->which, args->tp);
387 error = linux_to_native_clockid(&nwhich, args->which);
394 error = copyin(args->tp, &lts, sizeof lts);
417 linux_clock_getres(struct thread *td, struct linux_clock_getres_args *args)
427 LIN_SDT_PROBE2(time, linux_clock_getres, entry, args->which, args->tp);
429 error = linux_to_native_clockid(&nwhich, args->which);
443 tid = LINUX_CPUCLOCK_ID(args->which);
452 pid = LINUX_CPUCLOCK_ID(args->which);
462 if (args->tp == NULL) {
471 clockwhich = LINUX_CPUCLOCK_WHICH(args->which);
498 error = copyout(&lts, args->tp, sizeof lts);
507 linux_nanosleep(struct thread *td, struct linux_nanosleep_args *args)
514 LIN_SDT_PROBE2(time, linux_nanosleep, entry, args->rqtp, args->rmtp);
516 error = copyin(args->rqtp, &lrqts, sizeof lrqts);
523 if (args->rmtp != NULL)
535 if (error == EINTR && args->rmtp != NULL) {
539 error2 = copyout(&lrmts, args->rmtp, sizeof(lrmts));
553 linux_clock_nanosleep(struct thread *td, struct linux_clock_nanosleep_args *args)
561 LIN_SDT_PROBE4(time, linux_clock_nanosleep, entry, args->which,
562 args->flags, args->rqtp, args->rmtp);
564 error = linux_to_native_timerflags(&flags, args->flags);
567 args->flags);
572 error = linux_to_native_clockid(&clockid, args->which);
575 args->which);
580 error = copyin(args->rqtp, &lrqts, sizeof(lrqts));
588 if (args->rmtp != NULL)
602 args->rmtp != NULL) {
606 error2 = copyout(&lrmts, args->rmtp, sizeof(lrmts));