Home
last modified time | relevance | path

Searched refs:tv1 (Results 1 – 6 of 6) 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
308 rtc_gettimeofday(&tv1); in get_timer_frequency()
309 } while (tv1.tv_usec == tv2.tv_usec && tv1.tv_sec == tv2.tv_sec); 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()
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/kernel/
Dtimer.c98 static struct timer_vec_root tv1; variable
101 (struct timer_vec *)&tv1, &tv2, &tv3, &tv4, &tv5
119 INIT_LIST_HEAD(tv1.vec + i); in init_timervecs()
137 vec = tv1.vec + i; in internal_add_timer()
151 vec = tv1.vec + tv1.index; in internal_add_timer()
298 if (!tv1.index) { in run_timer_list()
306 head = tv1.vec + tv1.index; in run_timer_list()
328 tv1.index = (tv1.index + 1) & TVR_MASK; in run_timer_list()
/linux-2.4.37.9/arch/cris/kernel/
Dfasttimer.c841 struct timeval tv, tv0, tv1, tv2; in fast_timer_test() local
887 do_gettimeofday_fast(&tv1); in fast_timer_test()
901 printk("Timers started at %is %06i\n", tv1.tv_sec, tv1.tv_usec); in fast_timer_test()
/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; \
/linux-2.4.37.9/net/sched/
Dsch_api.c1146 struct timeval tv, tv1; in psched_calibrate_clock() local
1162 do_gettimeofday(&tv1); in psched_calibrate_clock()
1165 rdelay = tv1.tv_usec - tv.tv_usec; in psched_calibrate_clock()
1166 rdelay += (tv1.tv_sec - tv.tv_sec)*1000000; in psched_calibrate_clock()