Home
last modified time | relevance | path

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

/openbmc/linux/fs/ntfs/
H A 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()
/openbmc/linux/fs/smb/server/
H A Dmisc.h33 #define NTFS_TIME_OFFSET ((u64)(369 * 365 + 89) * 24 * 3600 * 10000000) macro
H A Dmisc.c347 s64 t = le64_to_cpu(ntutc) - NTFS_TIME_OFFSET; in ksmbd_NTtimeToUnix()
373 return (u64)t.tv_sec * 10000000 + t.tv_nsec / 100 + NTFS_TIME_OFFSET; in ksmbd_UnixTimeToNT()
/openbmc/linux/fs/smb/client/
H A 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()