Searched refs:adjtime (Results 1 - 24 of 24) sorted by relevance

/freebsd-current/tools/regression/priv/
H A Dpriv_adjtime.c32 * Confirm that privilege is required to invoke adjtime(); first query, then
54 if (adjtime(NULL, &query_tv) < 0) {
55 warn("priv_adjtime_setup: adjtime(NULL)");
67 error = adjtime(&query_tv, NULL);
/freebsd-current/sys/compat/linuxkpi/common/include/linux/
H A Dptp_clock_kernel.h49 int (*adjtime)(struct ptp_clock_info *, s64); member in struct:ptp_clock_info
/freebsd-current/usr.sbin/newsyslog/
H A Dptimes.c354 struct ptime_data adjtime; local
363 adjtime = *ptime;
366 if ((adjtime.did_adj4dst != TNYET_ADJ4DST) &&
367 (adjtime.did_adj4dst == dstsrc->tm.tm_isdst))
371 if (dstsrc->tm.tm_isdst != adjtime.tm.tm_isdst) {
372 if (adjtime.tm.tm_isdst == 1)
373 adjtime.tsecs -= SECS_PER_HOUR;
374 else if (adjtime.tm.tm_isdst == 0)
375 adjtime.tsecs += SECS_PER_HOUR;
376 adjtime
[all...]
/freebsd-current/contrib/ntp/util/
H A Dtestrs6000.c1 /* Checks for the RS/6000 AIX adjtime() bug, in which if a negative
6 * slew from adjtime()).
49 if (adjtime(&adjustment, &result))
50 printf("adjtime call failed\n");
/freebsd-current/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) 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( function
220 * Get the key to the adjtime messag
279 adjtime (struct timeval *delta, struct timeval *olddelta) function
[all...]
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
303 * EVNT_NSET adjtime() can be aborted by a tiny adjtime()
315 * Most Unix adjtime() implementations adjust the system clock
347 * adjtime() system call. Note we purposely lose the adjtime()
356 if (adjtime(
[all...]
H A Dmachines.c465 * Some broken systems don't reset adjtime() when the
469 adjtime(&adjtv, NULL);
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
H A DMakefile.am149 adjtime.c \
/freebsd-current/contrib/ntp/include/
H A Dntp_unixtime.h16 # define ADJTIMEOFDAY(a, b) (adjtime(a, b))
H A Dl_stdlib.h32 extern int adjtime (struct timeval *, struct timeval *);
H A DMakefile.am6 adjtime.h \
H A DMakefile.in491 adjtime.h \
/freebsd-current/sys/dev/axgbe/
H A Dxgbe-ptp.c232 info->adjtime = xgbe_adjtime;
/freebsd-current/sys/sys/
H A Dsyscall.mk102 adjtime.o \
H A Dtime.h621 int adjtime(const struct timeval *, struct timeval *);
/freebsd-current/usr.sbin/ntp/libntp/
H A DMakefile12 NTP_SRCS= systime.c a_md5encrypt.c adjtime.c atoint.c \
/freebsd-current/sys/contrib/dev/iwlwifi/mvm/
H A Dptp.c282 mvm->ptp_data.ptp_clock_info.adjtime = iwl_mvm_ptp_adjtime;
/freebsd-current/lib/libsys/
H A DMakefile.sys164 adjtime.2 \
/freebsd-current/tests/sys/audit/
H A Dadministrative.c175 "adjtime(2) call");
181 snprintf(adregex, sizeof(adregex), "adjtime.*%d.*return,success", pid);
185 ATF_REQUIRE_EQ(0, adjtime(NULL, NULL));
199 "adjtime(2) call");
205 snprintf(adregex, sizeof(adregex), "adjtime.*%d.*return,failure", pid);
208 ATF_REQUIRE_EQ(-1, adjtime((struct timeval *)(-1), NULL));
/freebsd-current/contrib/ntp/parseutil/
H A Ddcfd.c973 if (adjtime(&time_offset, 0L) == -1)
974 perror("adjtime()");
/freebsd-current/contrib/ntp/ntpdate/
H A Dntpdate.c2057 if (adjtime(&adjtv, &oadjtv) < 0) {
2066 * the Unix adjtime() routine. We can technically adjust the clock
/freebsd-current/sys/kern/
H A Dkern_jail.c226 {"allow.adjtime", "allow.noadjtime", PR_ALLOW_ADJTIME},
4658 SYSCTL_JAIL_PARAM(_allow, adjtime, CTLTYPE_INT | CTLFLAG_RW,
/freebsd-current/contrib/ntp/
H A Dconfigure1853 --enable-accurate-adjtime
1854 s the adjtime() call is accurate
32466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we want QNX adjtime support" >&5
32467 printf %s "checking if we want QNX adjtime support... " >&6; }
32543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if adjtime is accurate" >&5
32544 printf %s "checking if adjtime is accurate... " >&6; }
32581 # --enable-accurate-adjtime / --disable-accurate-adjtime
32583 # Check whether --enable-accurate-adjtime was given.
33024 # Newer versions of ReliantUNIX round adjtime() value
[all...]

Completed in 195 milliseconds