Lines Matching defs:ts
20 * @ts: Linux UTC time to convert to NTFS time
22 * Convert the Linux UTC time @ts to its corresponding NTFS time and return
34 static inline sle64 utc2ntfs(const struct timespec64 ts)
40 return cpu_to_sle64((s64)ts.tv_sec * 10000000 + ts.tv_nsec / 100 +
52 struct timespec64 ts;
54 ktime_get_coarse_real_ts64(&ts);
55 return utc2ntfs(ts);
76 struct timespec64 ts;
84 ts.tv_nsec = do_div(t, 10000000) * 100;
85 ts.tv_sec = t;
86 return ts;