| /src/external/bsd/libbind/dist/bsd/ |
| gettimeofday.c | 21 isc__gettimeofday(struct timeval *tp, struct timezone *tzp) { 24 res = gettimeofday(tp, tzp); 49 gettimeofday(struct timeval *tvp, struct _TIMEZONE *tzp) { 58 if (tzp) { 59 tzp->tz_minuteswest = 0; 60 tzp->tz_dsttime = 0;
|
| /src/usr.sbin/bootp/common/ |
| tzone.c | 44 struct timezone tzp; /* Time zone offset for clients */ 46 if (gettimeofday(&tp, &tzp) < 0) { 50 secondswest = 60L * tzp.tz_minuteswest; /* Convert to seconds */
|
| /src/lib/libc/sys/ |
| settimeofday.c | 59 settimeofday(const struct timeval *tv, const void *tzp) 69 rv = ____settimeofday50(tv, tzp); 93 args.tzp = tzp;
|
| /src/lib/libc/compat/sys/ |
| compat_gettimeofday.c | 53 __compat_gettimeofday(struct timeval50 *tv50, void *tzp) 58 if ((rv = __gettimeofday50(&tv, tzp)) == -1)
|
| /src/external/bsd/ntp/dist/util/ |
| precision.c | 68 struct timezone tzp; local 75 gettimeofday(&tp, &tzp); 78 gettimeofday(&tp, &tzp); 123 struct timezone tzp; local 140 GETTIMEOFDAY(&tp, &tzp); 149 GETTIMEOFDAY(&tp, &tzp);
|
| hist.c | 34 struct timezone tzp; local 50 gettimeofday(&ts, &tzp); 54 gettimeofday(&tr, &tzp);
|
| /src/sys/arch/ia64/stand/efi/libefi/ |
| time.c | 167 OUT struct timezone *tzp 193 if (tzp) { 194 tzp->tz_minuteswest = 199 tzp->tz_dsttime =
|
| /src/sys/compat/sys/ |
| clockctl.h | 44 const void *tzp; member in struct:clockctl50_settimeofday
|
| /src/sys/sys/ |
| clockctl.h | 44 const void *tzp; member in struct:clockctl_settimeofday
|
| /src/sys/compat/common/ |
| clockctl_50.c | 78 error = settimeofday1(&tv, false, args->tzp, l, false);
|
| kern_time_50.c | 210 syscallarg(void *) tzp; really "struct timezone *"; 224 if (SCARG(uap, tzp)) { 232 error = copyout(&tzfake, SCARG(uap, tzp), sizeof(tzfake)); 244 syscallarg(const void *) tzp; really "const struct timezone *"; 252 return settimeofday1(&atv, false, SCARG(uap, tzp), l, true);
|
| /src/sys/compat/linux/common/ |
| linux_time.c | 77 syscallarg(struct timezone *) tzp; 87 if (SCARG(uap, tzp)) { 88 error = copyout(&linux_sys_tz, SCARG(uap, tzp), sizeof(linux_sys_tz)); 101 syscallarg(struct timezone *) tzp; 111 if (SCARG(uap, tzp)) { 115 error = copyin(SCARG(uap, tzp), &linux_sys_tz, sizeof(linux_sys_tz));
|
| /src/sys/dev/acpi/ |
| acpi_tz.c | 95 uint32_t tzp; member in struct:acpitz_zone 173 sc->sc_zone.tzp = ATZ_TZP_RATE; 187 sc->sc_zone.tzp = val; 190 sc->sc_zone.tzp / 10, sc->sc_zone.tzp % 10); 192 sc->sc_zone_expire = ATZ_ZONE_EXPIRE / sc->sc_zone.tzp; 215 callout_schedule(&sc->sc_callout, sc->sc_zone.tzp * hz / 10); 282 sc->sc_zone_expire = ATZ_ZONE_EXPIRE / sc->sc_zone.tzp; 770 callout_schedule(&sc->sc_callout, sc->sc_zone.tzp * hz / 10);
|
| /src/external/bsd/ntp/dist/include/ |
| ntp_machine.h | 70 int ntp_set_tod (struct timeval *tvp, void *tzp); 111 extern int gettimeofday ( struct timeval *tp, struct timezone *tzp );
|
| /src/external/bsd/ntp/dist/libntp/ |
| machines.c | 434 void *tzp 473 rc = SETTIMEOFDAY(tvp, tzp);
|
| /src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| zfs_vnops.c | 3944 znode_t *sdzp, *tdzp, *szp, *tzp; local 4053 error = zfs_dirent_lookup(tdzp, tnm, &tzp, 0); 4069 if (tzp != NULL) 4070 tvp = ZTOV(tzp); 4254 znode_t *sdzp, *tdzp, *szp, *tzp; local 4336 tzp = *tvpp == NULL ? NULL : VTOZ(*tvpp); 4337 if (szp->z_sa_hdl == NULL || (tzp != NULL && tzp->z_sa_hdl == NULL)) { 4358 if (error = zfs_zaccess_rename(sdzp, szp, tdzp, tzp, cr)) 4383 if (tzp) { 4743 znode_t *tzp, *szp; local [all...] |
| /src/sys/compat/linux32/common/ |
| linux32_time.c | 90 syscallarg(netbsd32_timezonep_t) tzp; 105 if (SCARG_P32(uap, tzp) != NULL) { 106 if ((error = copyout(&linux_sys_tz, SCARG_P32(uap, tzp), 119 syscallarg(netbsd32_timezonep_t) tzp; 124 NETBSD32TOP_UAP(tzp, struct timezone);
|
| /src/sys/compat/netbsd32/ |
| netbsd32_time.c | 189 syscallarg(netbsd32_timezonep_t) tzp; 203 if (SCARG_P32(uap, tzp)) { 211 error = copyout(&tzfake, SCARG_P32(uap, tzp), sizeof(tzfake)); 221 syscallarg(const netbsd32_timezonep_t) tzp; 235 if (SCARG_P32(uap, tzp))
|
| netbsd32_compat_50.c | 157 syscallarg(netbsd32_timezonep_t) tzp; 171 if (SCARG_P32(uap, tzp)) { 179 error = copyout(&tzfake, SCARG_P32(uap, tzp), sizeof(tzfake)); 190 syscallarg(const netbsd32_timezonep_t) tzp; 204 if (SCARG_P32(uap, tzp))
|
| /src/sys/external/bsd/compiler_rt/dist/include/sanitizer/ |
| netbsd_syscall_hooks.h | 603 #define __sanitizer_syscall_pre_compat_50_gettimeofday(tp, tzp) \ 605 (long long)(tzp)) 606 #define __sanitizer_syscall_post_compat_50_gettimeofday(res, tp, tzp) \ 608 (long long)(tzp)) 637 #define __sanitizer_syscall_pre_compat_50_settimeofday(tv, tzp) \ 639 (long long)(tzp)) 640 #define __sanitizer_syscall_post_compat_50_settimeofday(res, tv, tzp) \ 642 (long long)(tzp)) 2267 #define __sanitizer_syscall_pre___gettimeofday50(tp, tzp) \ 2269 (long long)(tzp)) [all...] |
| /src/sys/dev/ |
| clockctl.c | 215 error = settimeofday1(args->tv, true, args->tzp, l, false);
|
| /src/external/bsd/libbind/dist/ |
| port_after.h.in | 415 int isc__gettimeofday(struct timeval *tvp, struct _TIMEZONE *tzp); 417 int isc__gettimeofday(struct timeval *tp, struct timezone *tzp);
|
| /src/external/gpl3/gcc/dist/libsanitizer/include/sanitizer/ |
| netbsd_syscall_hooks.h | 607 #define __sanitizer_syscall_pre_compat_50_gettimeofday(tp, tzp) \ 609 (long long)(tzp)) 610 #define __sanitizer_syscall_post_compat_50_gettimeofday(res, tp, tzp) \ 612 (long long)(tzp)) 641 #define __sanitizer_syscall_pre_compat_50_settimeofday(tv, tzp) \ 643 (long long)(tzp)) 644 #define __sanitizer_syscall_post_compat_50_settimeofday(res, tv, tzp) \ 646 (long long)(tzp)) 2295 #define __sanitizer_syscall_pre___gettimeofday50(tp, tzp) \ 2297 (long long)(tzp)) [all...] |
| /src/external/gpl3/gcc.old/dist/libsanitizer/include/sanitizer/ |
| netbsd_syscall_hooks.h | 607 #define __sanitizer_syscall_pre_compat_50_gettimeofday(tp, tzp) \ 609 (long long)(tzp)) 610 #define __sanitizer_syscall_post_compat_50_gettimeofday(res, tp, tzp) \ 612 (long long)(tzp)) 641 #define __sanitizer_syscall_pre_compat_50_settimeofday(tv, tzp) \ 643 (long long)(tzp)) 644 #define __sanitizer_syscall_post_compat_50_settimeofday(res, tv, tzp) \ 646 (long long)(tzp)) 2295 #define __sanitizer_syscall_pre___gettimeofday50(tp, tzp) \ 2297 (long long)(tzp)) [all...] |
| /src/sys/compat/linux/arch/alpha/ |
| linux_osf1.c | 428 if (error == 0 && SCARG(uap, tzp) != NULL) { 430 error = copyout(&otz, SCARG(uap, tzp), sizeof otz); 489 return settimeofday1(tvp, false, (const void *)SCARG(uap, tzp), l, true);
|