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()
458 tv.tv_usec = (suseconds_t)ts.tv_nsec / 1000; in ns_to_kernel_old_timeval()
496 ts->tv_nsec = nsec; in set_normalized_timespec64()
513 ts.tv_nsec = rem; in ns_to_timespec64()
521 ts.tv_nsec = NSEC_PER_SEC - rem - 1; in ns_to_timespec64()
591 long nsec = value->tv_nsec + TICK_NSEC - 1; in timespec64_to_jiffies()
614 value->tv_nsec = rem; in jiffies_to_timespec64()
771 lhs.tv_nsec + rhs.tv_nsec); in timespec64_add_safe()
775 res.tv_nsec = 0; in timespec64_add_safe()
795 kts.tv_nsec &= 0xFFFFFFFFUL; in get_timespec64()
798 ts->tv_nsec = kts.tv_nsec; in get_timespec64()
809 .tv_nsec = ts->tv_nsec in put_timespec64()
827 ts64->tv_nsec = ts.tv_nsec; in __get_old_timespec32()
837 .tv_nsec = ts64->tv_nsec in __put_old_timespec32()