Searched refs:unix_time (Results 1 – 2 of 2) sorted by relevance
897 smb_time_unix_to_nt(timestruc_t *unix_time) in smb_time_unix_to_nt() argument901 if ((unix_time->tv_sec == 0) && (unix_time->tv_nsec == 0)) in smb_time_unix_to_nt()904 nt_time = unix_time->tv_sec; in smb_time_unix_to_nt()906 nt_time += unix_time->tv_nsec / 100; in smb_time_unix_to_nt()911 smb_time_nt_to_unix(uint64_t nt_time, timestruc_t *unix_time) in smb_time_nt_to_unix() argument915 ASSERT(unix_time); in smb_time_nt_to_unix()918 unix_time->tv_sec = 0; in smb_time_nt_to_unix()919 unix_time->tv_nsec = 0; in smb_time_nt_to_unix()930 unix_time->tv_sec = 0; in smb_time_nt_to_unix()931 unix_time->tv_nsec = 100; in smb_time_nt_to_unix()[all …]
717 void smb_time_nt_to_unix(uint64_t nt_time, timestruc_t *unix_time);