Lines Matching refs:tzp
557 struct timezone *tzp;
572 if (error == 0 && uap->tzp != NULL) {
575 error = copyout(&rtz, uap->tzp, sizeof (rtz));
583 struct timezone *tzp;
591 struct timezone atz, *tzp;
601 if (uap->tzp) {
602 error = copyin(uap->tzp, &atz, sizeof(atz));
605 tzp = &atz;
607 tzp = NULL;
608 return (kern_settimeofday(td, tvp, tzp));
612 kern_settimeofday(struct thread *td, struct timeval *tv, struct timezone *tzp)
625 if (tzp && error == 0) {
626 tz_minuteswest = tzp->tz_minuteswest;
627 tz_dsttime = tzp->tz_dsttime;