tag | line | file | source code |
tv | 188 | arch/alpha/kernel/time.c | void do_gettimeofday(struct timeval *tv) |
tv | 194 | arch/alpha/kernel/time.c | *tv = xtime; |
tv | 198 | arch/alpha/kernel/time.c | void do_settimeofday(struct timeval *tv) |
tv | 201 | arch/alpha/kernel/time.c | xtime = *tv; |
tv | 146 | arch/i386/kernel/time.c | void do_gettimeofday(struct timeval *tv) |
tv | 152 | arch/i386/kernel/time.c | *tv = xtime; |
tv | 153 | arch/i386/kernel/time.c | tv->tv_usec += do_gettimeoffset(); |
tv | 154 | arch/i386/kernel/time.c | if (tv->tv_usec >= 1000000) { |
tv | 155 | arch/i386/kernel/time.c | tv->tv_usec -= 1000000; |
tv | 156 | arch/i386/kernel/time.c | tv->tv_sec++; |
tv | 161 | arch/i386/kernel/time.c | void do_settimeofday(struct timeval *tv) |
tv | 170 | arch/i386/kernel/time.c | tv->tv_usec -= do_gettimeoffset(); |
tv | 172 | arch/i386/kernel/time.c | if (tv->tv_usec < 0) { |
tv | 173 | arch/i386/kernel/time.c | tv->tv_usec += 1000000; |
tv | 174 | arch/i386/kernel/time.c | tv->tv_sec--; |
tv | 177 | arch/i386/kernel/time.c | xtime = *tv; |
tv | 84 | arch/mips/kernel/time.c | void do_gettimeofday(struct timeval *tv) |
tv | 90 | arch/mips/kernel/time.c | *tv = xtime; |
tv | 91 | arch/mips/kernel/time.c | tv->tv_usec += do_gettimeoffset(); |
tv | 92 | arch/mips/kernel/time.c | if (tv->tv_usec >= 1000000) { |
tv | 93 | arch/mips/kernel/time.c | tv->tv_usec -= 1000000; |
tv | 94 | arch/mips/kernel/time.c | tv->tv_sec++; |
tv | 99 | arch/mips/kernel/time.c | void do_settimeofday(struct timeval *tv) |
tv | 108 | arch/mips/kernel/time.c | tv->tv_usec -= do_gettimeoffset(); |
tv | 110 | arch/mips/kernel/time.c | if (tv->tv_usec < 0) { |
tv | 111 | arch/mips/kernel/time.c | tv->tv_usec += 1000000; |
tv | 112 | arch/mips/kernel/time.c | tv->tv_sec--; |
tv | 115 | arch/mips/kernel/time.c | xtime = *tv; |
tv | 260 | arch/sparc/kernel/time.c | void do_gettimeofday(struct timeval *tv) |
tv | 266 | arch/sparc/kernel/time.c | *tv = xtime; |
tv | 270 | arch/sparc/kernel/time.c | void do_settimeofday(struct timeval *tv) |
tv | 273 | arch/sparc/kernel/time.c | xtime = *tv; |
tv | 22 | include/linux/time.h | void do_gettimeofday(struct timeval *tv); |
tv | 23 | include/linux/time.h | void do_settimeofday(struct timeval *tv); |
tv | 178 | include/net/tcp.h | struct timeval tv; |
tv | 179 | include/net/tcp.h | do_gettimeofday(&tv); |
tv | 180 | include/net/tcp.h | return tv.tv_usec+tv.tv_sec*1000000; |
tv | 87 | kernel/time.c | asmlinkage int sys_gettimeofday(struct timeval *tv, struct timezone *tz) |
tv | 91 | kernel/time.c | if (tv) { |
tv | 93 | kernel/time.c | error = verify_area(VERIFY_WRITE, tv, sizeof *tv); |
tv | 97 | kernel/time.c | memcpy_tofs(tv, &ktv, sizeof(ktv)); |
tv | 141 | kernel/time.c | asmlinkage int sys_settimeofday(struct timeval *tv, struct timezone *tz) |
tv | 149 | kernel/time.c | if (tv) { |
tv | 150 | kernel/time.c | int error = verify_area(VERIFY_READ, tv, sizeof(*tv)); |
tv | 153 | kernel/time.c | memcpy_fromfs(&new_tv, tv, sizeof(*tv)); |
tv | 165 | kernel/time.c | if (!tv) |
tv | 169 | kernel/time.c | if (tv) |
tv | 593 | net/ipv4/icmp.c | struct timeval tv; |
tv | 594 | net/ipv4/icmp.c | do_gettimeofday(&tv); |
tv | 595 | net/ipv4/icmp.c | times[1] = htonl((tv.tv_sec % 86400) * 1000 + tv.tv_usec / 1000); |
tv | 223 | net/ipv4/igmp.c | int tv; |
tv | 226 | net/ipv4/igmp.c | tv=random()%(max_resp_time*HZ/IGMP_TIMER_SCALE); /* Pick a number any number 8) */ |
tv | 227 | net/ipv4/igmp.c | im->timer.expires=jiffies+tv; |
tv | 51 | net/ipv4/ip_options.c | struct timeval tv; |
tv | 53 | net/ipv4/ip_options.c | do_gettimeofday(&tv); |
tv | 54 | net/ipv4/ip_options.c | midtime = htonl((tv.tv_sec % 86400) * 1000 + tv.tv_usec / 1000); |
tv | 424 | net/ipv4/ip_options.c | struct timeval tv; |
tv | 426 | net/ipv4/ip_options.c | do_gettimeofday(&tv); |
tv | 427 | net/ipv4/ip_options.c | midtime = htonl((tv.tv_sec % 86400) * 1000 + tv.tv_usec / 1000); |