Home
last modified time | relevance | path

Searched refs:adjtime (Results 1 – 25 of 43) sorted by relevance

12

/freebsd/usr.sbin/newsyslog/
H A Dptimes.c354 struct ptime_data adjtime; in ptime_adjust4dst() local
363 adjtime = *ptime; in ptime_adjust4dst()
366 if ((adjtime.did_adj4dst != TNYET_ADJ4DST) && in ptime_adjust4dst()
367 (adjtime.did_adj4dst == dstsrc->tm.tm_isdst)) in ptime_adjust4dst()
371 if (dstsrc->tm.tm_isdst != adjtime.tm.tm_isdst) { in ptime_adjust4dst()
372 if (adjtime.tm.tm_isdst == 1) in ptime_adjust4dst()
373 adjtime.tsecs -= SECS_PER_HOUR; in ptime_adjust4dst()
374 else if (adjtime.tm.tm_isdst == 0) in ptime_adjust4dst()
375 adjtime.tsecs += SECS_PER_HOUR; in ptime_adjust4dst()
376 adjtime.tm = *(localtime(&adjtime.tsecs)); in ptime_adjust4dst()
[all …]
/freebsd/contrib/ntp/html/hints/
H A Dhpux20 have to worry about adjtimed as HP-UX now has adjtime(2). The rest of you
21 will have to wait on 10.0 which will have adjtime(2) and a supported though
25 have adjtime(2). The directory adjtime contains libadjtime.a and the adjtimed
26 daemon. Instead of the adjtime(2) system call, we use a library routine to
28 causes the clock to skew properly as needed. PLEASE NOTE that the adjtime
29 code provided here is NOT a general replacement for adjtime(2) ... use of
30 this adjtime(3)/adjtimed(8) other than with xntpd may yield very odd results.
84 * Xntpd has been known to get really ticked off when adjtime() fails
112 --> $(TOP) is not defined in adjtime/Makefile, so "make install" can't
115 --> "make install" from the main Makefile never goes into the adjtime
[all …]
H A Dsgi1 adjtime, tick and tickadj:
6 Tickadj is a bit more tricky because of the behaviour of adjtime(),
27 Strange. Anyway, since adjtime will complete adjustments of less than
53 use this rather than adjtime() to do it's frequency trimming, but I
H A Dmpeix12 MPE lacks the clock-related APIs expected by NTP, so adjtime(), gettimeofday(),
16 Unfortunately the implementation of adjtime() has exposed a sub-second accuracy
19 this writing. The adjtime() code may possibly need to be altered if/when this
/freebsd/contrib/ntp/adjtimed/
H A DREADME2 The adjtimed daemon emulates the BSD adjtime(2) system call. The
3 adjtime() routine communicates with this daemon via SYSV messages.
7 future HP-UX releases. Perhaps HP-UX will have a real adjtime(2)
19 thing". This is not an exact replacement for BSD adjtime(2), don't
/freebsd/contrib/ntp/libntp/
H A Dadjtime.c7 * MPE lacks adjtime(), so we define our own. But note that time slewing has
9 * from being able to maintain clock synch. Because of the bug, this adjtime()
24 int adjtime(struct timeval *delta, struct timeval *olddelta);
26 int adjtime(struct timeval *delta, struct timeval *olddelta) in adjtime() function
126 static char RCSid[] = "adjtime.c,v 3.1 1993/07/06 01:04:42 jbj Exp";
134 #include "adjtime.h"
159 * adjtime - hp-ux copout of the standard Unix adjtime() system call
162 adjtime( in adjtime() function
220 * Get the key to the adjtime messag in _adjtime()
279 adjtime (struct timeval *delta, struct timeval *olddelta) adjtime() function
[all...]
H A Dmachines.c465 * Some broken systems don't reset adjtime() when the in ntp_set_tod()
469 adjtime(&adjtv, NULL); in ntp_set_tod()
H A Dsystime.c69 * loop discipline unavailable or disabled), adjtime() offsets are
72 * are quantized to the microsecond resolution of adjtime()'s timeval
74 * next adjtime() and meanwhile is also factored into get_systime()
300 * emulation of adjtime() behavior on top of an API that simply in adj_systime()
303 * EVNT_NSET adjtime() can be aborted by a tiny adjtime() in adj_systime()
315 * Most Unix adjtime() implementations adjust the system clock in adj_systime()
347 * adjtime() system call. Note we purposely lose the adjtime() in adj_systime()
356 if (adjtime( in adj_systime()
[all...]
H A DMakefile.in168 am__libntp_a_SOURCES_DIST = systime.c a_md5encrypt.c adjtime.c \
223 am__objects_5 = a_md5encrypt.$(OBJEXT) adjtime.$(OBJEXT) \
254 am__libntpsim_a_SOURCES_DIST = systime_s.c a_md5encrypt.c adjtime.c \
301 ./$(DEPDIR)/adjtime.Po ./$(DEPDIR)/adjtimex.Po \
779 adjtime.c \
1048 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/adjtime.Po@am__quote@ # am--include-marker
1334 -rm -f ./$(DEPDIR)/adjtime.Po
1488 -rm -f ./$(DEPDIR)/adjtime.Po
/freebsd/tools/regression/priv/
H A Dpriv_adjtime.c54 if (adjtime(NULL, &query_tv) < 0) { in priv_adjtime_setup()
67 error = adjtime(&query_tv, NULL); in priv_adjtime_set()
/freebsd/contrib/ntp/
H A DTODO97 Fujitsu's UXP --enable-adjtime-is-accurate
100 Unixware --enable-adjtime-is-accurate
106 DomainOS --enable-adjtime-is-accurate
113 Is adjtime accurate on ALL sysv4* machines?
H A Dconfigure.ac3119 [Do we need HPUX adjtime() library support?])
3129 AC_MSG_CHECKING([if we want QNX adjtime support])
3140 [Do we need the qnx adjtime call?])
3200 AC_MSG_CHECKING([if adjtime is accurate])
3237 # --enable-accurate-adjtime / --disable-accurate-adjtime
3240 [accurate-adjtime],
3242 [--enable-accurate-adjtime],
3243 [s the adjtime() call is accurate]
3252 AC_DEFINE([ADJTIME_IS_ACCURATE], [1], [Is adjtime() accurat
[all...]
H A DREADME52 adjtimed Directory containing the sources for the adjtime daemon
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dptp_clock_kernel.h49 int (*adjtime)(struct ptp_clock_info *, s64); member
/freebsd/contrib/ntp/util/
H A Dtestrs6000.c49 if (adjtime(&adjustment, &result)) in timeout()
/freebsd/contrib/ntp/include/
H A Dntp_unixtime.h16 # define ADJTIMEOFDAY(a, b) (adjtime(a, b))
H A DMakefile.am6 adjtime.h \
H A Dl_stdlib.h32 extern int adjtime (struct timeval *, struct timeval *);
/freebsd/sys/dev/axgbe/
H A Dxgbe-ptp.c232 info->adjtime = xgbe_adjtime; in xgbe_ptp_register()
/freebsd/usr.sbin/ntp/libntp/
H A DMakefile11 NTP_SRCS= systime.c a_md5encrypt.c adjtime.c atoint.c \
/freebsd/lib/libsys/
H A DSymbol.sys.map38 adjtime;
H A DMakefile.sys158 adjtime.2 \
/freebsd/contrib/ntp/sntp/
H A Dsntp-opts.def160 slew the amount using @command{adjtime(2)}. Otherwise, step the
201 descrip = "OK to 'slew' the time with @command{adjtime(2)}";
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dptp.c282 mvm->ptp_data.ptp_clock_info.adjtime = iwl_mvm_ptp_adjtime; in iwl_mvm_ptp_init()
/freebsd/sys/sys/
H A Dsyscall.mk106 adjtime.o \

12