Lines Matching refs:ots
833 linux_timerfd_curval(struct timerfd *tfd, struct itimerspec *ots)
838 *ots = tfd->tfd_time;
839 if (ots->it_value.tv_sec != 0 || ots->it_value.tv_nsec != 0) {
840 timespecsub(&ots->it_value, &cts, &ots->it_value);
841 if (ots->it_value.tv_sec < 0 ||
842 (ots->it_value.tv_sec == 0 &&
843 ots->it_value.tv_nsec == 0)) {
844 ots->it_value.tv_sec = 0;
845 ots->it_value.tv_nsec = 1;
854 struct itimerspec ots;
869 linux_timerfd_curval(tfd, &ots);
872 error = native_to_linux_itimerspec(&lots, &ots);
885 struct itimerspec nts, ots;
915 linux_timerfd_curval(tfd, &ots);
939 error = native_to_linux_itimerspec(&lots, &ots);