tag | line | file | source code |
tv | 17 | include/linux/time.h | void do_gettimeofday(struct timeval *tv); |
tv | 211 | kernel/time.c | void do_gettimeofday(struct timeval *tv) |
tv | 217 | kernel/time.c | *tv = xtime; |
tv | 219 | kernel/time.c | tv->tv_usec += do_gettimeoffset(); |
tv | 220 | kernel/time.c | if (tv->tv_usec >= 1000000) { |
tv | 221 | kernel/time.c | tv->tv_usec -= 1000000; |
tv | 222 | kernel/time.c | tv->tv_sec++; |
tv | 228 | kernel/time.c | asmlinkage int sys_gettimeofday(struct timeval *tv, struct timezone *tz) |
tv | 232 | kernel/time.c | if (tv) { |
tv | 234 | kernel/time.c | error = verify_area(VERIFY_WRITE, tv, sizeof *tv); |
tv | 238 | kernel/time.c | put_fs_long(ktv.tv_sec, (unsigned long *) &tv->tv_sec); |
tv | 239 | kernel/time.c | put_fs_long(ktv.tv_usec, (unsigned long *) &tv->tv_usec); |
tv | 284 | kernel/time.c | asmlinkage int sys_settimeofday(struct timeval *tv, struct timezone *tz) |
tv | 292 | kernel/time.c | if (tv) { |
tv | 293 | kernel/time.c | int error = verify_area(VERIFY_READ, tv, sizeof(*tv)); |
tv | 296 | kernel/time.c | memcpy_fromfs(&new_tv, tv, sizeof(*tv)); |
tv | 308 | kernel/time.c | if (!tv) |
tv | 312 | kernel/time.c | if (tv) { |
tv | 61 | net/inet/igmp.c | int tv; |
tv | 64 | net/inet/igmp.c | tv=random()%(10*HZ); /* Pick a number any number 8) */ |
tv | 65 | net/inet/igmp.c | im->timer.expires=tv; |
tv | 2660 | net/inet/tcp.c | struct timeval tv; |
tv | 2661 | net/inet/tcp.c | do_gettimeofday(&tv); |
tv | 2662 | net/inet/tcp.c | return tv.tv_usec+tv.tv_sec*1000000; |