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

12

/freebsd-current/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-current/stand/efi/libefi/
H A Dtime.c221 EFI_GetTimeOfDay(OUT struct timeval *tp, OUT struct timezone *tzp) argument
246 if (tzp != NULL) {
248 tzp->tz_minuteswest = 0;
250 tzp->tz_minuteswest = EfiTime.TimeZone;
255 tzp->tz_dsttime =
/freebsd-current/sys/amd64/linux32/
H A Dlinux32_machdep.c416 if (error == 0 && uap->tzp != NULL) {
419 error = copyout(&rtz, uap->tzp, sizeof(rtz));
429 struct timezone atz, *tzp; local
441 if (uap->tzp) {
442 error = copyin(uap->tzp, &atz, sizeof(atz));
445 tzp = &atz;
447 tzp = NULL;
448 return (kern_settimeofday(td, tvp, tzp));
H A Dlinux32_systrace_args.c517 uarg[a++] = (intptr_t)p->tzp; /* struct timezone * */
525 uarg[a++] = (intptr_t)p->tzp; /* struct timezone * */
/freebsd-current/sys/contrib/openzfs/module/zfs/
H A Dzfs_log.c232 znode_t *tzp = zp; local
242 while (tzp->z_pflags & ZFS_XATTR) {
244 if (zfs_zget(ZTOZSB(tzp), tzp->z_xattr_parent, &dzp) != 0) {
249 if (tzp != zp)
250 zrele(tzp);
251 tzp = dzp;
252 unlinked = tzp->z_unlinked;
254 if (tzp != zp)
255 zrele(tzp);
[all...]
/freebsd-current/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-current/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_vnops_os.c2698 znode_t *szp, *tzp; local
2765 tzp = NULL;
2852 tdzp, tnm, &tzp, ZRENAMING | zflg, NULL, NULL);
2855 tdzp, tnm, &tzp, zflg, NULL, NULL);
2867 if (tzp)
2868 zrele(tzp);
2911 if ((error = zfs_zaccess_rename(sdzp, szp, tdzp, tzp, cr, mnt_ns)))
2926 if (tzp) {
2936 boolean_t t_is_dir = S_ISDIR(ZTOI(tzp)->i_mode) != 0;
2948 if (szp->z_id == tzp
3438 znode_t *tzp; local
[all...]
H A Dzfs_acl.c2995 znode_t *tzp, cred_t *cr, zidmap_t *mnt_ns)
3021 * If we have a tzp, see if we can delete it?
3023 if (tzp) {
3024 if ((error = zfs_zaccess_delete(tdzp, tzp, cr, mnt_ns)))
2994 zfs_zaccess_rename(znode_t *sdzp, znode_t *szp, znode_t *tdzp, znode_t *tzp, cred_t *cr, zidmap_t *mnt_ns) argument
/freebsd-current/sys/kern/
H A Dkern_time.c640 struct timezone *tzp; member in struct:gettimeofday_args
655 if (error == 0 && uap->tzp != NULL) {
658 error = copyout(&rtz, uap->tzp, sizeof (rtz));
666 struct timezone *tzp; member in struct:settimeofday_args
674 struct timezone atz, *tzp; local
684 if (uap->tzp) {
685 error = copyin(uap->tzp, &atz, sizeof(atz));
688 tzp = &atz;
690 tzp = NULL;
691 return (kern_settimeofday(td, tvp, tzp));
695 kern_settimeofday(struct thread *td, struct timeval *tv, struct timezone *tzp) argument
[all...]
/freebsd-current/contrib/openbsm/bin/auditd/
H A Dauditd.c495 struct timezone tzp; local
504 if (gettimeofday(&ts, &tzp) == 0) {
/freebsd-current/contrib/ntp/libntp/
H A Dmachines.c432 void *tzp
471 rc = SETTIMEOFDAY(tvp, tzp);
/freebsd-current/tests/sys/audit/
H A Dadministrative.c73 struct timezone tzp; local
74 ATF_REQUIRE_EQ(0, gettimeofday(&tp, &tzp));
78 ATF_REQUIRE_EQ(0, settimeofday(&tp, &tzp));
101 struct timezone tzp; local
102 ATF_REQUIRE_EQ(0, gettimeofday(&tp, &tzp));
107 ATF_REQUIRE_EQ(-1, settimeofday(&tp, &tzp));
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_vnops_os.c2917 znode_t *szp, *tzp; local
2957 error = zfs_dirent_lookup(tdzp, tcnp->cn_nameptr, &tzp, 0);
2964 *tzpp = tzp;
2984 znode_t *sdzp, *tdzp, *szp, *tzp; local
3009 error = zfs_rename_relock_lookup(sdzp, scnp, &szp, tdzp, tcnp, &tzp);
3016 tvp = tzp != NULL ? ZTOV(tzp) : NULL;
3227 znode_t *tdzp, *sdzp, *tzp, *szp; local
3268 tzp = *tvpp == NULL ? NULL : VTOZ(*tvpp);
3269 if (tzp !
3695 znode_t *tzp; local
[all...]
H A Dzfs_acl.c2629 znode_t *tzp, cred_t *cr, zidmap_t *mnt_ns)
2664 * If we have a tzp, see if we can delete it?
2666 if (tzp && (error = zfs_zaccess_delete(tdzp, tzp, cr, mnt_ns)))
2628 zfs_zaccess_rename(znode_t *sdzp, znode_t *szp, znode_t *tdzp, znode_t *tzp, cred_t *cr, zidmap_t *mnt_ns) argument
/freebsd-current/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dnetbsd_syscall_hooks.h607 #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...]
/freebsd-current/sys/dev/acpica/
H A Dacpi_thermal.c85 int tzp; member in struct:acpi_tz_zone
435 acpi_tz_getparam(sc, "_TZP", &sc->tz_zone.tzp);
/freebsd-current/sys/compat/freebsd32/
H A Dfreebsd32_misc.c921 if (error == 0 && uap->tzp != NULL) {
924 error = copyout(&rtz, uap->tzp, sizeof (rtz));
1722 struct timezone tz, *tzp; local
1734 if (uap->tzp) {
1735 error = copyin(uap->tzp, &tz, sizeof(tz));
1738 tzp = &tz;
1740 tzp = NULL;
1741 return (kern_settimeofday(td, tvp, tzp));
H A Dfreebsd32_proto.h103 char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)]; member in struct:freebsd32_gettimeofday_args
121 char tzp_l_[PADL_(const struct timezone *)]; const struct timezone * tzp; char tzp_r_[PADR_(const struct timezone *)]; member in struct:freebsd32_settimeofday_args
/freebsd-current/lib/libsys/
H A D_libsys.h540 int __sys_gettimeofday(struct timeval * tp, struct timezone * tzp);
545 int __sys_settimeofday(const struct timeval * tv, const struct timezone * tzp);
/freebsd-current/sys/sys/
H A Dsyscallsubr.h331 struct timezone *tzp);
H A Dsysproto.h365 char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)]; member in struct:gettimeofday_args
390 char tzp_l_[PADL_(const struct timezone *)]; const struct timezone * tzp; char tzp_r_[PADR_(const struct timezone *)]; member in struct:settimeofday_args
/freebsd-current/sys/arm64/linux/
H A Dlinux_systrace_args.c1346 uarg[a++] = (intptr_t)p->tzp; /* struct timezone * */
1354 uarg[a++] = (intptr_t)p->tzp; /* struct timezone * */
/freebsd-current/sys/i386/linux/
H A Dlinux_systrace_args.c517 uarg[a++] = (intptr_t)p->tzp; /* struct timezone * */
525 uarg[a++] = (intptr_t)p->tzp; /* struct timezone * */
/freebsd-current/sys/amd64/linux/
H A Dlinux_systrace_args.c837 uarg[a++] = (intptr_t)p->tzp; /* struct timezone * */
1335 uarg[a++] = (intptr_t)p->tzp; /* struct timezone * */

Completed in 294 milliseconds

12