Lines Matching defs:tst_ts_get_sec
376 static inline long long tst_ts_get_sec(struct tst_ts ts)
600 if (tst_ts_get_sec(*t) == 0 && tst_ts_get_nsec(*t) == 0)
633 return tst_ts_get_sec(t) * 1000000000 + tst_ts_get_nsec(t);
641 return tst_ts_get_sec(t) * 1000000 +
658 return tst_ts_get_sec(t) * 1000 +
757 tst_its_set_interval_sec(its, tst_ts_get_sec(ts));
766 tst_its_set_value_sec(its, tst_ts_get_sec(ts));
775 if (tst_ts_get_sec(t1) == tst_ts_get_sec(t2))
778 return tst_ts_get_sec(t1) < tst_ts_get_sec(t2);
794 long long sec = tst_ts_get_sec(t);
818 tst_ts_set_sec(&res, tst_ts_get_sec(t) + us / 1000000);
845 tst_ts_set_sec(&res, tst_ts_get_sec(t) - us / 1000000);
872 tst_ts_set_sec(&res, tst_ts_get_sec(t1) + tst_ts_get_sec(t2));
899 tst_ts_set_sec(&res, tst_ts_get_sec(t1) - tst_ts_get_sec(t2));