Lines Matching refs:ts
50 * @ts: OS X UTC time to convert to NTFS (little endian) time
52 * Convert the OS X UTC time @ts to its corresponding NTFS time and return that
64 static inline sle64 utc2ntfs(const struct timespec ts)
70 return cpu_to_sle64((s64)ts.tv_sec * 10000000 + ts.tv_nsec / 100 +
82 struct timespec ts;
84 nanotime(&ts);
86 ts.tv_nsec -= ts.tv_nsec % 100;
87 return ts;
98 struct timespec ts;
100 nanotime(&ts);
101 return utc2ntfs(ts);
129 struct timespec ts;
137 ts.tv_sec = t / 10000000;
138 ts.tv_nsec = (t % 10000000) * 100;
139 return ts;