Lines Matching full:tsp
52 smb_time_local2server(struct timespec *tsp, int tzoff, u_long *seconds) in smb_time_local2server() argument
54 *seconds = tsp->tv_sec - tzoff * 60 /*- tz_minuteswest * 60 - in smb_time_local2server()
59 smb_time_server2local(u_long seconds, int tzoff, struct timespec *tsp) in smb_time_server2local() argument
61 tsp->tv_sec = seconds + tzoff * 60; in smb_time_server2local()
73 smb_time_NT2local(int64_t nsec, int tzoff, struct timespec *tsp) in smb_time_NT2local() argument
75 smb_time_server2local(nsec / 10000000 - DIFF1970TO1601, 0, tsp); in smb_time_NT2local()
79 smb_time_local2NT(struct timespec *tsp, int tzoff, int64_t *nsec) in smb_time_local2NT() argument
83 smb_time_local2server(tsp, 0, &seconds); in smb_time_local2NT()
88 smb_time_unix2dos(struct timespec *tsp, int tzoff, u_int16_t *ddp, in smb_time_unix2dos() argument
94 tt = *tsp; in smb_time_unix2dos()
95 smb_time_local2server(tsp, tzoff, &t); in smb_time_unix2dos()
102 struct timespec *tsp) in smb_dos2unixtime() argument
105 fattime2timespec(dd, dt, dh, 1, tsp); in smb_dos2unixtime()
106 smb_time_server2local(tsp->tv_sec, tzoff, tsp); in smb_dos2unixtime()