Lines Matching refs:tv_nsec
89 tv.tv_nsec = 0; in SYSCALL_DEFINE1()
127 tv.tv_nsec = 0; in SYSCALL_DEFINE1()
148 put_user(ts.tv_nsec / 1000, &tv->tv_usec)) in SYSCALL_DEFINE2()
207 get_user(new_ts.tv_nsec, &tv->tv_usec)) in SYSCALL_DEFINE2()
210 if (new_ts.tv_nsec > USEC_PER_SEC || new_ts.tv_nsec < 0) in SYSCALL_DEFINE2()
213 new_ts.tv_nsec *= NSEC_PER_USEC; in SYSCALL_DEFINE2()
232 put_user(ts.tv_nsec / 1000, &tv->tv_usec)) in COMPAT_SYSCALL_DEFINE2()
251 get_user(new_ts.tv_nsec, &tv->tv_usec)) in COMPAT_SYSCALL_DEFINE2()
254 if (new_ts.tv_nsec > USEC_PER_SEC || new_ts.tv_nsec < 0) in COMPAT_SYSCALL_DEFINE2()
257 new_ts.tv_nsec *= NSEC_PER_USEC; in COMPAT_SYSCALL_DEFINE2()
476 tv.tv_usec = (suseconds_t)ts.tv_nsec / 1000; in ns_to_kernel_old_timeval()
513 ts->tv_nsec = nsec; in set_normalized_timespec64()
530 ts.tv_nsec = rem; in ns_to_timespec64()
538 ts.tv_nsec = NSEC_PER_SEC - rem - 1; in ns_to_timespec64()
620 long nsec = value->tv_nsec + TICK_NSEC - 1; in timespec64_to_jiffies()
648 value->tv_nsec = rem; in jiffies_to_timespec64()
852 lhs.tv_nsec + rhs.tv_nsec); in timespec64_add_safe()
856 res.tv_nsec = 0; in timespec64_add_safe()
885 kts.tv_nsec &= 0xFFFFFFFFUL; in get_timespec64()
888 ts->tv_nsec = kts.tv_nsec; in get_timespec64()
907 .tv_nsec = ts->tv_nsec in put_timespec64()
925 ts64->tv_nsec = ts.tv_nsec; in __get_old_timespec32()
935 .tv_nsec = ts64->tv_nsec in __put_old_timespec32()