Home
last modified time | relevance | path

Searched refs:tst_its (Results 1 – 10 of 10) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/timer_settime/
Dtimer_settime02.c31 static struct tst_its new_set, old_set;
32 static struct tst_its *pnew_set = &new_set, *pold_set = &old_set, *null_set = NULL;
49 struct tst_its **new_ptr;
50 struct tst_its **old_ptr;
58 {&timer, (struct tst_its **)&faulty_set, &pold_set, 0, EFAULT},
59 {&timer, &pnew_set, (struct tst_its **)&faulty_set, 0, EFAULT},
114 new = (tc->new_ptr == (struct tst_its **)&faulty_set) ? faulty_set : tst_its_get(*tc->new_ptr); in run()
115 old = (tc->old_ptr == (struct tst_its **)&faulty_set) ? faulty_set : tst_its_get(*tc->old_ptr); in run()
Dtimer_settime01.c33 static struct tst_its new_set, old_set;
37 struct tst_its *old_ptr;
/third_party/ltp/include/
Dtst_timer.h155 struct tst_its { struct
181 static inline void *tst_its_get(struct tst_its *t) in tst_its_get() argument
452 static inline long long tst_its_get_interval_sec(struct tst_its its) in tst_its_get_interval_sec()
468 static inline long long tst_its_get_interval_nsec(struct tst_its its) in tst_its_get_interval_nsec()
484 static inline void tst_its_set_interval_sec(struct tst_its *its, long long sec) in tst_its_set_interval_sec()
502 static inline void tst_its_set_interval_nsec(struct tst_its *its, long long nsec) in tst_its_set_interval_nsec()
520 static inline long long tst_its_get_value_sec(struct tst_its its) in tst_its_get_value_sec()
536 static inline long long tst_its_get_value_nsec(struct tst_its its) in tst_its_get_value_nsec()
552 static inline void tst_its_set_value_sec(struct tst_its *its, long long sec) in tst_its_set_value_sec()
570 static inline void tst_its_set_value_nsec(struct tst_its *its, long long nsec) in tst_its_set_value_nsec()
[all …]
/third_party/ltp/testcases/kernel/syscalls/timerfd/
Dtimerfd_settime01.c28 struct tst_its *old_value;
37 static struct tst_its new_value;
Dtimerfd01.c55 static void settime(int tfd, struct tst_its *tmr, int tflags, in settime()
99 struct tst_its tmr = {.type = tv->ts_type, }; in run()
Dtimerfd_settime02.c30 static struct tst_its its;
Dtimerfd_gettime01.c28 struct tst_its *curr_value;
Dtimerfd04.c57 struct tst_its it; in verify_timerfd()
/third_party/ltp/testcases/kernel/syscalls/timer_gettime/
Dtimer_gettime01.c51 struct tst_its spec = {.type = tv->ts_type, }; in verify()
/third_party/ltp/testcases/kernel/syscalls/clock_settime/
Dclock_settime03.c19 static struct tst_its its;