tag | line | file | source code |
tv | 140 | arch/alpha/kernel/time.c | void do_gettimeofday(struct timeval *tv) |
tv | 146 | arch/alpha/kernel/time.c | *tv = xtime; |
tv | 150 | arch/alpha/kernel/time.c | void do_settimeofday(struct timeval *tv) |
tv | 153 | arch/alpha/kernel/time.c | xtime = *tv; |
tv | 144 | arch/i386/kernel/time.c | void do_gettimeofday(struct timeval *tv) |
tv | 150 | arch/i386/kernel/time.c | *tv = xtime; |
tv | 151 | arch/i386/kernel/time.c | tv->tv_usec += do_gettimeoffset(); |
tv | 152 | arch/i386/kernel/time.c | if (tv->tv_usec >= 1000000) { |
tv | 153 | arch/i386/kernel/time.c | tv->tv_usec -= 1000000; |
tv | 154 | arch/i386/kernel/time.c | tv->tv_sec++; |
tv | 159 | arch/i386/kernel/time.c | void do_settimeofday(struct timeval *tv) |
tv | 168 | arch/i386/kernel/time.c | tv->tv_usec -= do_gettimeoffset(); |
tv | 170 | arch/i386/kernel/time.c | if (tv->tv_usec < 0) { |
tv | 171 | arch/i386/kernel/time.c | tv->tv_usec += 1000000; |
tv | 172 | arch/i386/kernel/time.c | tv->tv_sec--; |
tv | 175 | 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 | 113 | arch/sparc/kernel/time.c | void do_gettimeofday(struct timeval *tv) |
tv | 119 | arch/sparc/kernel/time.c | *tv = xtime; |
tv | 123 | arch/sparc/kernel/time.c | void do_settimeofday(struct timeval *tv) |
tv | 126 | 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 | 171 | include/net/tcp.h | struct timeval tv; |
tv | 172 | include/net/tcp.h | do_gettimeofday(&tv); |
tv | 173 | 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 | 581 | net/ipv4/icmp.c | struct timeval tv; |
tv | 582 | net/ipv4/icmp.c | do_gettimeofday(&tv); |
tv | 583 | net/ipv4/icmp.c | times[1] = htonl((tv.tv_sec % 86400) * 1000 + tv.tv_usec / 1000); |
tv | 220 | net/ipv4/igmp.c | int tv; |
tv | 223 | net/ipv4/igmp.c | tv=random()%(max_resp_time*HZ/IGMP_TIMER_SCALE); /* Pick a number any number 8) */ |
tv | 224 | 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); |