Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_time.c179 smb_time_local2server(struct timespec *tsp, int tzoff, long *seconds) in smb_time_local2server() argument
181 if (tsp->tv_sec <= (tzoff * 60)) in smb_time_local2server()
184 *seconds = tsp->tv_sec - (tzoff * 60); in smb_time_local2server()
188 smb_time_server2local(ulong_t seconds, int tzoff, struct timespec *tsp) in smb_time_server2local() argument
193 tsp->tv_sec = seconds + tzoff * 60; in smb_time_server2local()
202 smb_time_unix2dos(struct timespec *tsp, int tzoff, u_int16_t *ddp, in smb_time_unix2dos() argument
215 smb_time_local2server(tsp, tzoff, &t); in smb_time_unix2dos()
293 smb_dos2unixtime(uint_t dd, uint_t dt, uint_t dh, int tzoff, in smb_dos2unixtime() argument
338 smb_time_server2local(seconds + lastseconds, tzoff, tsp); in smb_dos2unixtime()
H A Dsmb_subr.h191 void smb_time_local2server(struct timespec *tsp, int tzoff, long *seconds);
192 void smb_time_server2local(ulong_t seconds, int tzoff, struct timespec *tsp);
195 void smb_time_unix2dos(struct timespec *tsp, int tzoff, uint16_t *ddp,
197 void smb_dos2unixtime(uint_t dd, uint_t dt, uint_t dh, int tzoff,
/titanic_44/usr/src/lib/libsmbfs/smb/
H A Dsubr.c241 smb_time_local2server(struct timeval *tsp, int tzoff, long *seconds) in smb_time_local2server() argument
243 *seconds = tsp->tv_sec - tzoff * 60; in smb_time_local2server()
247 smb_time_server2local(ulong_t seconds, int tzoff, struct timeval *tsp) in smb_time_server2local() argument
249 tsp->tv_sec = seconds + tzoff * 60; in smb_time_server2local()
258 smb_time_NT2local(uint64_t nsec, int tzoff, struct timeval *tsp) in smb_time_NT2local() argument
265 smb_time_local2NT(struct timeval *tsp, int tzoff, uint64_t *nsec) in smb_time_local2NT() argument
/titanic_44/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_smb.c975 int error, tzoff; in smbfs_smb_setftime1() local
981 tzoff = SSTOVC(ssp)->vc_sopt.sv_tz; in smbfs_smb_setftime1()
988 smb_time_unix2dos(atime, tzoff, &date, &time, NULL); in smbfs_smb_setftime1()
994 smb_time_unix2dos(mtime, tzoff, &date, &time, NULL); in smbfs_smb_setftime1()