/asus-wl-520gu-7.0.1.45/src/router/samba/source/smbwrapper/ |
H A D | realcalls.c | 27 struct timeval tv[2]; local 29 tv[0].tv_sec = buf->actime; 30 tv[0].tv_usec = 0; 31 tv[1].tv_sec = buf->modtime; 32 tv[1].tv_usec = 0; 34 return real_utimes(name, &tv[0]); 39 int real_utimes(const char *name, struct timeval tv[2]) argument 43 buf.actime = tv[0].tv_sec; 44 buf.modtime = tv[1].tv_sec;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sh/kernel/ |
H A D | rtc-aica.c | 27 * @tv: pointer to resulting timeval 31 void aica_rtc_gettimeofday(struct timeval *tv) { argument 42 tv->tv_sec = val1 - TWENTY_YEARS; 45 tv->tv_usec = 0; 50 * @tv: contains the timeval to set 52 * Adjusts the given @tv to the AICA Epoch and sets the RTC seconds counter. 54 int aica_rtc_settimeofday(const struct timeval *tv) { argument 56 unsigned long secs = tv->tv_sec + TWENTY_YEARS;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/galileo-boards/ev96100/ |
H A D | time.c | 192 void do_gettimeofday(struct timeval *tv) argument 197 *tv = xtime; 198 tv->tv_usec += do_fast_gettimeoffset(); 205 tv->tv_usec += USECS_PER_JIFFY; 209 if (tv->tv_usec >= 1000000) { 210 tv->tv_usec -= 1000000; 211 tv->tv_sec++; 215 void do_settimeofday(struct timeval *tv) argument 224 tv->tv_usec -= do_fast_gettimeoffset(); 226 if (tv [all...] |
/asus-wl-520gu-7.0.1.45/src/router/bridge/libbridge/ |
H A D | libbridge_misc.c | 28 unsigned long __tv_to_jiffies(struct timeval *tv) argument 32 jif = 1000000 * tv->tv_sec + tv->tv_usec; 37 void __jiffies_to_tv(struct timeval *tv, unsigned long jiffies) argument 42 tv->tv_sec = tvusec/1000000; 43 tv->tv_usec = tvusec - 1000000 * tv->tv_sec;
|
H A D | libbridge_private.h | 28 unsigned long __tv_to_jiffies(struct timeval *tv); 29 void __jiffies_to_tv(struct timeval *tv, unsigned long jiffies);
|
H A D | libbridge_devif.c | 63 int br_set_bridge_forward_delay(struct bridge *br, struct timeval *tv) argument 65 unsigned long jif = __tv_to_jiffies(tv); 74 int br_set_bridge_hello_time(struct bridge *br, struct timeval *tv) argument 76 unsigned long jif = __tv_to_jiffies(tv); 84 int br_set_bridge_max_age(struct bridge *br, struct timeval *tv) argument 86 unsigned long jif = __tv_to_jiffies(tv); 94 int br_set_ageing_time(struct bridge *br, struct timeval *tv) argument 96 unsigned long jif = __tv_to_jiffies(tv); 104 int br_set_gc_interval(struct bridge *br, struct timeval *tv) argument 106 unsigned long jif = __tv_to_jiffies(tv); [all...] |
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/lib/uuid/ |
H A D | uuid_time.c | 50 struct timeval tv; local 59 tv.tv_sec = clock_reg / 10000000; 60 tv.tv_usec = (clock_reg % 10000000) / 10; 63 *ret_tv = tv; 65 return tv.tv_sec; 114 struct timeval tv; local 127 time_reg = uuid_time(buf, &tv); 156 printf("UUID time is: (%ld, %ld): %s\n", tv.tv_sec, tv.tv_usec,
|
H A D | tst_uuid.c | 62 struct timeval tv; local 125 tv.tv_sec = 0; 126 tv.tv_usec = 0; 127 time_reg = uuid_time(buf, &tv); 128 printf("UUID time is: (%ld, %ld): %s\n", tv.tv_sec, tv.tv_usec,
|
/asus-wl-520gu-7.0.1.45/src/router/library/uuid/ |
H A D | uuid_time.c | 27 struct timeval tv; local 36 tv.tv_sec = clock_reg / 10000000; 37 tv.tv_usec = (clock_reg % 10000000) / 10; 40 *ret_tv = tv; 42 return tv.tv_sec; 91 struct timeval tv; local 104 time_reg = uuid_time(buf, &tv); 133 printf("UUID time is: (%ld, %ld): %s\n", tv.tv_sec, tv.tv_usec,
|
H A D | gen_uuid.c | 56 struct timeval tv; local 61 gettimeofday(&tv, 0); 65 srand((getpid() << 16) ^ getuid() ^ tv.tv_sec ^ tv.tv_usec); 68 gettimeofday(&tv, 0); 69 for (i = (tv.tv_sec ^ tv.tv_usec) & 0x1F; i > 0; i--) 191 struct timeval tv; local 195 gettimeofday(&tv, 0); 199 last = tv; [all...] |
H A D | tst_uuid.c | 38 struct timeval tv; local 101 tv.tv_sec = 0; 102 tv.tv_usec = 0; 103 time_reg = uuid_time(buf, &tv); 104 printf("UUID time is: (%ld, %ld): %s\n", tv.tv_sec, tv.tv_usec,
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/x86_64/kernel/ |
H A D | vsyscall.c | 57 static inline void do_vgettimeofday(struct timeval * tv) argument 75 tv->tv_sec = sec + usec / 1000000; 76 tv->tv_usec = usec % 1000000; 93 static long __vsyscall(0) vgettimeofday(struct timeval * tv, struct timezone * tz) argument 95 if (tv) do_vgettimeofday(tv); 104 static long __vsyscall(0) vgettimeofday(struct timeval * tv, struct timezone * tz) argument 109 : "0" (__NR_gettimeofday), "D" (tv), "S" (tz) 118 struct timeval tv; local 119 vgettimeofday(&tv, NUL [all...] |
/asus-wl-520gu-7.0.1.45/src/router/bridge/brctl/ |
H A D | brctl_cmd.c | 129 struct timeval tv; local 132 tv.tv_sec = secs; 133 tv.tv_usec = 1000000 * (secs - tv.tv_sec); 134 br_set_ageing_time(br, &tv); 148 struct timeval tv; local 151 tv.tv_sec = secs; 152 tv.tv_usec = 1000000 * (secs - tv.tv_sec); 153 br_set_bridge_forward_delay(br, &tv); 159 struct timeval tv; local 170 struct timeval tv; local 181 struct timeval tv; local [all...] |
H A D | brctl.h | 33 void br_show_timer(struct timeval *tv);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/arm/kernel/ |
H A D | time.c | 152 void do_gettimeofday(struct timeval *tv) argument 175 tv->tv_sec = sec; 176 tv->tv_usec = usec; 179 void do_settimeofday(struct timeval *tv) argument 188 tv->tv_usec -= gettimeoffset(); 189 tv->tv_usec -= (jiffies - wall_jiffies) * USECS_PER_JIFFY; 191 while (tv->tv_usec < 0) { 192 tv->tv_usec += 1000000; 193 tv->tv_sec--; 196 xtime = *tv; [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/s390/kernel/ |
H A D | time.c | 96 void do_gettimeofday(struct timeval *tv) argument 111 tv->tv_sec = sec; 112 tv->tv_usec = usec; 115 void do_settimeofday(struct timeval *tv) argument 125 tv->tv_usec -= do_gettimeoffset(); 127 while (tv->tv_usec < 0) { 128 tv->tv_usec += 1000000; 129 tv->tv_sec--; 132 xtime = *tv;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/s390x/kernel/ |
H A D | time.c | 69 void do_gettimeofday(struct timeval *tv) argument 84 tv->tv_sec = sec; 85 tv->tv_usec = usec; 88 void do_settimeofday(struct timeval *tv) argument 98 tv->tv_usec -= do_gettimeoffset(); 100 while (tv->tv_usec < 0) { 101 tv->tv_usec += 1000000; 102 tv->tv_sec--; 105 xtime = *tv;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/kernel/ |
H A D | time.c | 127 void do_gettimeofday(struct timeval *tv) argument 147 tv->tv_sec = sec; 148 tv->tv_usec = usec; 151 void do_settimeofday(struct timeval *tv) argument 160 tv->tv_usec -= mach_gettimeoffset(); 162 while (tv->tv_usec < 0) { 163 tv->tv_usec += 1000000; 164 tv->tv_sec--; 167 xtime = *tv;
|
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-sparc/ |
H A D | timer.h | 106 BTFIXUPDEF_CALL(void, bus_do_settimeofday, struct timeval *tv) 107 #define bus_do_settimeofday(tv) BTFIXUP_CALL(bus_do_settimeofday)(tv)
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-sparc/ |
H A D | timer.h | 106 BTFIXUPDEF_CALL(void, bus_do_settimeofday, struct timeval *tv) 107 #define bus_do_settimeofday(tv) BTFIXUP_CALL(bus_do_settimeofday)(tv)
|
/asus-wl-520gu-7.0.1.45/src/router/dnsmasq/ |
H A D | dnsr_vx.h | 45 int gettimeofday(struct timeval *tv, struct timezone *tz); 46 int settimeofday(const struct timeval *tv , const struct timezone *tz);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/baget/ |
H A D | time.c | 80 void do_gettimeofday(struct timeval *tv) argument 85 *tv = xtime; 89 void do_settimeofday(struct timeval *tv) argument 92 xtime = *tv;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/parisc/kernel/ |
H A D | time.c | 154 do_gettimeofday (struct timeval *tv) argument 172 tv->tv_sec = sec; 173 tv->tv_usec = usec; 177 do_settimeofday (struct timeval *tv) argument 188 tv->tv_usec -= gettimeoffset(); 189 tv->tv_usec -= (jiffies - wall_jiffies) * (1000000 / HZ); 191 while (tv->tv_usec < 0) { 192 tv->tv_usec += 1000000; 193 tv->tv_sec--; 196 xtime = *tv; [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/dec/ |
H A D | time.c | 206 void do_gettimeofday(struct timeval *tv) argument 211 *tv = xtime; 212 tv->tv_usec += do_gettimeoffset(); 219 tv->tv_usec += USECS_PER_JIFFY; 223 if (tv->tv_usec >= 1000000) { 224 tv->tv_usec -= 1000000; 225 tv->tv_sec++; 229 void do_settimeofday(struct timeval *tv) argument 239 tv->tv_usec -= do_gettimeoffset(); 241 if (tv [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/kernel/ |
H A D | old-time.c | 215 void do_gettimeofday(struct timeval *tv) argument 220 *tv = xtime; 221 tv->tv_usec += do_gettimeoffset(); 228 tv->tv_usec += USECS_PER_JIFFY; 232 if (tv->tv_usec >= 1000000) { 233 tv->tv_usec -= 1000000; 234 tv->tv_sec++; 238 void do_settimeofday(struct timeval *tv) argument 248 tv->tv_usec -= do_gettimeoffset(); 250 if (tv [all...] |