Searched refs:tzp (Results 1 - 23 of 23) sorted by relevance

/freebsd-11-stable/contrib/ntp/util/
H A Dprecision.c66 struct timezone tzp; local
73 gettimeofday(&tp, &tzp);
76 gettimeofday(&tp, &tzp);
121 struct timezone tzp; local
138 GETTIMEOFDAY(&tp, &tzp);
147 GETTIMEOFDAY(&tp, &tzp);
H A Dhist.c32 struct timezone tzp; local
48 gettimeofday(&ts, &tzp);
52 gettimeofday(&tr, &tzp);
/freebsd-11-stable/stand/efi/libefi/
H A Dtime.c224 EFI_GetTimeOfDay(OUT struct timeval *tp, OUT struct timezone *tzp) argument
249 if (tzp != NULL) {
251 tzp->tz_minuteswest = 0;
253 tzp->tz_minuteswest = EfiTime.TimeZone;
258 tzp->tz_dsttime =
/freebsd-11-stable/contrib/ntp/include/
H A Dntp_machine.h68 int ntp_set_tod (struct timeval *tvp, void *tzp);
109 extern int gettimeofday ( struct timeval *tp, struct timezone *tzp );
/freebsd-11-stable/sys/amd64/linux32/
H A Dlinux32_machdep.c679 if (error == 0 && uap->tzp != NULL) {
682 error = copyout(&rtz, uap->tzp, sizeof(rtz));
692 struct timezone atz, *tzp; local
704 if (uap->tzp) {
705 error = copyin(uap->tzp, &atz, sizeof(atz));
708 tzp = &atz;
710 tzp = NULL;
711 return (kern_settimeofday(td, tvp, tzp));
H A Dlinux32_systrace_args.c518 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
526 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
H A Dlinux32_proto.h252 char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)]; member in struct:linux_gettimeofday_args
256 char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)]; member in struct:linux_settimeofday_args
/freebsd-11-stable/sys/kern/
H A Dkern_time.c633 struct timezone *tzp; member in struct:gettimeofday_args
648 if (error == 0 && uap->tzp != NULL) {
651 error = copyout(&rtz, uap->tzp, sizeof (rtz));
659 struct timezone *tzp; member in struct:settimeofday_args
667 struct timezone atz, *tzp; local
677 if (uap->tzp) {
678 error = copyin(uap->tzp, &atz, sizeof(atz));
681 tzp = &atz;
683 tzp = NULL;
684 return (kern_settimeofday(td, tvp, tzp));
688 kern_settimeofday(struct thread *td, struct timeval *tv, struct timezone *tzp) argument
[all...]
H A Dsystrace_args.c646 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
691 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
/freebsd-11-stable/contrib/ntp/libntp/
H A Dmachines.c433 void *tzp
472 rc = SETTIMEOFDAY(tvp, tzp);
/freebsd-11-stable/contrib/openbsm/bin/auditd/
H A Dauditd.c495 struct timezone tzp; local
504 if (gettimeofday(&ts, &tzp) == 0) {
/freebsd-11-stable/tests/sys/audit/
H A Dadministrative.c75 struct timezone tzp; local
76 ATF_REQUIRE_EQ(0, gettimeofday(&tp, &tzp));
80 ATF_REQUIRE_EQ(0, settimeofday(&tp, &tzp));
103 struct timezone tzp; local
104 ATF_REQUIRE_EQ(0, gettimeofday(&tp, &tzp));
109 ATF_REQUIRE_EQ(-1, settimeofday(&tp, &tzp));
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_vnops.c3512 znode_t *sdzp, *tdzp, *szp, *tzp; local
3587 error = zfs_dirent_lookup(tdzp, tnm, &tzp, 0);
3597 if (tzp != NULL)
3598 tvp = ZTOV(tzp);
3753 znode_t *sdzp, *tdzp, *szp, *tzp; local
3821 tzp = *tvpp == NULL ? NULL : VTOZ(*tvpp);
3822 if (szp->z_sa_hdl == NULL || (tzp != NULL && tzp->z_sa_hdl == NULL)) {
3843 if (error = zfs_zaccess_rename(sdzp, szp, tdzp, tzp, cr))
3868 if (tzp) {
4187 znode_t *tzp, *szp; local
[all...]
H A Dzfs_acl.c2693 znode_t *tzp, cred_t *cr)
2727 * If we have a tzp, see if we can delete it?
2729 if (tzp) {
2730 if (error = zfs_zaccess_delete(tdzp, tzp, cr))
2692 zfs_zaccess_rename(znode_t *sdzp, znode_t *szp, znode_t *tdzp, znode_t *tzp, cred_t *cr) argument
/freebsd-11-stable/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dnetbsd_syscall_hooks.h602 #define __sanitizer_syscall_pre_compat_50_gettimeofday(tp, tzp) \
604 (long long)(tzp))
605 #define __sanitizer_syscall_post_compat_50_gettimeofday(res, tp, tzp) \
607 (long long)(tzp))
636 #define __sanitizer_syscall_pre_compat_50_settimeofday(tv, tzp) \
638 (long long)(tzp))
639 #define __sanitizer_syscall_post_compat_50_settimeofday(res, tv, tzp) \
641 (long long)(tzp))
2268 #define __sanitizer_syscall_pre___gettimeofday50(tp, tzp) \
2270 (long long)(tzp))
[all...]
/freebsd-11-stable/sys/dev/acpica/
H A Dacpi_thermal.c85 int tzp; member in struct:acpi_tz_zone
434 acpi_tz_getparam(sc, "_TZP", &sc->tz_zone.tzp);
/freebsd-11-stable/sys/compat/freebsd32/
H A Dfreebsd32_misc.c711 if (error == 0 && uap->tzp != NULL) {
714 error = copyout(&rtz, uap->tzp, sizeof (rtz));
1295 struct timezone tz, *tzp; local
1307 if (uap->tzp) {
1308 error = copyin(uap->tzp, &tz, sizeof(tz));
1311 tzp = &tz;
1313 tzp = NULL;
1314 return (kern_settimeofday(td, tvp, tzp));
H A Dfreebsd32_proto.h111 char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)]; member in struct:freebsd32_gettimeofday_args
129 char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)]; member in struct:freebsd32_settimeofday_args
H A Dfreebsd32_systrace_args.c649 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
694 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
/freebsd-11-stable/sys/sys/
H A Dsyscallsubr.h246 struct timezone *tzp);
H A Dsysproto.h382 char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)]; member in struct:gettimeofday_args
407 char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)]; member in struct:settimeofday_args
/freebsd-11-stable/sys/amd64/linux/
H A Dlinux_systrace_args.c838 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
1331 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
/freebsd-11-stable/sys/i386/linux/
H A Dlinux_systrace_args.c526 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */
534 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */

Completed in 562 milliseconds