Lines Matching +full:little +full:- +full:endian
2 * time.h - NTFS time conversion functions. Part of the Linux-NTFS project.
4 * Copyright (c) 2001-2005 Anton Altaparmakov
17 * along with this program (in the main directory of the Linux-NTFS
19 * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28 #include "endian.h"
33 * utc2ntfs - convert Linux UTC time to NTFS time
37 * that in little endian format.
40 * and a long tv_nsec where tv_sec is the number of 1-second intervals since
41 * 1st January 1970, 00:00:00 UTC and tv_nsec is the number of 1-nano-second
45 * measured as the number of 100-nano-second intervals since 1st January 1601,
51 * Convert the seconds to 100ns intervals, add the nano-seconds in utc2ntfs()
59 * get_current_ntfs_time - get the current time in little endian NTFS format
62 * NTFS time and return that in little endian format.
73 * ntfs2utc - convert NTFS time to Linux time
74 * @time: NTFS time (little endian) to convert to Linux UTC
76 * Convert the little endian NTFS time @time to its corresponding Linux UTC
80 * and a long tv_nsec where tv_sec is the number of 1-second intervals since
81 * 1st January 1970, 00:00:00 UTC and tv_nsec is the number of 1-nano-second
85 * measured as the number of 100 nano-second intervals since 1st January 1601,
93 u64 t = (u64)(sle64_to_cpu(time) - NTFS_TIME_OFFSET); in ntfs2utc()
95 * Convert the time to 1-second intervals and the remainder to in ntfs2utc()
96 * 1-nano-second intervals. in ntfs2utc()