tag | line | file | source code |
tvp | 209 | fs/select.c | struct timeval *tvp; |
tvp | 223 | fs/select.c | tvp = (struct timeval *) get_fs_long(buffer); |
tvp | 228 | fs/select.c | if (tvp) { |
tvp | 229 | fs/select.c | i = verify_area(VERIFY_WRITE, tvp, sizeof(*tvp)); |
tvp | 232 | fs/select.c | timeout = ROUND_UP(get_fs_long((unsigned long *)&tvp->tv_usec),(1000000/HZ)); |
tvp | 233 | fs/select.c | timeout += get_fs_long((unsigned long *)&tvp->tv_sec) * HZ; |
tvp | 244 | fs/select.c | if (tvp && !(current->personality & STICKY_TIMEOUTS)) { |
tvp | 245 | fs/select.c | put_fs_long(timeout/HZ, (unsigned long *) &tvp->tv_sec); |
tvp | 248 | fs/select.c | put_fs_long(timeout, (unsigned long *) &tvp->tv_usec); |