Home
last modified time | relevance | path

Searched refs:NTFS_TIME_OFFSET (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/fs/ntfs/
Dtime.h16 #define NTFS_TIME_OFFSET ((s64)(369 * 365 + 89) * 24 * 3600 * 10000000) macro
41 NTFS_TIME_OFFSET); in utc2ntfs()
79 u64 t = (u64)(sle64_to_cpu(time) - NTFS_TIME_OFFSET); in ntfs2utc()
/linux-6.6.21/fs/smb/server/
Dmisc.h33 #define NTFS_TIME_OFFSET ((u64)(369 * 365 + 89) * 24 * 3600 * 10000000) macro
Dmisc.c346 s64 t = le64_to_cpu(ntutc) - NTFS_TIME_OFFSET; in ksmbd_NTtimeToUnix()
372 return (u64)t.tv_sec * 10000000 + t.tv_nsec / 100 + NTFS_TIME_OFFSET; in ksmbd_UnixTimeToNT()
/linux-6.6.21/fs/smb/client/
Dnetmisc.c921 #define NTFS_TIME_OFFSET ((u64)(369*365 + 89) * 24 * 3600 * 10000000) macro
934 s64 t = le64_to_cpu(ntutc) - NTFS_TIME_OFFSET; in cifs_NTtimeToUnix()
961 return (u64) t.tv_sec * 10000000 + t.tv_nsec/100 + NTFS_TIME_OFFSET; in cifs_UnixTimeToNT()