/freebsd-current/tools/regression/priv/ |
H A D | priv_adjtime.c | 32 * 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 D | ptp_clock_kernel.h | 49 int (*adjtime)(struct ptp_clock_info *, s64); member in struct:ptp_clock_info
|
/freebsd-current/usr.sbin/newsyslog/ |
H A D | ptimes.c | 354 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 D | testrs6000.c | 1 /* 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 D | adjtime.c | 7 * 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 D | systime.c | 69 * 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 D | machines.c | 465 * Some broken systems don't reset adjtime() when the 469 adjtime(&adjtv, NULL);
|
H A D | Makefile.in | 168 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 D | Makefile.am | 149 adjtime.c \
|
/freebsd-current/contrib/ntp/include/ |
H A D | ntp_unixtime.h | 16 # define ADJTIMEOFDAY(a, b) (adjtime(a, b))
|
H A D | l_stdlib.h | 32 extern int adjtime (struct timeval *, struct timeval *);
|
H A D | Makefile.am | 6 adjtime.h \
|
H A D | Makefile.in | 491 adjtime.h \
|
/freebsd-current/sys/dev/axgbe/ |
H A D | xgbe-ptp.c | 232 info->adjtime = xgbe_adjtime;
|
/freebsd-current/sys/sys/ |
H A D | syscall.mk | 102 adjtime.o \
|
H A D | time.h | 621 int adjtime(const struct timeval *, struct timeval *);
|
/freebsd-current/usr.sbin/ntp/libntp/ |
H A D | Makefile | 12 NTP_SRCS= systime.c a_md5encrypt.c adjtime.c atoint.c \
|
/freebsd-current/sys/contrib/dev/iwlwifi/mvm/ |
H A D | ptp.c | 282 mvm->ptp_data.ptp_clock_info.adjtime = iwl_mvm_ptp_adjtime;
|
/freebsd-current/lib/libsys/ |
H A D | Makefile.sys | 164 adjtime.2 \
|
/freebsd-current/tests/sys/audit/ |
H A D | administrative.c | 175 "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 D | dcfd.c | 973 if (adjtime(&time_offset, 0L) == -1) 974 perror("adjtime()");
|
/freebsd-current/contrib/ntp/ntpdate/ |
H A D | ntpdate.c | 2057 if (adjtime(&adjtv, &oadjtv) < 0) { 2066 * the Unix adjtime() routine. We can technically adjust the clock
|
/freebsd-current/sys/kern/ |
H A D | kern_jail.c | 226 {"allow.adjtime", "allow.noadjtime", PR_ALLOW_ADJTIME}, 4658 SYSCTL_JAIL_PARAM(_allow, adjtime, CTLTYPE_INT | CTLFLAG_RW,
|
/freebsd-current/contrib/ntp/ |
H A D | configure | 1853 --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...] |