Lines Matching defs:nt_time
1599 uint64_t nt_time;
1604 nt_time = unix_time->tv_sec;
1605 nt_time *= 10000000; /* seconds to 100ns */
1606 nt_time += unix_time->tv_nsec / 100;
1607 return (nt_time + NT_TIME_BIAS);
1611 smb_time_nt_to_unix(uint64_t nt_time, timestruc_t *unix_time)
1617 if ((nt_time == 0) || (nt_time == -1)) {
1623 nt_time -= NT_TIME_BIAS;
1624 seconds = nt_time / 10000000;
1626 unix_time->tv_nsec = (nt_time % 10000000) * 100;