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

/opensolaris-onvv-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_subr.h135 void smb_time_local2server(struct timespec *tsp, int tzoff, long *seconds);
136 void smb_time_server2local(ulong_t seconds, int tzoff, struct timespec *tsp);
139 void smb_time_unix2dos(struct timespec *tsp, int tzoff, uint16_t *ddp,
141 void smb_dos2unixtime(uint_t dd, uint_t dt, uint_t dh, int tzoff,
H A Dsmb_time.c179 smb_time_local2server(struct timespec *tsp, int tzoff, long *seconds) argument
181 if (tsp->tv_sec <= (tzoff * 60))
184 *seconds = tsp->tv_sec - (tzoff * 60);
188 smb_time_server2local(ulong_t seconds, int tzoff, struct timespec *tsp) argument
193 tsp->tv_sec = seconds + tzoff * 60;
202 smb_time_unix2dos(struct timespec *tsp, int tzoff, u_int16_t *ddp, argument
215 smb_time_local2server(tsp, tzoff, &t);
293 smb_dos2unixtime(uint_t dd, uint_t dt, uint_t dh, int tzoff, argument
338 smb_time_server2local(seconds + lastseconds, tzoff, tsp);
/opensolaris-onvv-gate/usr/src/lib/libsmbfs/smb/
H A Dsubr.c241 smb_time_local2server(struct timeval *tsp, int tzoff, long *seconds) argument
243 *seconds = tsp->tv_sec - tzoff * 60;
247 smb_time_server2local(ulong_t seconds, int tzoff, struct timeval *tsp) argument
249 tsp->tv_sec = seconds + tzoff * 60;
258 smb_time_NT2local(uint64_t nsec, int tzoff, struct timeval *tsp) argument
265 smb_time_local2NT(struct timeval *tsp, int tzoff, uint64_t *nsec) argument
/opensolaris-onvv-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_smb.c974 int error, tzoff; local
980 tzoff = SSTOVC(ssp)->vc_sopt.sv_tz;
987 smb_time_unix2dos(atime, tzoff, &date, &time, NULL);
993 smb_time_unix2dos(mtime, tzoff, &date, &time, NULL);

Completed in 59 milliseconds