tag | line | file | source code |
tv | 17 | include/linux/time.h | void do_gettimeofday(struct timeval *tv); |
tv | 216 | kernel/time.c | void do_gettimeofday(struct timeval *tv) |
tv | 222 | kernel/time.c | *tv = xtime; |
tv | 224 | kernel/time.c | tv->tv_usec += do_gettimeoffset(); |
tv | 225 | kernel/time.c | if (tv->tv_usec >= 1000000) { |
tv | 226 | kernel/time.c | tv->tv_usec -= 1000000; |
tv | 227 | kernel/time.c | tv->tv_sec++; |
tv | 233 | kernel/time.c | asmlinkage int sys_gettimeofday(struct timeval *tv, struct timezone *tz) |
tv | 237 | kernel/time.c | if (tv) { |
tv | 239 | kernel/time.c | error = verify_area(VERIFY_WRITE, tv, sizeof *tv); |
tv | 243 | kernel/time.c | memcpy_tofs(tv, &ktv, sizeof(ktv)); |
tv | 287 | kernel/time.c | asmlinkage int sys_settimeofday(struct timeval *tv, struct timezone *tz) |
tv | 295 | kernel/time.c | if (tv) { |
tv | 296 | kernel/time.c | int error = verify_area(VERIFY_READ, tv, sizeof(*tv)); |
tv | 299 | kernel/time.c | memcpy_fromfs(&new_tv, tv, sizeof(*tv)); |
tv | 311 | kernel/time.c | if (!tv) |
tv | 315 | kernel/time.c | if (tv) { |
tv | 82 | net/ipv4/igmp.c | int tv; |
tv | 85 | net/ipv4/igmp.c | tv=random()%(10*HZ); /* Pick a number any number 8) */ |
tv | 86 | net/ipv4/igmp.c | im->timer.expires=jiffies+tv; |
tv | 2856 | net/ipv4/tcp.c | struct timeval tv; |
tv | 2857 | net/ipv4/tcp.c | do_gettimeofday(&tv); |
tv | 2858 | net/ipv4/tcp.c | return tv.tv_usec+tv.tv_sec*1000000; |