• Home
  • Raw
  • Download

Lines Matching refs:its

329 static inline int sys_timer_gettime(kernel_timer_t timerid, void *its)  in sys_timer_gettime()  argument
331 return tst_syscall(__NR_timer_gettime, timerid, its); in sys_timer_gettime()
334 static inline int sys_timer_gettime64(kernel_timer_t timerid, void *its) in sys_timer_gettime64() argument
336 return tst_syscall(__NR_timer_gettime64, timerid, its); in sys_timer_gettime64()
339 static inline int sys_timer_settime(kernel_timer_t timerid, int flags, void *its, in sys_timer_settime() argument
342 return tst_syscall(__NR_timer_settime, timerid, flags, its, old_its); in sys_timer_settime()
345 static inline int sys_timer_settime64(kernel_timer_t timerid, int flags, void *its, in sys_timer_settime64() argument
348 return tst_syscall(__NR_timer_settime64, timerid, flags, its, old_its); in sys_timer_settime64()
351 static inline int sys_timerfd_gettime(int fd, void *its) in sys_timerfd_gettime() argument
353 return tst_syscall(__NR_timerfd_gettime, fd, its); in sys_timerfd_gettime()
356 static inline int sys_timerfd_gettime64(int fd, void *its) in sys_timerfd_gettime64() argument
358 return tst_syscall(__NR_timerfd_gettime64, fd, its); in sys_timerfd_gettime64()
361 static inline int sys_timerfd_settime(int fd, int flags, void *its, in sys_timerfd_settime() argument
364 return tst_syscall(__NR_timerfd_settime, fd, flags, its, old_its); in sys_timerfd_settime()
367 static inline int sys_timerfd_settime64(int fd, int flags, void *its, in sys_timerfd_settime64() argument
370 return tst_syscall(__NR_timerfd_settime64, fd, flags, its, old_its); in sys_timerfd_settime64()
452 static inline long long tst_its_get_interval_sec(struct tst_its its) in tst_its_get_interval_sec() argument
454 switch (its.type) { in tst_its_get_interval_sec()
456 return its.ts.kern_old_its.it_interval.tv_sec; in tst_its_get_interval_sec()
458 return its.ts.kern_its.it_interval.tv_sec; in tst_its_get_interval_sec()
460 tst_brk(TBROK, "Invalid type: %d", its.type); 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() argument
470 switch (its.type) { in tst_its_get_interval_nsec()
472 return its.ts.kern_old_its.it_interval.tv_nsec; in tst_its_get_interval_nsec()
474 return its.ts.kern_its.it_interval.tv_nsec; in tst_its_get_interval_nsec()
476 tst_brk(TBROK, "Invalid type: %d", its.type); 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() argument
486 switch (its->type) { in tst_its_set_interval_sec()
489 its->ts.kern_old_its.it_interval.tv_sec = sec; in tst_its_set_interval_sec()
492 its->ts.kern_its.it_interval.tv_sec = sec; in tst_its_set_interval_sec()
495 tst_brk(TBROK, "Invalid type: %d", its->type); 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() argument
504 switch (its->type) { in tst_its_set_interval_nsec()
507 its->ts.kern_old_its.it_interval.tv_nsec = nsec; in tst_its_set_interval_nsec()
510 its->ts.kern_its.it_interval.tv_nsec = nsec; in tst_its_set_interval_nsec()
513 tst_brk(TBROK, "Invalid type: %d", its->type); 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() argument
522 switch (its.type) { in tst_its_get_value_sec()
524 return its.ts.kern_old_its.it_value.tv_sec; in tst_its_get_value_sec()
526 return its.ts.kern_its.it_value.tv_sec; in tst_its_get_value_sec()
528 tst_brk(TBROK, "Invalid type: %d", its.type); 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() argument
538 switch (its.type) { in tst_its_get_value_nsec()
540 return its.ts.kern_old_its.it_value.tv_nsec; in tst_its_get_value_nsec()
542 return its.ts.kern_its.it_value.tv_nsec; in tst_its_get_value_nsec()
544 tst_brk(TBROK, "Invalid type: %d", its.type); 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() argument
554 switch (its->type) { in tst_its_set_value_sec()
557 its->ts.kern_old_its.it_value.tv_sec = sec; in tst_its_set_value_sec()
560 its->ts.kern_its.it_value.tv_sec = sec; in tst_its_set_value_sec()
563 tst_brk(TBROK, "Invalid type: %d", its->type); 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() argument
572 switch (its->type) { in tst_its_set_value_nsec()
575 its->ts.kern_old_its.it_value.tv_nsec = nsec; in tst_its_set_value_nsec()
578 its->ts.kern_its.it_value.tv_nsec = nsec; in tst_its_set_value_nsec()
581 tst_brk(TBROK, "Invalid type: %d", its->type); in tst_its_set_value_nsec()
733 static inline void tst_its_set_interval_from_us(struct tst_its *its, long long usec) in tst_its_set_interval_from_us() argument
737 tst_its_set_interval_sec(its, tp.tv_sec); in tst_its_set_interval_from_us()
738 tst_its_set_interval_nsec(its, tp.tv_nsec); in tst_its_set_interval_from_us()
744 static inline void tst_its_set_value_from_us(struct tst_its *its, long long usec) in tst_its_set_value_from_us() argument
748 tst_its_set_value_sec(its, tp.tv_sec); in tst_its_set_value_from_us()
749 tst_its_set_value_nsec(its, tp.tv_nsec); in tst_its_set_value_from_us()
755 static inline void tst_its_set_interval_from_ts(struct tst_its *its, struct tst_ts ts) in tst_its_set_interval_from_ts() argument
757 tst_its_set_interval_sec(its, tst_ts_get_sec(ts)); in tst_its_set_interval_from_ts()
758 tst_its_set_interval_nsec(its, tst_ts_get_nsec(ts)); in tst_its_set_interval_from_ts()
764 static inline void tst_its_set_value_from_ts(struct tst_its *its, struct tst_ts ts) in tst_its_set_value_from_ts() argument
766 tst_its_set_value_sec(its, tst_ts_get_sec(ts)); in tst_its_set_value_from_ts()
767 tst_its_set_value_nsec(its, tst_ts_get_nsec(ts)); in tst_its_set_value_from_ts()