Lines Matching refs:args

205 linux_clock_gettime(struct thread *td, struct linux_clock_gettime_args *args)
217 LIN_SDT_PROBE2(time, linux_clock_gettime, entry, args->which, args->tp);
219 error = linux_to_native_clockid(&nwhich, args->which);
229 clockwhich = LINUX_CPUCLOCK_WHICH(args->which);
230 pid = LINUX_CPUCLOCK_ID(args->which);
271 clockwhich = LINUX_CPUCLOCK_WHICH(args->which);
273 tid = LINUX_CPUCLOCK_ID(args->which);
327 error = copyout(&lts, args->tp, sizeof lts);
336 linux_clock_settime(struct thread *td, struct linux_clock_settime_args *args)
343 LIN_SDT_PROBE2(time, linux_clock_settime, entry, args->which, args->tp);
345 error = linux_to_native_clockid(&nwhich, args->which);
352 error = copyin(args->tp, &lts, sizeof lts);
375 linux_clock_getres(struct thread *td, struct linux_clock_getres_args *args)
385 LIN_SDT_PROBE2(time, linux_clock_getres, entry, args->which, args->tp);
387 error = linux_to_native_clockid(&nwhich, args->which);
401 tid = LINUX_CPUCLOCK_ID(args->which);
410 pid = LINUX_CPUCLOCK_ID(args->which);
420 if (args->tp == NULL) {
429 clockwhich = LINUX_CPUCLOCK_WHICH(args->which);
455 error = copyout(&lts, args->tp, sizeof lts);
464 linux_nanosleep(struct thread *td, struct linux_nanosleep_args *args)
471 LIN_SDT_PROBE2(time, linux_nanosleep, entry, args->rqtp, args->rmtp);
473 error = copyin(args->rqtp, &lrqts, sizeof lrqts);
480 if (args->rmtp != NULL)
492 if (args->rmtp != NULL) {
494 error2 = copyout(&lrmts, args->rmtp, sizeof(lrmts));
508 linux_clock_nanosleep(struct thread *td, struct linux_clock_nanosleep_args *args)
515 LIN_SDT_PROBE4(time, linux_clock_nanosleep, entry, args->which,
516 args->flags, args->rqtp, args->rmtp);
518 if (args->flags != 0) {
521 args->flags);
526 if (args->which != LINUX_CLOCK_REALTIME) {
528 args->which);
533 error = copyin(args->rqtp, &lrqts, sizeof(lrqts));
541 if (args->rmtp != NULL)
554 if (args->rmtp != NULL) {
557 error2 = copyout(&lrmts, args->rmtp, sizeof(lrmts));