Searched refs:secs (Results 51 - 75 of 134) sorted by relevance

123456

/freebsd-current/sys/compat/linuxkpi/common/include/linux/
H A Dktime.h111 ktime_set(const long secs, const unsigned long nsecs) argument
113 ktime_t retval = {(s64) secs * NSEC_PER_SEC + (s64) nsecs};
/freebsd-current/sbin/dhclient/
H A Ddhcp.h65 u_int16_t secs; /* Seconds since client started looking */ member in struct:dhcp_packet
/freebsd-current/sys/kern/
H A Dsubr_clock.c248 time_t secs; local
250 secs = ts->tv_sec;
251 days = secs / SECDAY;
252 rsec = secs % SECDAY;
/freebsd-current/sys/nfs/
H A Dkrpc_subr.c201 int error, rcvflg, timo, secs, len; local
335 secs = timo;
336 while (secs > 0) {
350 secs--;
391 } /* while secs */
/freebsd-current/usr.sbin/ppp/
H A Dbundle.c536 unsigned secs; local
632 secs = 0;
634 NULL, &secs);
637 tun.header.timeout = secs;
1024 int secs; local
1042 secs = t->downtime ? 0 : throughput_uptime(t);
1043 if (secs > t->SamplePeriod)
1044 secs = t->SamplePeriod;
1045 if (secs)
1047 " over the last %d secs\
1069 int secs = bundle_Uptime(arg->bundle); local
1168 bundle_StartIdleTimer(struct bundle *bundle, unsigned secs) argument
1234 bundle_StartSessionTimer(struct bundle *bundle, unsigned secs) argument
[all...]
/freebsd-current/lib/libvmmapi/amd64/
H A Dvmmapi_machdep.c392 vm_rtc_settime(struct vmctx *ctx, time_t secs) argument
398 rtctime.secs = secs;
404 vm_rtc_gettime(struct vmctx *ctx, time_t *secs) argument
412 *secs = rtctime.secs;
/freebsd-current/sys/amd64/include/
H A Dcpufunc.h869 sgx_ecreate(void *pginfo, void *secs) argument
873 (uint64_t)secs, 0));
885 sgx_einit(void *sigstruct, void *secs, void *einittoken) argument
889 (uint64_t)secs, (uint64_t)einittoken));
893 sgx_eextend(void *secs, void *epc) argument
896 return (sgx_encls(SGX_EEXTEND, (uint64_t)secs,
/freebsd-current/sys/dev/iicbus/rtc/
H A Drv3032.c159 uint8_t secs; member in struct:rv3032_timeregs
391 ct.sec = FROMBCD(time_regs.secs & 0x7f);
416 time_regs.secs = TOBCD(ct.sec);
H A Dds13rtc.c238 read_timeword(struct ds13rtc_softc *sc, time_t *secs) argument
245 *secs = le32dec(buf);
251 write_timeword(struct ds13rtc_softc *sc, time_t secs) argument
255 le32enc(buf, (uint32_t)secs);
H A Dds1307.c369 uint8_t secs; local
377 error = ds1307_read1(dev, DS1307_SECS, &secs);
392 if (((secs & DS1307_SECS_CH) ^ osc_en) != 0)
/freebsd-current/libexec/bootpd/bootpgw/
H A Dbootpgw.c501 fprintf(stderr, "\t -w n\tset min wait time (secs)\n");
517 u_short secs;
527 secs = ntohs(bp->bp_secs);
528 if (secs < minwait)
513 u_short secs; local
/freebsd-current/contrib/ntp/libntp/
H A Dsystime.c265 DPRINTF(1, ("get_systime: postcond failed by %s secs, fixed\n",
601 vint64 secs; local
605 secs = time_to_vint64(&ptv->tv_sec);
606 dds = ntpcal_daysplit(&secs);
H A Dntp_calendar.c1230 int32_t secs
1239 res.q_s += secs;
1243 res = _dwjoin(675, days, secs);
1259 int32_t secs
1268 res.q_s += secs;
1272 res = _dwjoin(4725, week, secs);
1587 int32_t days, secs; local
1590 secs = ntpcal_date_to_daysec(jd);
1591 join = ntpcal_dayjoin(days, secs);
1964 int32_t weeks, days, secs; local
[all...]
/freebsd-current/contrib/ntp/include/
H A Dntp_calgps.h48 int32_t secs; /* since midnight, denorm is ok */ member in struct:ntpdatum
/freebsd-current/sys/dev/iicbus/pmic/rockchip/
H A Drk8xx.h73 uint8_t secs; member in struct:rk8xx_rtc_reg
H A Drk805.c159 sc->rtc_regs.secs = RK805_RTC_SECS;
/freebsd-current/sys/amd64/vmm/io/
H A Dvrtc.c151 time_t t, secs; local
162 secs = delta / SBT_1S;
163 t += secs;
164 *basetime += secs * SBT_1S;
414 VM_CTR2(vrtc->vm, "Updating RTC secs from %#lx to %#lx",
750 vrtc_set_time(struct vm *vm, time_t secs) argument
757 error = vrtc_time_update(vrtc, secs, sbinuptime());
762 secs);
764 VM_CTR1(vrtc->vm, "RTC time set to %#lx", secs);
/freebsd-current/contrib/wpa/src/ap/
H A Dgas_query_ap.c349 unsigned int secs, usecs; local
351 secs = (comeback_delay * 1024) / 1000000;
352 usecs = comeback_delay * 1024 - secs * 1000000;
354 " in %u secs %u usecs", MAC2STR(query->addr), secs, usecs);
356 eloop_register_timeout(secs, usecs, gas_query_tx_comeback_timeout,
/freebsd-current/stand/kboot/kboot/
H A Dhostdisk.c123 hostdisk_add_part(hdinfo_t *hd, const char *drv, uint64_t secs) argument
128 printf("hd %s adding %s %ju\n", hd->hd_dev, drv, (uintmax_t)secs);
137 md->hd_sectors = secs;
173 hostdisk_add_drive(const char *drv, uint64_t secs) argument
187 hd->hd_sectors = secs;
/freebsd-current/lib/libc/resolv/
H A Dres_debug.c812 int deg = 0, min = 0, secs = 0, secsfrac = 0; local
835 secs = secs * 10 + (*cp++ - '0');
861 + (((((deg * 60) + min) * 60) + secs) * 1000)
867 - (((((deg * 60) + min) * 60) + secs) * 1000)
1150 p_secstodate (u_long secs) { argument
1152 time_t clock = secs;
/freebsd-current/crypto/openssl/crypto/ts/
H A Dts_conf.c38 #define ENV_VALUE_SECS "secs"
386 int secs = 0, millis = 0, micros = 0; local
398 secs = atoi(val->value);
410 if (!TS_RESP_CTX_set_accuracy(ctx, secs, millis, micros))
/freebsd-current/usr.bin/mkimg/
H A Dgpt.c159 uint32_t secs; local
162 secs = (blks > UINT32_MAX) ? UINT32_MAX : (uint32_t)blks - 1;
178 le32enc(pmbr + DOSPARTOFF + 12, secs);
/freebsd-current/contrib/bsddialog/utility/
H A Dutil_builders.c134 unsigned int secs; local
141 secs = (u_int)strtoul(argv[0], NULL, 10);
142 output = bsddialog_pause(conf, text, rows, cols, &secs);
/freebsd-current/usr.bin/find/
H A Dfunction.c143 long long secs, value; local
171 secs = 0;
175 secs += value;
178 secs += value * 60;
181 secs += value * 3600;
184 secs += value * 86400;
187 secs += value * 604800;
207 return secs;
/freebsd-current/lib/libvmmapi/
H A Dvmmapi.h247 int vm_rtc_settime(struct vmctx *ctx, time_t secs);
248 int vm_rtc_gettime(struct vmctx *ctx, time_t *secs);

Completed in 189 milliseconds

123456