Home
last modified time | relevance | path

Searched refs:timep (Results 1 – 18 of 18) sorted by relevance

/illumos-gate/usr/src/ucblib/librpcsoc/
H A Drtime.c74 rtime(addrp, timep, timeout) in rtime() argument
76 struct timeval *timep;
148 timep->tv_sec = thetime;
149 timep->tv_usec = 0;
/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dauth_des.c429 struct timeval *timep) in synchronize() argument
436 if (rtime(synconfig, syncaddr, calltype, timep, &timout) < 0) in synchronize()
439 timep->tv_sec -= mytime.tv_sec; in synchronize()
440 if (mytime.tv_usec > timep->tv_usec) { in synchronize()
441 timep->tv_sec -= 1; in synchronize()
442 timep->tv_usec += MILLION; in synchronize()
444 timep->tv_usec -= mytime.tv_usec; in synchronize()
H A Dauthdesubr.c80 struct timeval *timep, struct timeval *wait) in rtime() argument
370 timep->tv_sec = thetime; in rtime()
371 RPCLOG(8, "rtime: timep->tv_sec = %lx\n", timep->tv_sec); in rtime()
373 timep->tv_usec = 0; in rtime()
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Drtime_tli.c69 rtime_tli(char *host, struct timeval *timep, struct timeval *timeout) in rtime_tli() argument
149 timep->tv_sec = thetime - TOFFSET; in rtime_tli()
150 timep->tv_usec = 0; in rtime_tli()
H A Drpcb_clnt.c1221 rpcb_gettime(const char *host, time_t *timep) in rpcb_gettime() argument
1230 (void) time(timep); in rpcb_gettime()
1255 (xdrproc_t)xdr_time_t, (char *)timep, tottimeout); in rpcb_gettime()
1265 (xdrproc_t)xdr_time_t, (char *)timep, in rpcb_gettime()
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_vss.c156 uint64_t *timep; in smbd_vss_get_snapshots() local
204 timep = vss_uint64_date.gd_gmt_array; in smbd_vss_get_snapshots()
210 smbd_vss_time2gmttoken(*timep, *gmttokenp); in smbd_vss_get_snapshots()
214 timep++; in smbd_vss_get_snapshots()
/illumos-gate/usr/src/lib/libpkg/common/
H A Dtputcfent.c50 struct tm *timep; in tputcfent() local
150 timep = localtime(&(ept->cinfo.modtime)); in tputcfent()
153 timep); in tputcfent()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.comsat.c279 time_t timep[2]; in notify() local
388 timep[0] = stb.st_atime; in notify()
389 timep[1] = stb.st_mtime; in notify()
391 utime(name, timep); in notify()
/illumos-gate/usr/src/cmd/fs.d/nfs/umount/
H A Dumount.c246 static struct timeval *timep; in inform_server() local
296 timep = (quick ? &create_timeout : NULL); in inform_server()
298 "datagram_n", timep); in inform_server()
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dpkgops.c358 struct tm *timep; in pkgRemovePackageFromGzonlyList() local
435 timep = localtime(&clock); in pkgRemovePackageFromGzonlyList()
437 (void) strftime(timeb, sizeof (timeb), "%c\n", timep); in pkgRemovePackageFromGzonlyList()
547 struct tm *timep; in pkgAddPackageToGzonlyList() local
628 timep = localtime(&clock); in pkgAddPackageToGzonlyList()
630 (void) strftime(timeb, sizeof (timeb), "%c\n", timep); in pkgAddPackageToGzonlyList()
H A Docfile.c450 struct tm *timep; in swapcfile() local
507 timep = localtime(&clock); in swapcfile()
509 (void) strftime(timeb, sizeof (timeb), "%c\n", timep); in swapcfile()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dlocaltime.c482 gmtime_r(const time_t *timep, struct tm *p_tm) in gmtime_r() argument
484 return (offtime_u((time_t)*timep, 0L, p_tm)); in gmtime_r()
500 gmtime(const time_t *timep) in gmtime() argument
506 return (gmtime_r(timep, p_tm)); in gmtime()
623 localtime_r(const time_t *timep, struct tm *p_tm) in localtime_r() argument
631 unused = ltzset_u(*timep); in localtime_r()
636 return (offtime_u(*timep, 0L, p_tm)); in localtime_r()
643 rt = offtime_u(*timep, offset, p_tm); in localtime_r()
666 localtime(const time_t *timep) in localtime() argument
672 return (localtime_r(timep, p_tm)); in localtime()
/illumos-gate/usr/src/cmd/backup/restore/
H A Ddirs.c43 time_t timep[2]; member
741 utime(cp, (struct utimbuf *)node.timep); in setdirmodes()
861 node.timep[0] = dip->di_atime; in allocinotab()
862 node.timep[1] = dip->di_mtime; in allocinotab()
H A Dtape.c748 time_t timep[2]; in extractfile() local
760 timep[0] = (time_t)curfile.dip->di_atime; in extractfile()
761 timep[1] = (time_t)curfile.dip->di_mtime; in extractfile()
908 if (utime(rname, (struct utimbuf *)timep) < 0 && in extractfile()
989 if (utime(rname, (struct utimbuf *)timep) < 0 && in extractfile()
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_vnops.c713 timestruc_t now, *timep; in pcfs_setattr() local
799 timep = &vap->va_mtime; in pcfs_setattr()
802 timep = &now; in pcfs_setattr()
805 timep->tv_sec > INT32_MAX) { in pcfs_setattr()
809 error = pc_tvtopct(timep, &pcp->pc_entry.pcd_mtime); in pcfs_setattr()
827 timep = &vap->va_atime; in pcfs_setattr()
830 timep = &now; in pcfs_setattr()
833 timep->tv_sec > INT32_MAX) { in pcfs_setattr()
837 error = pc_tvtopct(timep, &atime); in pcfs_setattr()
/illumos-gate/usr/src/cmd/fs.d/ufs/edquota/
H A Dedquota.c636 unfmttime(double value, char *units, uint32_t *timep) in unfmttime() argument
641 *timep = 0; in unfmttime()
651 *timep = (ulong_t)(value * cunits[i].c_secs); in unfmttime()
/illumos-gate/usr/src/cmd/compress/
H A Dcompress.c1584 struct utimbuf timep; in copystat() local
1678 timep.actime = ifstat->st_atime; in copystat()
1679 timep.modtime = ifstat->st_mtime; in copystat()
1681 (void) utime(ofname, &timep); in copystat()
/illumos-gate/usr/src/cmd/zic/
H A Dzic.c132 const char *dayp, const char *timep);
1265 rulesub(rp, loyearp, hiyearp, typep, monthp, dayp, timep) in rulesub() argument
1272 const char * const timep;
1286 dp = ecpyalloc(timep);