Home
last modified time | relevance | path

Searched refs:tv2 (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/include/net/
Dpkt_sched.h302 #define PSCHED_TDIFF(tv1, tv2) \ argument
304 int __delta_sec = (tv1).tv_sec - (tv2).tv_sec; \
305 int __delta = (tv1).tv_usec - (tv2).tv_usec; \
321 #define PSCHED_TDIFF_SAFE(tv1, tv2, bound, guard) \ argument
323 int __delta_sec = (tv1).tv_sec - (tv2).tv_sec; \
324 int __delta = (tv1).tv_usec - (tv2).tv_usec; \
337 #define PSCHED_TLESS(tv1, tv2) (((tv1).tv_usec < (tv2).tv_usec && \ argument
338 (tv1).tv_sec <= (tv2).tv_sec) || \
339 (tv1).tv_sec < (tv2).tv_sec)
367 #define PSCHED_TDIFF(tv1, tv2) (long)((tv1) - (tv2)) argument
[all …]
/linux-2.4.37.9/arch/sh/kernel/
Dtime.c290 struct timeval tv1, tv2; in get_timer_frequency() local
305 rtc_gettimeofday(&tv2); in get_timer_frequency()
309 } while (tv1.tv_usec == tv2.tv_usec && tv1.tv_sec == tv2.tv_sec); in get_timer_frequency()
315 rtc_gettimeofday(&tv2); in get_timer_frequency()
316 } while (tv1.tv_usec == tv2.tv_usec && tv1.tv_sec == tv2.tv_sec); in get_timer_frequency()
319 if (tv2.tv_usec < tv1.tv_usec) { in get_timer_frequency()
320 tv2.tv_usec += 1000000; in get_timer_frequency()
321 tv2.tv_sec--; in get_timer_frequency()
324 diff_usec = (tv2.tv_sec - tv1.tv_sec) * 1000000 + (tv2.tv_usec - tv1.tv_usec); in get_timer_frequency()
/linux-2.4.37.9/include/net/sctp/
Dsctp.h495 #define TIMEVAL_ADD(tv1, tv2) \ argument
497 suseconds_t usecs = (tv2).tv_usec + (tv1).tv_usec; \
498 time_t secs = (tv2).tv_sec + (tv1).tv_sec; \
504 (tv2).tv_sec = secs; \
505 (tv2).tv_usec = usecs; \
/linux-2.4.37.9/kernel/
Dtimer.c97 static struct timer_vec tv2; variable
101 (struct timer_vec *)&tv1, &tv2, &tv3, &tv4, &tv5
116 INIT_LIST_HEAD(tv2.vec + i); in init_timervecs()
140 vec = tv2.vec + i; in internal_add_timer()
/linux-2.4.37.9/arch/cris/kernel/
Dfasttimer.c841 struct timeval tv, tv0, tv1, tv2; in fast_timer_test() local
899 do_gettimeofday_fast(&tv2); in fast_timer_test()
902 printk("Timers done %is %06i\n", tv2.tv_sec, tv2.tv_usec); in fast_timer_test()