Searched refs:tv_nsec (Results 1 – 7 of 7) sorted by relevance
16 long tv_nsec; /* nanoseconds */ member48 return (a->tv_sec == b->tv_sec) && (a->tv_nsec == b->tv_nsec); in timespec_equal()62 return lhs->tv_nsec - rhs->tv_nsec; in timespec_compare()90 lhs.tv_nsec - rhs.tv_nsec); in timespec_sub()98 (((ts)->tv_sec >= 0) && (((unsigned long) (ts)->tv_nsec) < NSEC_PER_SEC))148 return ((s64) ts->tv_sec * NSEC_PER_SEC) + ts->tv_nsec; in timespec_to_ns()190 a->tv_sec += __iter_div_u64_rem(a->tv_nsec + ns, NSEC_PER_SEC, &ns); in timespec_add_ns()191 a->tv_nsec = ns; in timespec_add_ns()
115 return ktime_set(ts.tv_sec, ts.tv_nsec); in timespec_to_ktime()227 .nsec = (s32)ts.tv_nsec } }; in timespec_to_ktime()251 .tv_nsec = (long) kt.tv.nsec }; in ktime_to_timespec()
47 unsigned long tv_nsec; member
229 return lhs->tv_nsec - rhs->tv_nsec; in compat_timespec_compare()
118 long tv_nsec; /* nanoseconds */ member
430 cinfo->before_ctime_nsec = fhp->fh_pre_ctime.tv_nsec; in set_change_info()432 cinfo->after_ctime_nsec = fhp->fh_post_attr.ctime.tv_nsec; in set_change_info()
237 unsigned int tv_nsec; /* nanoseconds */ member