Home
last modified time | relevance | path

Searched refs:rts (Results 1 – 2 of 2) sorted by relevance

/fs/
Dselect.c292 struct timespec rts; in poll_select_copy_remaining() local
305 ktime_get_ts(&rts); in poll_select_copy_remaining()
306 rts = timespec_sub(*end_time, rts); in poll_select_copy_remaining()
307 if (rts.tv_sec < 0) in poll_select_copy_remaining()
308 rts.tv_sec = rts.tv_nsec = 0; in poll_select_copy_remaining()
313 rtv.tv_sec = rts.tv_sec; in poll_select_copy_remaining()
314 rtv.tv_usec = rts.tv_nsec / NSEC_PER_USEC; in poll_select_copy_remaining()
319 } else if (!copy_to_user(p, &rts, sizeof(rts))) in poll_select_copy_remaining()
Dcompat.c1342 struct compat_timespec rts; in poll_select_copy_remaining() local
1344 rts.tv_sec = ts.tv_sec; in poll_select_copy_remaining()
1345 rts.tv_nsec = ts.tv_nsec; in poll_select_copy_remaining()
1347 if (!copy_to_user(p, &rts, sizeof(rts))) in poll_select_copy_remaining()