tag | line | file | source code |
tv | 200 | kernel/time.c | void do_gettimeofday(struct timeval *tv) |
tv | 207 | kernel/time.c | *tv = xtime; |
tv | 208 | kernel/time.c | tv->tv_usec += do_gettimeoffset(); |
tv | 209 | kernel/time.c | if (tv->tv_usec >= 1000000) { |
tv | 210 | kernel/time.c | tv->tv_usec -= 1000000; |
tv | 211 | kernel/time.c | tv->tv_sec++; |
tv | 214 | kernel/time.c | *tv = xtime; |
tv | 219 | kernel/time.c | asmlinkage int sys_gettimeofday(struct timeval *tv, struct timezone *tz) |
tv | 223 | kernel/time.c | if (tv) { |
tv | 225 | kernel/time.c | error = verify_area(VERIFY_WRITE, tv, sizeof *tv); |
tv | 229 | kernel/time.c | put_fs_long(ktv.tv_sec, (unsigned long *) &tv->tv_sec); |
tv | 230 | kernel/time.c | put_fs_long(ktv.tv_usec, (unsigned long *) &tv->tv_usec); |
tv | 274 | kernel/time.c | asmlinkage int sys_settimeofday(struct timeval *tv, struct timezone *tz) |
tv | 282 | kernel/time.c | if (tv) { |
tv | 283 | kernel/time.c | int error = verify_area(VERIFY_READ, tv, sizeof(*tv)); |
tv | 286 | kernel/time.c | memcpy_fromfs(&new_tv, tv, sizeof(*tv)); |
tv | 298 | kernel/time.c | if (!tv) |
tv | 302 | 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; |