/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/ |
H A D | ktime.h | 51 s32 sec, nsec; member in struct:ktime::__anon9997 53 s32 nsec, sec; 136 * that the tv.sec field is negative and the tv.nsec field is greater 140 * tv.sec < 0 and 0 >= tv.nsec < NSEC_PER_SEC 143 /* Set a ktime_t variable to a value in sec/nsec representation: */ 146 return (ktime_t) { .tv = { .sec = secs, .nsec = nsecs } }; 161 if (res.tv.nsec < 0) 162 res.tv.nsec += NSEC_PER_SEC; 184 * tv.nsec -= NSEC_PER_SEC 187 if (res.tv.nsec > [all...] |
H A D | clockchips.h | 106 static inline unsigned long div_sc(unsigned long ticks, unsigned long nsec, argument 111 do_div(tmp, nsec);
|
H A D | time.h | 71 extern void set_normalized_timespec(struct timespec *ts, time_t sec, long nsec); 151 * @nsec: the nanoseconds value to be converted 153 * Returns the timespec representation of the nsec parameter. 155 extern struct timespec ns_to_timespec(const s64 nsec); 159 * @nsec: the nanoseconds value to be converted 161 * Returns the timeval representation of the nsec parameter. 163 extern struct timeval ns_to_timeval(const s64 nsec);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/ |
H A D | time.c | 312 unsigned long seq,sec,nsec; local 317 nsec = xtime.tv_nsec+time_interpolator_get_offset(); 320 while (unlikely(nsec >= NSEC_PER_SEC)) { 321 nsec -= NSEC_PER_SEC; 325 tv->tv_nsec = nsec; 332 long wtm_nsec, nsec = tv->tv_nsec; local 340 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); 342 set_normalized_timespec(&xtime, sec, nsec); 359 unsigned long seq, nsec, usec, sec, offset; local 364 nsec 451 set_normalized_timespec(struct timespec *ts, time_t sec, long nsec) argument 471 ns_to_timespec(const s64 nsec) argument 492 ns_to_timeval(const s64 nsec) argument 588 long nsec = value->tv_nsec + TICK_NSEC - 1; local 608 u64 nsec = (u64)jiffies * TICK_NSEC; local 647 u64 nsec = (u64)jiffies * TICK_NSEC; local [all...] |
H A D | sched_debug.c | 32 * Ease the printing of nsec fields: 34 static long long nsec_high(long long nsec) argument 36 if (nsec < 0) { 37 nsec = -nsec; 38 do_div(nsec, 1000000); 39 return -nsec; 41 do_div(nsec, 1000000); 43 return nsec; 46 static unsigned long nsec_low(long long nsec) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/security/selinux/ |
H A D | netif.c | 42 struct netif_security_struct nsec; member in struct:sel_netif 68 if (likely(netif->nsec.dev == dev)) 83 idx = sel_netif_hasfn(netif->nsec.dev); 94 DEBUGP("%s: %s\n", __FUNCTION__, netif->nsec.dev->name); 100 DEBUGP("%s: %s\n", __FUNCTION__, netif->nsec.dev->name); 111 struct netif_security_struct *nsec; local 123 nsec = &new->nsec; 125 ret = security_netif_sid(dev->name, &nsec->if_sid, &nsec [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m68k/kernel/ |
H A D | time.c | 135 long wtm_nsec, nsec = tv->tv_nsec; local 147 nsec -= 1000 * mach_gettimeoffset(); 150 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); 152 set_normalized_timespec(&xtime, sec, nsec);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m68knommu/kernel/ |
H A D | time.c | 150 long wtm_nsec, nsec = tv->tv_nsec; local 164 nsec -= (mach_gettimeoffset() * 1000); 167 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); 169 set_normalized_timespec(&xtime, sec, nsec);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/kernel/ |
H A D | time.c | 84 long wtm_nsec, nsec = tv->tv_nsec; local 96 nsec -= get_timer_offset() * NSEC_PER_USEC; 99 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); 101 set_normalized_timespec(&xtime, sec, nsec);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/xtensa/kernel/ |
H A D | time.c | 35 unsigned long ccount_nsec; /* nsec per ccount increment */ 87 long wtm_nsec, nsec = tv->tv_nsec; local 101 nsec -= (ccount - last_ccount_stamp) * CCOUNT_NSEC; 104 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); 106 set_normalized_timespec(&xtime, sec, nsec);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/blackfin/kernel/ |
H A D | time.c | 289 long wtm_nsec, nsec = tv->tv_nsec; local 302 nsec -= (gettimeoffset() * NSEC_PER_USEC); 305 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); 307 set_normalized_timespec(&xtime, sec, nsec);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/cris/kernel/ |
H A D | time.c | 86 long wtm_nsec, nsec = tv->tv_nsec; local 98 nsec -= do_gettimeoffset() * NSEC_PER_USEC; 101 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); 103 set_normalized_timespec(&xtime, sec, nsec);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/dbinc/ |
H A D | clock.h | 96 #define timespecset(vvp, sec, nsec) \ 99 (vvp)->tv_nsec = (long)(nsec); \ 112 /* Add in 1 usec for lost nsec precision if wanted. */ \
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/kernel/ |
H A D | binfmt_elfn32.c | 104 u64 nsec = (u64)jiffies * TICK_NSEC; local 106 value->tv_sec = div_long_long_rem(nsec, NSEC_PER_SEC, &rem);
|
H A D | binfmt_elfo32.c | 106 u64 nsec = (u64)jiffies * TICK_NSEC; local 108 value->tv_sec = div_long_long_rem(nsec, NSEC_PER_SEC, &rem);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/time/ |
H A D | timekeeping.c | 136 long wtm_nsec, nsec = tv->tv_nsec; local 143 nsec -= __get_nsec_offset(); 146 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); 148 set_normalized_timespec(&xtime, sec, nsec); 175 u64 nsec; local 183 nsec = __get_nsec_offset(); 184 timespec_add_ns(&xtime, nsec); 347 * within about 1 sec (or 2^20 nsec in 2^SHIFT_HZ ticks).
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/x86_64/kernel/ |
H A D | vsyscall.c | 133 unsigned long mult, shift, nsec; local 150 nsec = __vsyscall_gtod_data.wall_time_nsec; 156 nsec += (cycle_delta * mult) >> shift; 158 while (nsec >= NSEC_PER_SEC) { 160 nsec -= NSEC_PER_SEC; 162 tv->tv_usec = nsec / NSEC_PER_USEC;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/seq/ |
H A D | seq_timer.h | 29 unsigned long resolution; /* time per tick in nsec */ 30 unsigned long fraction; /* current time per tick in nsec */ 116 static inline void snd_seq_inc_time_nsec(snd_seq_real_time_t *tm, unsigned long nsec) argument 118 tm->tv_nsec += nsec;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m32r/kernel/ |
H A D | time.c | 140 long wtm_nsec, nsec = tv->tv_nsec; local 152 nsec -= do_gettimeoffset() * NSEC_PER_USEC; 155 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); 157 set_normalized_timespec(&xtime, sec, nsec);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/ |
H A D | mmtimer.c | 364 u64 nsec; local 366 nsec = rtc_time() * sgi_clock_period 368 tp->tv_sec = div_long_long_rem(nsec, NSEC_PER_SEC, &tp->tv_nsec) 376 u64 nsec; local 379 nsec = rtc_time() * sgi_clock_period; 381 sgi_clock_offset.tv_sec = tp->tv_sec - div_long_long_rem(nsec, NSEC_PER_SEC, &rem); 535 #define ns_to_timespec(ts, nsec) (ts).tv_sec = div_long_long_rem(nsec, NSEC_PER_SEC, &(ts).tv_nsec)
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/alpha/kernel/ |
H A D | time.c | 456 long wtm_nsec, nsec = tv->tv_nsec; local 478 nsec -= delta_nsec; 481 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); 483 set_normalized_timespec(&xtime, sec, nsec);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/kernel/ |
H A D | time.c | 268 long wtm_nsec, nsec = tv->tv_nsec; local 280 nsec -= system_timer->offset() * NSEC_PER_USEC; 283 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); 285 set_normalized_timespec(&xtime, sec, nsec);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/ocsp/ |
H A D | ocsp_cl.c | 306 * rejecting otherwise valid time we allow the times to be within 'nsec' of the current time. 311 int OCSP_check_validity(ASN1_GENERALIZEDTIME *thisupd, ASN1_GENERALIZEDTIME *nextupd, long nsec, long maxsec) argument 316 /* Check thisUpdate is valid and not more than nsec in the future */ 324 t_tmp = t_now + nsec; 346 /* Check nextUpdate is valid and not more than nsec in the past */ 354 t_tmp = t_now - nsec;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/ocsp/ |
H A D | ocsp_cl.c | 308 * rejecting otherwise valid time we allow the times to be within 'nsec' of the current time. 313 int OCSP_check_validity(ASN1_GENERALIZEDTIME *thisupd, ASN1_GENERALIZEDTIME *nextupd, long nsec, long maxsec) argument 318 /* Check thisUpdate is valid and not more than nsec in the future */ 326 t_tmp = t_now + nsec; 348 /* Check nextUpdate is valid and not more than nsec in the past */ 356 t_tmp = t_now - nsec;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh64/kernel/ |
H A D | time.c | 190 long wtm_nsec, nsec = tv->tv_nsec; local 202 nsec -= 1000 * usecs_since_tick(); 205 wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); 207 set_normalized_timespec(&xtime, sec, nsec);
|