Home
last modified time | relevance | path

Searched refs:timex (Results 1 – 25 of 39) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/clock_adjtime/
Dclock_adjtime.h118 static inline int sys_clock_adjtime(clockid_t clk_id, void *timex) in sys_clock_adjtime() argument
120 return tst_syscall(__NR_clock_adjtime, clk_id, timex); in sys_clock_adjtime()
123 static inline int sys_clock_adjtime64(clockid_t clk_id, void *timex) in sys_clock_adjtime64() argument
125 return tst_syscall(__NR_clock_adjtime64, clk_id, timex); in sys_clock_adjtime64()
156 static inline void timex_show(const char *mode, struct tst_timex *timex) in timex_show() argument
158 switch (timex->type) { in timex_show()
160 TIMEX_SHOW(timex->tx.kern_old_timex, mode, "%ld"); in timex_show()
163 TIMEX_SHOW(timex->tx.kern_timex, mode, "%lld"); in timex_show()
166 tst_brk(TBROK, "Invalid type: %d", timex->type); in timex_show()
194 tst_brk(TBROK, "Invalid type: %d", timex->type); \
[all …]
Dclock_adjtime01.c108 int (*clock_adjtime)(clockid_t clk_id, void *timex);
Dclock_adjtime02.c114 int (*clock_adjtime)(clockid_t clk_id, void *timex);
/third_party/musl/libc-test/src/functionalext/supplement/linux/
Dclock_adjtime.c28 extern int __clock_adjtime64(clockid_t, struct timex *);
37 struct timex tx; in clock_adjtime_0100()
52 struct timex tx = {ADJ_OFFSET_SS_READ}; in clock_adjtime_0200()
66 struct timex tx; in clock_adjtime_0300()
81 struct timex tx = {0}; in clock_adjtime_0400()
110 struct timex tx; in clock_adjtime64_0100()
Dadjtimex.c19 extern int __adjtimex_time64(struct timex *);
30 struct timex tx; in adjtimex_0100()
58 struct timex tx; in adjtimex_time64_0100()
/third_party/ltp/testcases/kernel/syscalls/adjtimex/
Dadjtimex02.c31 static struct timex *tim_save, *buf;
34 static int libc_adjtimex(struct timex *value) in libc_adjtimex()
39 static int sys_adjtimex(struct timex *value) in sys_adjtimex()
59 int (*adjtimex)(struct timex *value);
71 struct timex *bufp; in verify_adjtimex()
93 bufp = (struct timex *) -1; in verify_adjtimex()
Dadjtimex03.c41 static struct timex *buf;
49 memset(buf, 0, sizeof(struct timex)); in verify_adjtimex()
Dadjtimex01.c15 static struct timex *tim_save;
16 static struct timex *buf;
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
Dtimex.rs96 pub struct timex { struct
103 const UNINIT: ::std::mem::MaybeUninit<timex> = in bindgen_test_layout_timex() argument
107 ::std::mem::size_of::<timex>(), in bindgen_test_layout_timex()
109 concat!("Size of: ", stringify!(timex)) in bindgen_test_layout_timex()
112 ::std::mem::align_of::<timex>(), in bindgen_test_layout_timex()
114 concat!("Alignment of ", stringify!(timex)) in bindgen_test_layout_timex()
121 stringify!(timex), in bindgen_test_layout_timex()
127 impl Default for timex { implementation
/third_party/musl/include/sys/
Dtimex.h19 struct timex { struct
91 int adjtimex(struct timex *);
92 int clock_adjtime(clockid_t, struct timex *);
/third_party/musl/porting/uniproton/kernel/include/sys/
Dtimex.h19 struct timex { struct
91 int adjtimex(struct timex *);
92 int clock_adjtime(clockid_t, struct timex *);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dtimex.h19 struct timex { struct
91 int adjtimex(struct timex *);
92 int clock_adjtime(clockid_t, struct timex *);
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dtimex.h19 struct timex { struct
91 int adjtimex(struct timex *);
92 int clock_adjtime(clockid_t, struct timex *);
/third_party/ltp/testcases/kernel/syscalls/clock_gettime/
Dleapsec01.c63 static void adjtimex_status(struct timex *tx, int status) in adjtimex_status()
126 struct timex tx; in run_leapsec()
/third_party/musl/src/linux/
Dadjtimex.c4 int adjtimex(struct timex *tx) in adjtimex()
Dadjtime.c11 struct timex tx = { 0 }; in adjtime()
Dclock_adjtime.c37 int clock_adjtime (clockid_t clock_id, struct timex *utx) in clock_adjtime()
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/
Dtimex.h1 struct timex { struct
/third_party/musl/porting/liteos_a/user/src/linux/
Dadjtime.c10 struct timex tx = { 0 }; in adjtime()
/third_party/rust/crates/libc/libc-test/semver/
Dlinux-musl.txt51 timex
Dlinux-gnu.txt651 timex
/third_party/musl/compat/time32/
Dclock_adjtime32.c23 struct timex utx = { in __clock_adjtime32()
/third_party/musl/Benchmark/musl/
Dlibc_syscall.cpp63 struct timex timeInfo; in Bm_function_Syscall_adjtimex()
/third_party/rust/crates/libc/src/unix/linux_like/linux/musl/
Dmod.rs239 pub struct timex {
760 pub fn adjtimex(buf: *mut ::timex) -> ::c_int; in adjtimex()
761 pub fn clock_adjtime(clk_id: ::clockid_t, buf: *mut ::timex) -> ::c_int; in clock_adjtime()
/third_party/rust/crates/libc/src/unix/linux_like/linux/gnu/
Dmod.rs195 pub struct timex {
1203 pub fn adjtimex(buf: *mut timex) -> ::c_int; in adjtimex()
1204 pub fn ntp_adjtime(buf: *mut timex) -> ::c_int; in ntp_adjtime()
1207 pub fn clock_adjtime(clk_id: ::clockid_t, buf: *mut ::timex) -> ::c_int; in clock_adjtime()

12