/linux-2.4.37.9/include/net/ |
D | profile.h | 36 rdtsc(pstamp->tv_usec, pstamp->tv_sec); in net_profile_stamp() 49 : "=r" (acc->tv_usec), "=r" (acc->tv_sec) in net_profile_accumulate() 50 : "g" (entered->tv_usec), "g" (entered->tv_sec), in net_profile_accumulate() 51 "g" (leaved->tv_usec), "g" (leaved->tv_sec), in net_profile_accumulate() 52 "0" (acc->tv_usec), "1" (acc->tv_sec)); in net_profile_accumulate() 60 : "=r" (acc->tv_usec), "=r" (acc->tv_sec) in net_profile_sub() 61 : "g" (sub->tv_usec), "g" (sub->tv_sec), in net_profile_sub() 62 "0" (acc->tv_usec), "1" (acc->tv_sec)); in net_profile_sub() 70 : "=r" (acc->tv_usec), "=r" (acc->tv_sec) in net_profile_add() 71 : "g" (add->tv_usec), "g" (add->tv_sec), in net_profile_add() [all …]
|
D | pkt_sched.h | 305 int __delta = (tv1).tv_usec - (tv2).tv_usec; \ 324 int __delta = (tv1).tv_usec - (tv2).tv_usec; \ 337 #define PSCHED_TLESS(tv1, tv2) (((tv1).tv_usec < (tv2).tv_usec && \ 343 int __delta = (tv).tv_usec + (delta); \ 346 (tv_res).tv_usec = __delta; \ 351 (tv).tv_usec += (delta); \ 352 if ((tv).tv_usec > 1000000) { (tv).tv_sec++; \ 353 (tv).tv_usec -= 1000000; } \
|
/linux-2.4.37.9/arch/cris/kernel/ |
D | fasttimer.c | 204 tv->tv_usec = usec; in do_gettimeofday_fast() 217 if (t0->tv_usec < t1->tv_usec) in timeval_cmp() 221 else if (t0->tv_usec > t1->tv_usec) in timeval_cmp() 340 t->tv_expires.tv_usec = t->tv_set.tv_usec + delay_us % 1000000; in start_one_shot_timer() 342 if (t->tv_expires.tv_usec > 1000000) in start_one_shot_timer() 344 t->tv_expires.tv_usec -= 1000000; in start_one_shot_timer() 457 D1(printk("t: %is %06ius\n", tv.tv_sec, tv.tv_usec)); in timer1_handler() 511 t->tv_expires.tv_usec - tv.tv_usec); in timer1_handler() 649 (unsigned long)tv.tv_usec); in proc_fasttimer_read() 699 (unsigned long)t->tv_set.tv_usec, in proc_fasttimer_read() [all …]
|
D | time.c | 277 usec += xtime.tv_usec; in do_gettimeofday() 286 tv->tv_usec = usec; in do_gettimeofday() 301 new_usec = tv->tv_usec; in do_settimeofday() 310 xtime.tv_usec = new_usec; in do_settimeofday() 476 xtime.tv_usec > 500000 - (tick >> 1) && in timer_interrupt() 477 xtime.tv_usec < 500000 + (tick >> 1)) { in timer_interrupt() 543 xtime.tv_usec = 0; in update_xtime_from_cmos() 568 xtime.tv_usec = 0; in time_init()
|
/linux-2.4.37.9/arch/arm/kernel/ |
D | time.c | 110 if (xtime.tv_usec < 50000 - (tick >> 1) && in do_set_rtc() 111 xtime.tv_usec >= 50000 + (tick >> 1)) in do_set_rtc() 166 usec += xtime.tv_usec; in do_gettimeofday() 176 tv->tv_usec = usec; in do_gettimeofday() 188 tv->tv_usec -= gettimeoffset(); in do_settimeofday() 189 tv->tv_usec -= (jiffies - wall_jiffies) * USECS_PER_JIFFY; in do_settimeofday() 191 while (tv->tv_usec < 0) { in do_settimeofday() 192 tv->tv_usec += 1000000; in do_settimeofday() 222 xtime.tv_usec = 0; in time_init()
|
/linux-2.4.37.9/arch/sh/kernel/ |
D | time.c | 168 usec += xtime.tv_usec; in do_gettimeofday() 177 tv->tv_usec = usec; in do_gettimeofday() 189 tv->tv_usec -= do_gettimeoffset(); in do_settimeofday() 190 tv->tv_usec -= (jiffies - wall_jiffies) * (1000000 / HZ); in do_settimeofday() 192 while (tv->tv_usec < 0) { in do_settimeofday() 193 tv->tv_usec += 1000000; in do_settimeofday() 252 xtime.tv_usec >= 500000 - ((unsigned) tick) / 2 && in do_timer_interrupt() 253 xtime.tv_usec <= 500000 + ((unsigned) tick) / 2) { in do_timer_interrupt() 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() [all …]
|
/linux-2.4.37.9/arch/parisc/kernel/ |
D | time.c | 168 usec += xtime.tv_usec; in do_gettimeofday() 178 tv->tv_usec = usec; in do_gettimeofday() 193 tv->tv_usec -= gettimeoffset(); in do_settimeofday() 194 tv->tv_usec -= (jiffies - wall_jiffies) * (1000000 / HZ); in do_settimeofday() 196 while (tv->tv_usec < 0) { in do_settimeofday() 197 tv->tv_usec += 1000000; in do_settimeofday() 231 xtime.tv_usec = tod_data.tod_usec; in time_init() 236 xtime.tv_usec = 0; in time_init()
|
/linux-2.4.37.9/arch/mips/galileo-boards/ev96100/ |
D | time.c | 201 tv->tv_usec += do_fast_gettimeoffset(); in do_gettimeofday() 208 tv->tv_usec += USECS_PER_JIFFY; in do_gettimeofday() 212 if (tv->tv_usec >= 1000000) { in do_gettimeofday() 213 tv->tv_usec -= 1000000; in do_gettimeofday() 227 tv->tv_usec -= do_fast_gettimeoffset(); in do_settimeofday() 229 if (tv->tv_usec < 0) { in do_settimeofday() 230 tv->tv_usec += 1000000; in do_settimeofday()
|
/linux-2.4.37.9/drivers/hil/ |
D | hp_sdc_rtc.c | 204 res->tv_usec = (suseconds_t)(tenms % 100) * 10000; in hp_sdc_rtc_read_rt() 221 res->tv_usec = (suseconds_t)(tenms % 100) * 10000; in hp_sdc_rtc_read_fhs() 238 res->tv_usec = (suseconds_t)(tenms % 100) * 10000; in hp_sdc_rtc_read_mt() 255 res->tv_usec = (suseconds_t)(tenms % 100) * 10000; in hp_sdc_rtc_read_dt() 272 res->tv_usec = (suseconds_t)(tenms % 100) * 10000; in hp_sdc_rtc_read_ct() 296 if (0xffff < setto->tv_usec / 1000000 / 86400) return -1; in hp_sdc_rtc_set_rt() 297 days += ((setto->tv_sec % 86400) + setto->tv_usec / 1000000) / 86400; in hp_sdc_rtc_set_rt() 302 if (0xffffff < setto->tv_usec / 10000) return -1; in hp_sdc_rtc_set_rt() 303 tenms += setto->tv_usec / 10000; in hp_sdc_rtc_set_rt() 333 if (0xffff < setto->tv_usec / 10000) return -1; in hp_sdc_rtc_set_fhs() [all …]
|
/linux-2.4.37.9/arch/m68k/kernel/ |
D | time.c | 100 xtime.tv_usec = 0; in time_init() 122 usec += xtime.tv_usec; in do_gettimeofday() 131 tv->tv_usec = usec; in do_gettimeofday() 143 tv->tv_usec -= mach_gettimeoffset(); in do_settimeofday() 145 while (tv->tv_usec < 0) { in do_settimeofday() 146 tv->tv_usec += 1000000; in do_settimeofday()
|
/linux-2.4.37.9/arch/mips64/kernel/ |
D | time.c | 165 tv->tv_usec += do_gettimeoffset(); in do_gettimeofday() 172 tv->tv_usec += lost * USECS_PER_JIFFY; in do_gettimeofday() 176 while (tv->tv_usec >= 1000000) { in do_gettimeofday() 177 tv->tv_usec -= 1000000; in do_gettimeofday() 192 tv->tv_usec -= do_gettimeoffset(); in do_settimeofday() 193 tv->tv_usec -= (jiffies - wall_jiffies) * USECS_PER_JIFFY; in do_settimeofday() 195 while (tv->tv_usec < 0) { in do_settimeofday() 196 tv->tv_usec += 1000000; in do_settimeofday() 438 xtime.tv_usec >= 500000 - ((unsigned) tick) / 2 && in timer_interrupt() 439 xtime.tv_usec <= 500000 + ((unsigned) tick) / 2) { in timer_interrupt() [all …]
|
/linux-2.4.37.9/arch/mips/kernel/ |
D | time.c | 165 tv->tv_usec += do_gettimeoffset(); in do_gettimeofday() 172 tv->tv_usec += lost * USECS_PER_JIFFY; in do_gettimeofday() 176 while (tv->tv_usec >= 1000000) { in do_gettimeofday() 177 tv->tv_usec -= 1000000; in do_gettimeofday() 192 tv->tv_usec -= do_gettimeoffset(); in do_settimeofday() 193 tv->tv_usec -= (jiffies - wall_jiffies) * USECS_PER_JIFFY; in do_settimeofday() 195 while (tv->tv_usec < 0) { in do_settimeofday() 196 tv->tv_usec += 1000000; in do_settimeofday() 438 xtime.tv_usec >= 500000 - ((unsigned) tick) / 2 && in timer_interrupt() 439 xtime.tv_usec <= 500000 + ((unsigned) tick) / 2) { in timer_interrupt() [all …]
|
/linux-2.4.37.9/arch/s390x/kernel/ |
D | time.c | 59 xtime->tv_usec = todval % 1000000; in tod_to_timeval() 83 usec = xtime.tv_usec + do_gettimeoffset(); in do_gettimeofday() 92 tv->tv_usec = usec; in do_gettimeofday() 105 tv->tv_usec -= do_gettimeoffset(); in do_settimeofday() 107 while (tv->tv_usec < 0) { in do_settimeofday() 108 tv->tv_usec += 1000000; in do_settimeofday()
|
/linux-2.4.37.9/drivers/net/wireless/prism54/ |
D | isl_38xx.c | 128 current_time.tv_sec, current_time.tv_usec); in isl38xx_trigger_device() 132 current_time.tv_sec, current_time.tv_usec, in isl38xx_trigger_device() 142 current_time.tv_sec, current_time.tv_usec); in isl38xx_trigger_device() 153 current_time.tv_sec, current_time.tv_usec, in isl38xx_trigger_device() 161 current_time.tv_sec, current_time.tv_usec, in isl38xx_trigger_device() 177 current_time.tv_sec, current_time.tv_usec, reg); in isl38xx_trigger_device()
|
/linux-2.4.37.9/arch/alpha/kernel/ |
D | osf_sys.c | 902 int tv_sec, tv_usec; member 915 __get_user(o->tv_usec, &i->tv_usec))); in get_tv32() 922 __put_user(i->tv_usec, &o->tv_usec))); in put_tv32() 929 __get_user(o->it_interval.tv_usec, &i->it_interval.tv_usec) | in get_it32() 931 __get_user(o->it_value.tv_usec, &i->it_value.tv_usec))); in get_it32() 938 __put_user(i->it_interval.tv_usec, &o->it_interval.tv_usec) | in put_it32() 940 __put_user(i->it_value.tv_usec, &o->it_value.tv_usec))); in put_it32() 1056 || (ret = __get_user(usec, &tvp->tv_usec))) in osf_select() 1151 r.ru_utime.tv_usec = CT_TO_USECS(current->times.tms_utime); in osf_getrusage() 1153 r.ru_stime.tv_usec = CT_TO_USECS(current->times.tms_stime); in osf_getrusage() [all …]
|
D | time.c | 130 && xtime.tv_usec >= 500000 - ((unsigned) tick) / 2 in timer_interrupt() 131 && xtime.tv_usec <= 500000 + ((unsigned) tick) / 2) { in timer_interrupt() 368 xtime.tv_usec = 0; in time_init() 402 usec = xtime.tv_usec; in do_gettimeofday() 439 tv->tv_usec = usec; in do_gettimeofday() 465 usec = tv->tv_usec; in do_settimeofday() 473 xtime.tv_usec = usec; in do_settimeofday()
|
/linux-2.4.37.9/net/core/ |
D | profile.c | 89 s->accumulator.tv_usec = 0; in profile_read_proc() 91 s->irq.tv_usec = 0; in profile_read_proc() 107 tmp.accumulator.tv_usec, in profile_read_proc() 109 tmp.irq.tv_usec, in profile_read_proc() 285 net_profile_adjust.tv_usec = net_prof_total.accumulator.tv_usec>>10; in net_profile_init() 286 printk("%ld units\n", net_profile_adjust.tv_usec); in net_profile_init()
|
/linux-2.4.37.9/arch/s390/kernel/ |
D | time.c | 110 usec = xtime.tv_usec + do_gettimeoffset(); in do_gettimeofday() 119 tv->tv_usec = usec; in do_gettimeofday() 132 tv->tv_usec -= do_gettimeoffset(); in do_settimeofday() 134 while (tv->tv_usec < 0) { in do_settimeofday() 135 tv->tv_usec += 1000000; in do_settimeofday()
|
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | time.c | 150 abs(xtime.tv_usec - (1000000-1000000/HZ)) < 500000/HZ && in timer_check_rtc() 175 xtime.tv_usec = my_tv.tv_usec; in timer_sync_xtime() 371 tv->tv_usec = usec; in do_gettimeofday() 399 new_usec = tv->tv_usec - tb_delta / tb_ticks_per_usec; in do_settimeofday() 404 xtime.tv_usec = new_usec; in do_settimeofday() 418 new_xsec = (tv->tv_usec * XSEC_PER_SEC) / USEC_PER_SEC; in do_settimeofday() 456 myTimeval.tv_usec = 0; in ppc64_sys32_stime() 481 myTimeval.tv_usec = 0; in ppc64_sys_stime() 514 xtime.tv_usec = 0; in time_init()
|
/linux-2.4.37.9/arch/ppc/kernel/ |
D | time.c | 188 abs(xtime.tv_usec - (1000000-1000000/HZ)) < 500000/HZ && in timer_interrupt() 224 usec = xtime.tv_usec; in do_gettimeofday() 242 tv->tv_usec = usec; in do_gettimeofday() 272 new_usec = tv->tv_usec - mulhwu(tb_to_us, tb_delta); in do_settimeofday() 277 xtime.tv_usec = new_usec; in do_settimeofday() 334 xtime.tv_usec = 0; in time_init()
|
/linux-2.4.37.9/arch/i386/kernel/ |
D | time.c | 456 usec += xtime.tv_usec; in do_gettimeofday() 465 tv->tv_usec = usec; in do_gettimeofday() 477 tv->tv_usec -= do_gettimeoffset(); in do_settimeofday() 478 tv->tv_usec -= (jiffies - wall_jiffies) * (1000000 / HZ); in do_settimeofday() 480 while (tv->tv_usec < 0) { in do_settimeofday() 481 tv->tv_usec += 1000000; in do_settimeofday() 613 xtime.tv_usec >= 500000 - ((unsigned) tick) / 2 && in do_timer_interrupt() 614 xtime.tv_usec <= 500000 + ((unsigned) tick) / 2) { in do_timer_interrupt() 842 xtime.tv_usec = 0; in time_init()
|
/linux-2.4.37.9/arch/ia64/kernel/ |
D | time.c | 95 tv->tv_usec -= gettimeoffset(); in do_settimeofday() 97 while (tv->tv_usec < 0) { in do_settimeofday() 98 tv->tv_usec += 1000000; in do_settimeofday() 133 usec += xtime.tv_usec; in do_gettimeofday() 143 tv->tv_usec = usec; in do_gettimeofday()
|
/linux-2.4.37.9/fs/udf/ |
D | udftime.c | 124 udf_time_to_stamp(timestamp *dest, time_t tv_sec, long tv_usec) in udf_time_to_stamp() argument 167 dest->centiseconds = tv_usec / 10000; in udf_time_to_stamp() 168 dest->hundredsOfMicroseconds = (tv_usec - dest->centiseconds * 10000) / 100; in udf_time_to_stamp() 169 dest->microseconds = (tv_usec - dest->centiseconds * 10000 - in udf_time_to_stamp()
|
/linux-2.4.37.9/arch/x86_64/kernel/ |
D | time.c | 214 usec = xtime.tv_usec in do_gettimeofday() 222 tv->tv_usec = usec % 1000000; in do_gettimeofday() 236 tv->tv_usec -= (jiffies - wall_jiffies) * tick in do_settimeofday() 239 while (tv->tv_usec < 0) { in do_settimeofday() 240 tv->tv_usec += 1000000; in do_settimeofday() 405 abs(xtime.tv_usec - 500000) <= tick / 2) { in timer_interrupt() 636 xtime.tv_usec = 0; in time_init()
|
/linux-2.4.37.9/arch/sparc/kernel/ |
D | time.c | 143 xtime.tv_usec >= 500000 - ((unsigned) tick) / 2 && in timer_interrupt() 144 xtime.tv_usec <= 500000 + ((unsigned) tick) / 2) { in timer_interrupt() 401 xtime.tv_usec = 0; in sbus_time_init() 432 xtime.tv_usec = 0; in sbus_time_init() 521 tv->tv_usec -= do_gettimeoffset(); in sbus_do_settimeofday() 522 if(tv->tv_usec < 0) { in sbus_do_settimeofday() 523 tv->tv_usec += 1000000; in sbus_do_settimeofday()
|