Lines Matching refs:ts
198 void fat_time_fat2unix(struct msdos_sb_info *sbi, struct timespec64 *ts, in fat_time_fat2unix() argument
225 ts->tv_sec = second + (time_cs / 100); in fat_time_fat2unix()
226 ts->tv_nsec = (time_cs % 100) * 10000000; in fat_time_fat2unix()
228 ts->tv_sec = second; in fat_time_fat2unix()
229 ts->tv_nsec = 0; in fat_time_fat2unix()
234 void fat_time_unix2fat(struct msdos_sb_info *sbi, struct timespec64 *ts, in fat_time_unix2fat() argument
238 time64_to_tm(ts->tv_sec, -fat_tz_offset(sbi), &tm); in fat_time_unix2fat()
266 *time_cs = (ts->tv_sec & 1) * 100 + ts->tv_nsec / 10000000; in fat_time_unix2fat()
270 static inline struct timespec64 fat_timespec64_trunc_2secs(struct timespec64 ts) in fat_timespec64_trunc_2secs() argument
272 return (struct timespec64){ ts.tv_sec & ~1ULL, 0 }; in fat_timespec64_trunc_2secs()
288 struct timespec64 ts; in fat_truncate_time() local
294 now = &ts; in fat_truncate_time()
295 ts = current_time(inode); in fat_truncate_time()