Home
last modified time | relevance | path

Searched refs:timex (Results 1 - 25 of 36) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/clock_adjtime/
H A Dclock_adjtime.h15 #include <sys/timex.h>
18 #include "lapi/timex.h"
118 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 in timex_show()
199 timex_get_field(struct tst_timex *timex, unsigned int field) timex_get_field() argument
[all...]
H A Dclock_adjtime02.c24 * EFAULT - (struct timex *) does not point to valid memory
114 int (*clock_adjtime)(clockid_t clk_id, void *timex);
H A Dclock_adjtime01.c108 int (*clock_adjtime)(clockid_t clk_id, void *timex);
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dclock_adjtime.c19 #include <sys/timex.h>
28 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()
H A Dadjtimex.c16 #include <sys/timex.h>
19 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/
H A Dadjtimex02.c14 * - EFAULT with SET_MODE and invalid timex pointer
20 #include <sys/timex.h>
31 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()
H A Dadjtimex03.c23 * To test that, Pass struct timex buffer filled with zero with
35 #include <sys/timex.h>
41 static struct timex *buf;
49 memset(buf, 0, sizeof(struct timex)); in verify_adjtimex()
H A Dadjtimex01.c9 #include <sys/timex.h>
15 static struct timex *tim_save;
16 static struct timex *buf;
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A 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/
H A 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/
H A Dtimex.h19 struct timex { struct
91 int adjtimex(struct timex *);
92 int clock_adjtime(clockid_t, struct timex *);
/third_party/musl/include/sys/
H A Dtimex.h19 struct timex { struct
91 int adjtimex(struct timex *);
92 int clock_adjtime(clockid_t, struct timex *);
/third_party/musl/src/linux/
H A Dadjtimex.c1 #include <sys/timex.h>
4 int adjtimex(struct timex *tx) in adjtimex()
H A Dadjtime.c3 #include <sys/timex.h>
11 struct timex tx = { 0 }; in adjtime()
H A Dclock_adjtime.c1 #include <sys/timex.h>
37 int clock_adjtime (clockid_t clock_id, struct timex *utx) in clock_adjtime()
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Dtimex.rs96 pub struct timex { structure names
103 const UNINIT: ::std::mem::MaybeUninit<timex> = in bindgen_test_layout_timex()
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 {
/third_party/musl/porting/liteos_a/user/src/linux/
H A Dadjtime.c3 #include <sys/timex.h>
10 struct timex tx = { 0 }; in adjtime()
/third_party/musl/compat/time32/
H A Dclock_adjtime32.c4 #include <sys/timex.h>
23 struct timex utx = { in __clock_adjtime32()
H A Dadjtimex_time32.c3 #include <sys/timex.h>
H A Dadjtime32.c5 #include <sys/timex.h>
/third_party/ltp/testcases/kernel/syscalls/clock_gettime/
H A Dleapsec01.c63 static void adjtimex_status(struct timex *tx, int status) in adjtimex_status()
126 struct timex tx; in run_leapsec()
/third_party/musl/Benchmark/musl/
H A Dlibc_syscall.cpp18 #include <sys/timex.h>
63 struct timex timeInfo; in Bm_function_Syscall_adjtimex()
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/
H A Dtimex.h1 struct timex { struct
/third_party/ltp/include/
H A Dtst_safe_clocks.h12 #include <sys/timex.h>
/third_party/rust/crates/libc/src/unix/linux_like/linux/musl/
H A Dmod.rs239 pub struct timex { structure names
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()

Completed in 13 milliseconds

12