tag | line | file | source code |
tv | 17 | include/linux/time.h | void do_gettimeofday(struct timeval *tv); |
tv | 217 | kernel/time.c | void do_gettimeofday(struct timeval *tv) |
tv | 223 | kernel/time.c | *tv = xtime; |
tv | 225 | kernel/time.c | tv->tv_usec += do_gettimeoffset(); |
tv | 226 | kernel/time.c | if (tv->tv_usec >= 1000000) { |
tv | 227 | kernel/time.c | tv->tv_usec -= 1000000; |
tv | 228 | kernel/time.c | tv->tv_sec++; |
tv | 234 | kernel/time.c | asmlinkage int sys_gettimeofday(struct timeval *tv, struct timezone *tz) |
tv | 238 | kernel/time.c | if (tv) { |
tv | 240 | kernel/time.c | error = verify_area(VERIFY_WRITE, tv, sizeof *tv); |
tv | 244 | kernel/time.c | memcpy_tofs(tv, &ktv, sizeof(ktv)); |
tv | 288 | kernel/time.c | asmlinkage int sys_settimeofday(struct timeval *tv, struct timezone *tz) |
tv | 296 | kernel/time.c | if (tv) { |
tv | 297 | kernel/time.c | int error = verify_area(VERIFY_READ, tv, sizeof(*tv)); |
tv | 300 | kernel/time.c | memcpy_fromfs(&new_tv, tv, sizeof(*tv)); |
tv | 312 | kernel/time.c | if (!tv) |
tv | 316 | kernel/time.c | if (tv) { |
tv | 68 | net/ipv4/igmp.c | int tv; |
tv | 71 | net/ipv4/igmp.c | tv=random()%(10*HZ); /* Pick a number any number 8) */ |
tv | 72 | net/ipv4/igmp.c | im->timer.expires=tv; |
tv | 2619 | net/ipv4/tcp.c | struct timeval tv; |
tv | 2620 | net/ipv4/tcp.c | do_gettimeofday(&tv); |
tv | 2621 | net/ipv4/tcp.c | return tv.tv_usec+tv.tv_sec*1000000; |