Searched defs:secs (Results 1 - 25 of 46) sorted by relevance

12

/illumos-gate/usr/src/lib/libresolv2/common/sunw/
H A Dsunw_wrappers.c20 char *p_secstodate(uint_t secs) { argument
21 return (isc_p_secstodate((ulong_t)secs));
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dalarm.c35 alarm(unsigned int secs) argument
41 itp->it_value.tv_sec = secs;
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/
H A Dtime.c41 int secs; local
43 secs = ub_get_timer(0) / 1000;
45 *tloc = secs;
47 return (secs);
/illumos-gate/usr/src/stand/lib/sa/
H A Dunistd.c72 sleep(unsigned int secs) argument
74 uint_t end = (secs * 1000) + prom_gettime();
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/
H A Dofw_time.c36 int secs; local
38 secs = OF_milliseconds() / 1000;
40 *tloc = secs;
41 return secs;
/illumos-gate/usr/src/boot/sys/boot/i386/common/
H A Dcons.c99 keyhit(unsigned int secs) argument
105 secs *= SECOND;
110 if (secs > 0) {
114 if (t1 < t0 || t1 >= t0 + secs)
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_ttl.c54 int secs, mins, hours, days, weeks, x; local
57 secs = src % 60; src /= 60;
80 if (secs || !(weeks || days || hours || mins)) {
81 T(fmt1(secs, 'S', &dst, &dstlen));
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dmisc.c57 void sleep(int secs) argument
61 for (tmo = currticks()+secs*TICKS_PER_SEC; currticks() < tmo; ) {
69 void interruptible_sleep(int secs) argument
72 return sleep(secs);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Deloop.c91 eloop_register_timeout(unsigned int secs, unsigned int usecs, argument
101 timeout->time.tv_sec += secs;
/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_cmds.c136 inj_cmd_sleep(uint_t secs) argument
141 cmd->cmd_num = secs;
/illumos-gate/usr/src/lib/libresolv/
H A Dres_debug.c489 int secs, mins, hours; local
493 strcpy(nbuf, "0 secs");
497 secs = value % 60;
522 if (secs || ! (value || hours || mins)) {
525 (void) sprintf(p, "%d sec%s", PLURALIZE(secs));
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dsyncloop.c418 float secs, speed; local
540 secs = (float)(end_time.tv_usec - start_time.tv_usec) / 1000000.0;
541 secs += (float)(end_time.tv_sec - start_time.tv_sec);
542 if (secs) {
543 speed = 8 * incount * (4 + reclen) / secs;
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_log.c149 time_t secs; local
151 secs = time(NULL);
152 (void) localtime_r(&secs, &tm);
/illumos-gate/usr/src/cmd/auditreduce/
H A Dproc.c384 time_t secs; local
421 secs = (time_t)s;
434 secs = (time_t)s;
445 secs = 0;
447 secs = (time_t)s;
449 secs = (time_t)s;
466 secs = 0;
468 secs = (time_t)s;
470 secs = (time_t)s;
490 (pcb->pcb_cur)->fcb_start = secs;
711 int32_t secs, msecs; local
717 int32_t secs, msecs; local
728 int64_t secs, msecs; local
747 int64_t secs, msecs; local
891 int32_t secs, msecs; local
895 int64_t secs, msecs; local
1005 int32_t secs, msecs; local
1024 int64_t secs, msecs; local
[all...]
H A Dtime.c92 time_t secs, gsecs, lsecs, save_gsecs; local
100 r1secs = secs = tm_to_secs(tme);
101 (void) memcpy((void *)&gtime, (void *)gmtime(&secs), sizeof (gtime));
102 (void) memcpy((void *)&ltime, (void *)localtime(&secs), sizeof (ltime));
110 secs = lsecs - gsecs;
111 gsecs -= secs;
/illumos-gate/usr/src/cmd/bnu/
H A Dct.c729 secs; local
738 secs = _Log_elpsd % 60;
745 (void) fprintf(fp, ":%.2d %s\n", secs, num);
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf.c232 int secs; local
271 secs = 60;
274 secs > 0) {
277 secs--;
/illumos-gate/usr/src/uts/sun4v/sys/
H A Derror.h134 uint16_t secs; /* Seconds */ member in struct:__anon10334
/illumos-gate/usr/src/cmd/logadm/
H A Dkw.c31 * any time-based expansions, like $secs, or all the strftime()
77 static char secs[MAXDIGITS]; local
124 (void) snprintf(secs, MAXDIGITS, "%d", (int)Now);
125 Keywords = lut_add(Keywords, "secs", secs);
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_msg.c608 uint32_t secs; local
617 secs = entry->time / 100;
658 secs, hsecs, entry->id, entry->fileno,
664 "%8d.%02d: %6d:[%2X.%04X]%s:%7s:%4d: %s\n", secs,
672 secs, hsecs, entry->id, entry->fileno,
678 secs, hsecs, entry->id, entry->fileno,
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_main.c875 time_t secs; local
895 secs = time(0);
896 (void) localtime_r(&secs, &local_tm);
/illumos-gate/usr/src/lib/libpicl/
H A Dpicl.c302 picl_wait(unsigned int secs) argument
311 req_wait.secs = secs;
/illumos-gate/usr/src/cmd/dd/
H A Ddd.c1894 double secs = delta * 1e-9; local
1911 gettext("%llu bytes transferred in %.6f secs (%.0f bytes/sec)\n"),
1912 obytes, secs, obytes / secs);
/illumos-gate/usr/src/uts/common/disp/
H A Drt.c639 uint_t secs = 0; local
674 secs = (uint_t)vpp->pc_parm;
707 if ((secs == 0 && nsecs == 0) || nsecs >= NANOSEC)
711 if ((ticks = SEC_TO_TICK((longlong_t)secs) +
770 uint_t secs; local
786 secs = 0;
793 secs = ts.tv_sec;
812 if (copyout(&secs, (caddr_t)(uintptr_t)vpp->pc_parm,
/illumos-gate/usr/src/uts/common/contract/
H A Ddevice.c369 static int ct_barrier_wait_for_empty(dev_info_t *dip, int secs);
2203 ct_barrier_wait_for_empty(dev_info_t *dip, int secs) argument
2209 abstime = ddi_get_lbolt() + drv_usectohz(secs*1000000);

Completed in 85 milliseconds

12