tag | line | file | source code |
tvp | 75 | arch/i386/kernel/sys_i386.c | struct timeval *tvp; |
tvp | 84 | arch/i386/kernel/sys_i386.c | tvp = (struct timeval *) get_user(buffer+4); |
tvp | 85 | arch/i386/kernel/sys_i386.c | return sys_select(n, inp, outp, exp, tvp); |
tvp | 210 | fs/select.c | asmlinkage int sys_select(int n, fd_set *inp, fd_set *outp, fd_set *exp, struct timeval *tvp) |
tvp | 226 | fs/select.c | if (tvp) { |
tvp | 227 | fs/select.c | i = verify_area(VERIFY_WRITE, tvp, sizeof(*tvp)); |
tvp | 230 | fs/select.c | timeout = ROUND_UP(get_user(&tvp->tv_usec),(1000000/HZ)); |
tvp | 231 | fs/select.c | timeout += get_user(&tvp->tv_sec) * (unsigned long) HZ; |
tvp | 241 | fs/select.c | if (tvp && !(current->personality & STICKY_TIMEOUTS)) { |
tvp | 242 | fs/select.c | put_user(timeout/HZ, &tvp->tv_sec); |
tvp | 245 | fs/select.c | put_user(timeout, &tvp->tv_usec); |