Symbol: secs
bin/dd/misc.c
110
double secs;
bin/dd/misc.c
112
secs = secs_elapsed();
bin/dd/misc.c
117
humanize_number(persec, sizeof(persec), (int64_t)(st.bytes / secs), "B",
bin/dd/misc.c
120
(uintmax_t)st.bytes, si, iec, secs, persec);
bin/dd/misc.c
57
double secs, res;
bin/dd/misc.c
63
secs = (end.tv_sec - st.start.tv_sec) + \
bin/dd/misc.c
66
if (secs < res)
bin/dd/misc.c
67
secs = res;
bin/dd/misc.c
69
return (secs);
bin/dd/misc.c
75
double secs;
bin/dd/misc.c
83
secs = secs_elapsed();
bin/dd/misc.c
97
st.bytes, secs, st.bytes / secs);
bin/ps/print.c
500
printtime(KINFO *k, VARENT *ve __unused, long secs, long psecs)
bin/ps/print.c
509
secs = 0;
bin/ps/print.c
514
secs += psecs / 100;
bin/ps/print.c
518
secs / 60, secs % 60, decimal_point, psecs);
bin/ps/print.c
525
long secs, psecs;
bin/ps/print.c
532
secs = k->ki_p->ki_runtime / 1000000;
bin/ps/print.c
535
secs += k->ki_p->ki_childtime.tv_sec;
bin/ps/print.c
538
return (printtime(k, ve, secs, psecs));
bin/ps/print.c
557
long secs, psecs;
bin/ps/print.c
559
secs = k->ki_p->ki_rusage.ru_stime.tv_sec;
bin/ps/print.c
562
secs += k->ki_p->ki_childstime.tv_sec;
bin/ps/print.c
565
return (printtime(k, ve, secs, psecs));
bin/ps/print.c
571
long secs, psecs;
bin/ps/print.c
573
secs = k->ki_p->ki_rusage.ru_utime.tv_sec;
bin/ps/print.c
576
secs += k->ki_p->ki_childutime.tv_sec;
bin/ps/print.c
579
return (printtime(k, ve, secs, psecs));
bin/ps/print.c
586
int days, hours, mins, secs;
bin/ps/print.c
597
secs = val % 60;
bin/ps/print.c
599
asprintf(&str, "%3d-%02d:%02d:%02d", days, hours, mins, secs);
bin/ps/print.c
601
asprintf(&str, "%02d:%02d:%02d", hours, mins, secs);
bin/ps/print.c
603
asprintf(&str, "%02d:%02d", mins, secs);
crypto/krb5/src/include/gssrpc/clnt.h
161
#define CLNT_CALL(rh, proc, xargs, argsp, xres, resp, secs) \
crypto/krb5/src/include/gssrpc/clnt.h
162
((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs))
crypto/krb5/src/include/gssrpc/clnt.h
163
#define clnt_call(rh, proc, xargs, argsp, xres, resp, secs) \
crypto/krb5/src/include/gssrpc/clnt.h
164
((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs))
crypto/openssh/misc.c
2553
int secs;
crypto/openssh/misc.c
2568
if ((secs = convtime(cp)) < 0) {
crypto/openssh/misc.c
2576
*secsp = secs;
crypto/openssh/misc.c
619
int secs, total = 0, multiplier;
crypto/openssh/misc.c
635
secs = (int)strtonum(p, 0, INT_MAX, &errstr);
crypto/openssh/misc.c
667
if (secs > INT_MAX / multiplier)
crypto/openssh/misc.c
669
secs *= multiplier;
crypto/openssh/misc.c
670
if (total > INT_MAX - secs)
crypto/openssh/misc.c
672
total += secs;
crypto/openssh/monitor_wrap.c
1190
u_int i, secs;
crypto/openssh/monitor_wrap.c
1197
&type, &secs) != 0) {
crypto/openssh/monitor_wrap.c
1201
channel_add_timeout(ssh, type, secs);
crypto/openssh/ssh-keygen.c
1961
int64_t mul, secs;
crypto/openssh/ssh-keygen.c
1965
if ((secs = convtime(s + 1)) == -1)
crypto/openssh/ssh-keygen.c
1967
if (mul == -1 && secs > now)
crypto/openssh/ssh-keygen.c
1969
return now + (u_int64_t)(secs * mul);
crypto/openssh/ssh-keygen.c
1992
int64_t secs;
crypto/openssh/ssh-keygen.c
1996
if ((secs = convtime(timespec + 1)) == -1)
crypto/openssh/ssh-keygen.c
1998
cert_valid_to = now + secs;
crypto/openssl/apps/include/apps.h
92
long days, long hours, long secs);
crypto/openssl/apps/lib/apps.c
3370
long days, long hours, long secs)
crypto/openssl/apps/lib/apps.c
3379
if (X509_time_adj_ex(tm, days, hours * 60 * 60 + secs, NULL) == NULL)
crypto/openssl/apps/speed.c
171
static void alarm_win32(unsigned int secs)
crypto/openssl/apps/speed.c
173
lapse = secs * 1000;
crypto/openssl/crypto/sleep.c
89
static void ossl_sleep_secs(uint64_t secs)
crypto/openssl/crypto/sleep.c
98
if (secs < limited_secs)
crypto/openssl/crypto/sleep.c
99
limited_secs = (unsigned int)secs;
crypto/openssl/crypto/ts/ts_conf.c
400
int secs = 0, millis = 0, micros = 0;
crypto/openssl/crypto/ts/ts_conf.c
412
secs = atoi(val->value);
crypto/openssl/crypto/ts/ts_conf.c
424
if (!TS_RESP_CTX_set_accuracy(ctx, secs, millis, micros))
crypto/openssl/crypto/ts/ts_rsp_sign.c
236
int secs, int millis, int micros)
crypto/openssl/crypto/ts/ts_rsp_sign.c
240
if (secs
crypto/openssl/crypto/ts/ts_rsp_sign.c
242
|| !ASN1_INTEGER_set(ctx->seconds, secs)))
crypto/openssl/include/openssl/ts.h
303
int secs, int millis, int micros);
include/rpc/clnt.h
158
#define CLNT_CALL(rh, proc, xargs, argsp, xres, resp, secs) \
include/rpc/clnt.h
160
argsp, xres, resp, secs))
include/rpc/clnt.h
161
#define clnt_call(rh, proc, xargs, argsp, xres, resp, secs) \
include/rpc/clnt.h
163
argsp, xres, resp, secs))
lib/libc/gen/alarm.c
39
alarm(unsigned int secs)
lib/libc/gen/alarm.c
45
itp->it_value.tv_sec = secs;
lib/libc/nameser/ns_ttl.c
52
int secs, mins, hours, days, weeks, x;
lib/libc/nameser/ns_ttl.c
55
secs = src % 60; src /= 60;
lib/libc/nameser/ns_ttl.c
78
if (secs || !(weeks || days || hours || mins)) {
lib/libc/nameser/ns_ttl.c
79
T(fmt1(secs, 'S', &dst, &dstlen));
lib/libc/resolv/res_debug.c
1150
p_secstodate (u_long secs) {
lib/libc/resolv/res_debug.c
1152
time_t clock = secs;
lib/libc/resolv/res_debug.c
812
int deg = 0, min = 0, secs = 0, secsfrac = 0;
lib/libc/resolv/res_debug.c
835
secs = secs * 10 + (*cp++ - '0');
lib/libc/resolv/res_debug.c
861
+ (((((deg * 60) + min) * 60) + secs) * 1000)
lib/libc/resolv/res_debug.c
867
- (((((deg * 60) + min) * 60) + secs) * 1000)
lib/libvmmapi/amd64/vmmapi_machdep.c
392
vm_rtc_settime(struct vmctx *ctx, time_t secs)
lib/libvmmapi/amd64/vmmapi_machdep.c
398
rtctime.secs = secs;
lib/libvmmapi/amd64/vmmapi_machdep.c
404
vm_rtc_gettime(struct vmctx *ctx, time_t *secs)
lib/libvmmapi/amd64/vmmapi_machdep.c
412
*secs = rtctime.secs;
lib/libvmmapi/vmmapi.h
254
int vm_rtc_settime(struct vmctx *ctx, time_t secs);
lib/libvmmapi/vmmapi.h
255
int vm_rtc_gettime(struct vmctx *ctx, time_t *secs);
libexec/bootpd/bootpgw/bootpgw.c
513
u_short secs;
libexec/bootpd/bootpgw/bootpgw.c
523
secs = ntohs(bp->bp_secs);
libexec/bootpd/bootpgw/bootpgw.c
524
if (secs < minwait)
libexec/bootpd/tools/bootptest/bootptest.c
121
short secs; /* How long client has waited */
libexec/bootpd/tools/bootptest/bootptest.c
379
bp->bp_secs = secs = 0;
libexec/bootpd/tools/bootptest/bootptest.c
401
secs += WAITSECS;
libexec/bootpd/tools/bootptest/bootptest.c
402
if (secs > MAXWAIT)
libexec/bootpd/tools/bootptest/bootptest.c
404
bp->bp_secs = htons(secs);
sbin/camcontrol/progress.c
134
int64_t secs;
sbin/camcontrol/progress.c
186
if ((secs = secsleft / SECSPERHOUR) > 0) {
sbin/camcontrol/progress.c
187
(void) snprintf(hours, sizeof(hours), "%2lld:", (long long)secs);
sbin/camcontrol/progress.c
191
secs = secsleft % SECSPERHOUR;
sbin/camcontrol/progress.c
203
(int)secs / 60, (int)secs % 60);
sbin/dhclient/dhclient.c
1366
ip->client->packet.secs = htons(interval);
sbin/dhclient/dhclient.c
1368
ip->client->packet.secs = htons(65535);
sbin/dhclient/dhclient.c
1369
ip->client->secs = ip->client->packet.secs;
sbin/dhclient/dhclient.c
1590
ip->client->packet.secs = ip->client->secs;
sbin/dhclient/dhclient.c
1593
ip->client->packet.secs = htons(interval);
sbin/dhclient/dhclient.c
1595
ip->client->packet.secs = htons(65535);
sbin/dhclient/dhclient.c
1718
ip->client->packet.secs = 0; /* filled in by send_discover. */
sbin/dhclient/dhclient.c
1841
ip->client->packet.secs = 0; /* Filled in by send_request. */
sbin/dhclient/dhclient.c
1925
ip->client->packet.secs = 0; /* Filled in by send_request. */
sbin/dhclient/dhcp.h
65
u_int16_t secs; /* Seconds since client started looking */
sbin/dhclient/dhcpd.h
185
u_int16_t secs;
sbin/fsdb/fsdb.c
1220
time_t secs;
sbin/fsdb/fsdb.c
1223
if (dotime(argv[1], &secs, &nsecs))
sbin/fsdb/fsdb.c
1227
curinode->dp2.di_birthtime = _time_to_time64(secs);
sbin/fsdb/fsdb.c
1236
time_t secs;
sbin/fsdb/fsdb.c
1239
if (dotime(argv[1], &secs, &nsecs))
sbin/fsdb/fsdb.c
1242
curinode->dp1.di_mtime = _time_to_time32(secs);
sbin/fsdb/fsdb.c
1244
curinode->dp2.di_mtime = _time_to_time64(secs);
sbin/fsdb/fsdb.c
1253
time_t secs;
sbin/fsdb/fsdb.c
1256
if (dotime(argv[1], &secs, &nsecs))
sbin/fsdb/fsdb.c
1259
curinode->dp1.di_atime = _time_to_time32(secs);
sbin/fsdb/fsdb.c
1261
curinode->dp2.di_atime = _time_to_time64(secs);
sbin/fsdb/fsdb.c
1270
time_t secs;
sbin/fsdb/fsdb.c
1273
if (dotime(argv[1], &secs, &nsecs))
sbin/fsdb/fsdb.c
1276
curinode->dp1.di_ctime = _time_to_time32(secs);
sbin/fsdb/fsdb.c
1278
curinode->dp2.di_ctime = _time_to_time64(secs);
sbin/ifconfig/af_inet6.c
605
int days, hours, mins, secs;
sbin/ifconfig/af_inet6.c
613
secs = total % 60;
sbin/ifconfig/af_inet6.c
627
sprintf(p, "%ds", secs);
sbin/routed/trace.c
133
ts(time_t secs) {
sbin/routed/trace.c
136
secs += epoch.tv_sec;
sbin/routed/trace.c
137
memcpy(s, ctime(&secs)+11, 8);
stand/i386/common/cons.c
130
keyhit(unsigned int secs)
stand/i386/common/cons.c
136
secs *= SECOND;
stand/i386/common/cons.c
149
if (secs > 0) {
stand/i386/common/cons.c
153
if (t1 < t0 || t1 >= t0 + secs)
stand/i386/common/cons.h
30
int keyhit(unsigned int secs);
stand/kboot/kboot/hostdisk.c
123
hostdisk_add_part(hdinfo_t *hd, const char *drv, uint64_t secs)
stand/kboot/kboot/hostdisk.c
128
printf("hd %s adding %s %ju\n", hd->hd_dev, drv, (uintmax_t)secs);
stand/kboot/kboot/hostdisk.c
137
md->hd_sectors = secs;
stand/kboot/kboot/hostdisk.c
173
hostdisk_add_drive(const char *drv, uint64_t secs)
stand/kboot/kboot/hostdisk.c
187
hd->hd_sectors = secs;
stand/libofw/ofw_time.c
33
int secs;
stand/libofw/ofw_time.c
35
secs = OF_milliseconds() / 1000;
stand/libofw/ofw_time.c
37
*tloc = secs;
stand/libofw/ofw_time.c
38
return (secs);
stand/libsa/dosfs.c
680
if (!(sc = cv2(bs->bpb.secs)) && !(sc = cv4(bs->bpb.lsecs)))
stand/libsa/dosfs.c
86
u_char secs[2]; /* total sectors */
stand/uboot/time.c
37
int secs;
stand/uboot/time.c
39
secs = ub_get_timer(0) / 1000;
stand/uboot/time.c
41
*tloc = secs;
stand/uboot/time.c
43
return (secs);
sys/amd64/include/cpufunc.h
899
sgx_ecreate(void *pginfo, void *secs)
sys/amd64/include/cpufunc.h
903
(uint64_t)secs, 0));
sys/amd64/include/cpufunc.h
915
sgx_einit(void *sigstruct, void *secs, void *einittoken)
sys/amd64/include/cpufunc.h
919
(uint64_t)secs, (uint64_t)einittoken));
sys/amd64/include/cpufunc.h
923
sgx_eextend(void *secs, void *epc)
sys/amd64/include/cpufunc.h
926
return (sgx_encls(SGX_EEXTEND, (uint64_t)secs,
sys/amd64/include/sgxreg.h
76
uint64_t secs;
sys/amd64/include/vmm_dev.h
232
time_t secs;
sys/amd64/linux/linux_proto.h
184
char secs_l_[PADL_(l_uint)]; l_uint secs; char secs_r_[PADR_(l_uint)];
sys/amd64/linux/linux_systrace_args.c
336
iarg[a++] = p->secs; /* l_uint */
sys/amd64/linux32/linux32_proto.h
131
char secs_l_[PADL_(l_uint)]; l_uint secs; char secs_r_[PADR_(l_uint)];
sys/amd64/linux32/linux32_systrace_args.c
212
iarg[a++] = p->secs; /* l_uint */
sys/amd64/sgx/sgx.c
327
sgx_enclave_alloc(struct sgx_softc *sc, struct secs *secs,
sys/amd64/sgx/sgx.c
335
enclave->base = secs->base;
sys/amd64/sgx/sgx.c
336
enclave->size = secs->size;
sys/amd64/sgx/sgx.c
420
sgx_measure_page(struct sgx_softc *sc, struct epc_page *secs,
sys/amd64/sgx/sgx.c
432
ret = sgx_eextend((void *)secs->base,
sys/amd64/sgx/sgx.c
446
sgx_secs_validate(struct sgx_softc *sc, struct secs *secs)
sys/amd64/sgx/sgx.c
451
if (secs->size == 0)
sys/amd64/sgx/sgx.c
455
if (secs->base & (secs->size - 1))
sys/amd64/sgx/sgx.c
459
if (secs->size < 2 * PAGE_SIZE)
sys/amd64/sgx/sgx.c
462
if ((secs->size & (secs->size - 1)) != 0)
sys/amd64/sgx/sgx.c
465
attr = &secs->attributes;
sys/amd64/sgx/sgx.c
488
if (secs->size > sc->enclave_size_max)
sys/amd64/sgx/sgx.c
492
if (secs->reserved1[i])
sys/amd64/sgx/sgx.c
496
if (secs->reserved2[i])
sys/amd64/sgx/sgx.c
500
if (secs->reserved3[i])
sys/amd64/sgx/sgx.c
504
if (secs->reserved4[i])
sys/amd64/sgx/sgx.c
647
struct secs *secs;
sys/amd64/sgx/sgx.c
653
secs = NULL;
sys/amd64/sgx/sgx.c
658
secs = malloc(PAGE_SIZE, M_SGX, M_WAITOK | M_ZERO);
sys/amd64/sgx/sgx.c
659
ret = copyin((void *)param->src, secs, sizeof(struct secs));
sys/amd64/sgx/sgx.c
665
ret = sgx_secs_validate(sc, secs);
sys/amd64/sgx/sgx.c
671
ret = sgx_mem_find(sc, secs->base, &entry, &object);
sys/amd64/sgx/sgx.c
688
ret = sgx_enclave_alloc(sc, secs, &enclave);
sys/amd64/sgx/sgx.c
699
pginfo.srcpge = (uint64_t)secs;
sys/amd64/sgx/sgx.c
701
pginfo.secs = 0;
sys/amd64/sgx/sgx.c
768
free(secs, M_SGX);
sys/amd64/sgx/sgx.c
773
free(secs, M_SGX);
sys/amd64/sgx/sgx.c
879
pginfo.secs = (uint64_t)secs_epc_page->base;
sys/amd64/vmm/io/vrtc.c
152
time_t t, secs;
sys/amd64/vmm/io/vrtc.c
163
secs = delta / SBT_1S;
sys/amd64/vmm/io/vrtc.c
164
t += secs;
sys/amd64/vmm/io/vrtc.c
165
*basetime += secs * SBT_1S;
sys/amd64/vmm/io/vrtc.c
751
vrtc_set_time(struct vm *vm, time_t secs)
sys/amd64/vmm/io/vrtc.c
758
error = vrtc_time_update(vrtc, secs, sbinuptime());
sys/amd64/vmm/io/vrtc.c
763
secs);
sys/amd64/vmm/io/vrtc.c
765
VM_CTR1(vrtc->vm, "RTC time set to %#lx", secs);
sys/amd64/vmm/io/vrtc.h
42
int vrtc_set_time(struct vm *vm, time_t secs);
sys/amd64/vmm/vmm_dev_machdep.c
549
error = vrtc_set_time(vm, rtctime->secs);
sys/amd64/vmm/vmm_dev_machdep.c
556
rtctime->secs = vrtc_get_time(vm);
sys/compat/linux/linux_misc.c
190
u_int secs;
sys/compat/linux/linux_misc.c
193
secs = args->secs;
sys/compat/linux/linux_misc.c
201
if (secs > INT32_MAX / 2)
sys/compat/linux/linux_misc.c
202
secs = INT32_MAX / 2;
sys/compat/linux/linux_misc.c
204
it.it_value.tv_sec = secs;
sys/compat/linuxkpi/common/include/linux/ktime.h
111
ktime_set(const long secs, const unsigned long nsecs)
sys/compat/linuxkpi/common/include/linux/ktime.h
113
ktime_t retval = {(s64) secs * NSEC_PER_SEC + (s64) nsecs};
sys/dev/atkbdc/psm.c
2966
SYSCTL_INT(_debug_psm, OID_AUTO, secs, CTLFLAG_RW, &psmsecs, 0,
sys/dev/atkbdc/psm.c
7474
timeelapsed(const struct timeval *start, int secs, int usecs,
sys/dev/atkbdc/psm.c
7485
tv.tv_sec = secs;
sys/dev/iicbus/pmic/rockchip/rk805.c
159
sc->rtc_regs.secs = RK805_RTC_SECS;
sys/dev/iicbus/pmic/rockchip/rk808.c
234
sc->rtc_regs.secs = RK808_RTC_SECS;
sys/dev/iicbus/pmic/rockchip/rk817.c
490
sc->rtc_regs.secs = RK817_RTC_SECONDS;
sys/dev/iicbus/pmic/rockchip/rk8xx.h
73
uint8_t secs;
sys/dev/iicbus/pmic/rockchip/rk8xx_rtc.c
132
data[sc->rtc_regs.secs] = bct.sec;
sys/dev/iicbus/pmic/rockchip/rk8xx_rtc.c
148
error = rk8xx_write(dev, sc->rtc_regs.secs, data, 7);
sys/dev/iicbus/pmic/rockchip/rk8xx_rtc.c
71
error = rk8xx_read(dev, sc->rtc_regs.secs, data, 7);
sys/dev/iicbus/pmic/rockchip/rk8xx_rtc.c
89
bct.sec = data[sc->rtc_regs.secs] & sc->rtc_regs.secs_mask;
sys/dev/iicbus/rtc/ds1307.c
369
uint8_t secs;
sys/dev/iicbus/rtc/ds1307.c
377
error = ds1307_read1(dev, DS1307_SECS, &secs);
sys/dev/iicbus/rtc/ds1307.c
392
if (((secs & DS1307_SECS_CH) ^ osc_en) != 0)
sys/dev/iicbus/rtc/ds13rtc.c
238
read_timeword(struct ds13rtc_softc *sc, time_t *secs)
sys/dev/iicbus/rtc/ds13rtc.c
245
*secs = le32dec(buf);
sys/dev/iicbus/rtc/ds13rtc.c
251
write_timeword(struct ds13rtc_softc *sc, time_t secs)
sys/dev/iicbus/rtc/ds13rtc.c
255
le32enc(buf, (uint32_t)secs);
sys/dev/iicbus/rtc/ds1672.c
144
uint8_t secs[4];
sys/dev/iicbus/rtc/ds1672.c
147
error = ds1672_read(dev, DS1672_COUNTER, secs, 4);
sys/dev/iicbus/rtc/ds1672.c
150
ts->tv_sec = (secs[3] << 24) | (secs[2] << 16)
sys/dev/iicbus/rtc/ds1672.c
151
| (secs[1] << 8) | (secs[0] << 0);
sys/dev/iicbus/rtc/rv3032.c
159
uint8_t secs;
sys/dev/iicbus/rtc/rv3032.c
391
ct.sec = FROMBCD(time_regs.secs & 0x7f);
sys/dev/iicbus/rtc/rv3032.c
416
time_regs.secs = TOBCD(ct.sec);
sys/dev/xen/timer/xen_timer.c
229
settime.u.settime64.secs = ts->tv_sec;
sys/i386/linux/linux_proto.h
131
char secs_l_[PADL_(l_uint)]; l_uint secs; char secs_r_[PADR_(l_uint)];
sys/i386/linux/linux_systrace_args.c
212
iarg[a++] = p->secs; /* l_uint */
sys/kern/kern_event.c
739
int64_t secs;
sys/kern/kern_event.c
758
secs = data / 1000;
sys/kern/kern_event.c
760
if (secs > (SBT_MAX / SBT_1S))
sys/kern/kern_event.c
763
return (secs << 32 | MS_TO_SBT(data % 1000));
sys/kern/kern_event.c
768
secs = data / 1000000;
sys/kern/kern_event.c
770
if (secs > (SBT_MAX / SBT_1S))
sys/kern/kern_event.c
773
return (secs << 32 | US_TO_SBT(data % 1000000));
sys/kern/kern_event.c
778
secs = data / 1000000000;
sys/kern/kern_event.c
780
if (secs > (SBT_MAX / SBT_1S))
sys/kern/kern_event.c
783
return (secs << 32 | NS_TO_SBT(data % 1000000000));
sys/kern/kern_sysctl.c
2075
int error, secs;
sys/kern/kern_sysctl.c
2078
secs = tv->tv_sec;
sys/kern/kern_sysctl.c
2080
error = sysctl_handle_int(oidp, &secs, 0, req);
sys/kern/kern_sysctl.c
2084
if (secs < 0)
sys/kern/kern_sysctl.c
2086
tv->tv_sec = secs;
sys/kern/subr_clock.c
248
time_t secs;
sys/kern/subr_clock.c
250
secs = ts->tv_sec;
sys/kern/subr_clock.c
251
days = secs / SECDAY;
sys/kern/subr_clock.c
252
rsec = secs % SECDAY;
sys/kern/vfs_mountroot.c
674
long secs;
sys/kern/vfs_mountroot.c
681
secs = strtol(tok, &endtok, 0);
sys/kern/vfs_mountroot.c
682
error = (secs < 0 || *endtok != '\0') ? EINVAL : 0;
sys/kern/vfs_mountroot.c
684
root_mount_timeout = secs;
sys/netinet/sctputil.c
815
sctp_secs_to_ticks(uint32_t secs)
sys/netinet/sctputil.c
820
temp = (uint64_t)secs * hz;
sys/netinet/sctputil.c
833
uint32_t secs;
sys/netinet/sctputil.c
837
secs = UINT32_MAX;
sys/netinet/sctputil.c
839
secs = (uint32_t)temp;
sys/netinet/sctputil.c
841
return (secs);
sys/netpfil/pf/pf_ioctl.c
2444
int secs = time_uptime;
sys/netpfil/pf/pf_ioctl.c
2464
out->creation = secs - in->creation;
sys/netpfil/pf/pf_ioctl.c
2465
if (out->expire > secs)
sys/netpfil/pf/pf_ioctl.c
2466
out->expire -= secs;
sys/netpfil/pf/pf_nl.c
1761
int secs;
sys/netpfil/pf/pf_nl.c
1772
secs = time_uptime;
sys/netpfil/pf/pf_nl.c
1796
nlattr_add_u64(nw, PF_SN_CREATION, secs - n->creation);
sys/netpfil/pf/pf_nl.c
1797
if (n->expire > secs)
sys/netpfil/pf/pf_nl.c
1798
nlattr_add_u64(nw, PF_SN_EXPIRE, n->expire - secs);
sys/nfs/bootp_subr.c
114
u_int16_t secs;
sys/nfs/bootp_subr.c
1239
ifctx->call.secs = 0;
sys/nfs/bootp_subr.c
181
int secs;
sys/nfs/bootp_subr.c
696
gctx->secs = time_second - gctx->starttime;
sys/nfs/bootp_subr.c
702
ifctx->call.secs = htons(gctx->secs);
sys/nfs/bootp_subr.c
791
if (gctx->secs > BOOTP_TIMEOUT && BOOTP_TIMEOUT > 0)
sys/nfs/krpc_subr.c
201
int error, rcvflg, timo, secs, len;
sys/nfs/krpc_subr.c
335
secs = timo;
sys/nfs/krpc_subr.c
336
while (secs > 0) {
sys/nfs/krpc_subr.c
350
secs--;
sys/rpc/clnt.h
201
#define CLNT_CALL_MBUF(rh, ext, proc, mreq, mrepp, secs) \
sys/rpc/clnt.h
202
((*(rh)->cl_ops->cl_call)(rh, ext, proc, mreq, mrepp, secs))
sys/rpc/clnt.h
216
#define CLNT_CALL_EXT(rh, ext, proc, xargs, argsp, xres, resp, secs) \
sys/rpc/clnt.h
218
argsp, xres, resp, secs)
sys/rpc/clnt.h
231
#define CLNT_CALL(rh, proc, xargs, argsp, xres, resp, secs) \
sys/rpc/clnt.h
233
argsp, xres, resp, secs)
sys/rpc/clnt.h
234
#define clnt_call(rh, proc, xargs, argsp, xres, resp, secs) \
sys/rpc/clnt.h
236
argsp, xres, resp, secs)
tools/regression/netinet/tcpsocktimewait/tcpsocktimewait.c
103
sleep(secs);
tools/regression/netinet/tcpsocktimewait/tcpsocktimewait.c
68
tcp_client(pid_t partner, u_short port, int secs)
tools/tools/net80211/wesside/wesside/wesside.c
2629
int secs;
tools/tools/net80211/wesside/wesside/wesside.c
2638
secs = now.tv_sec - last_wcount.tv_sec;
tools/tools/net80211/wesside/wesside/wesside.c
2639
secs--;
tools/tools/net80211/wesside/wesside/wesside.c
2640
if (secs > 0)
tools/tools/net80211/wesside/wesside/wesside.c
2641
elapsed += (secs*1000*1000);
usr.bin/find/function.c
147
long long secs, value;
usr.bin/find/function.c
175
secs = 0;
usr.bin/find/function.c
179
secs += value;
usr.bin/find/function.c
182
secs += value * 60;
usr.bin/find/function.c
185
secs += value * 3600;
usr.bin/find/function.c
188
secs += value * 86400;
usr.bin/find/function.c
191
secs += value * 604800;
usr.bin/find/function.c
211
return secs;
usr.bin/leave/leave.c
122
secs = (hours - t_12_hour) * 60 * 60;
usr.bin/leave/leave.c
123
secs += (minutes - t->tm_min) * 60;
usr.bin/leave/leave.c
124
secs -= now % 60; /* truncate (now + secs) to min */
usr.bin/leave/leave.c
126
doalarm(secs);
usr.bin/leave/leave.c
131
doalarm(u_int secs)
usr.bin/leave/leave.c
140
daytime += secs;
usr.bin/leave/leave.c
146
if (secs >= 2)
usr.bin/leave/leave.c
147
secs -= 2;
usr.bin/leave/leave.c
155
if (secs >= FIVEMIN) {
usr.bin/leave/leave.c
156
sleep(secs - FIVEMIN);
usr.bin/leave/leave.c
159
secs = FIVEMIN;
usr.bin/leave/leave.c
164
if (secs >= ONEMIN) {
usr.bin/leave/leave.c
165
sleep(secs - ONEMIN);
usr.bin/leave/leave.c
55
u_int secs;
usr.bin/leave/leave.c
99
secs = hours * 60 * 60 + minutes * 60;
usr.bin/mkimg/gpt.c
161
uint32_t secs;
usr.bin/mkimg/gpt.c
164
secs = (blks > UINT32_MAX) ? UINT32_MAX : (uint32_t)blks - 1;
usr.bin/mkimg/gpt.c
180
le32enc(pmbr + DOSPARTOFF + 12, secs);
usr.bin/top/display.c
1296
int days, hrs, mins, secs;
usr.bin/top/display.c
1305
secs = uptime % 60;
usr.bin/top/display.c
1319
printf(" up %d+%02d:%02d:%02d", days, hrs, mins, secs);
usr.bin/w/w.c
480
unsigned long days, hrs, mins, secs;
usr.bin/w/w.c
502
secs = tp.tv_sec;
usr.bin/w/w.c
503
xo_emit("{e:uptime/%lu}", secs);
usr.bin/w/w.c
504
mins = secs / 60;
usr.bin/w/w.c
505
secs %= 60;
usr.bin/w/w.c
511
days, hrs, mins, secs);
usr.bin/w/w.c
515
secs = tp.tv_sec + 30;
usr.bin/w/w.c
516
mins = secs / 60;
usr.bin/w/w.c
517
secs = 0;
usr.bin/w/w.c
537
secs, secs > 1 ? "s" : "");
usr.sbin/ac/ac.c
171
update_user(const char *user, struct timeval secs)
usr.sbin/ac/ac.c
180
timeradd(&up->time, &secs, &up->time);
usr.sbin/ac/ac.c
181
timeradd(&Total, &secs, &Total);
usr.sbin/ac/ac.c
200
up->time = secs;
usr.sbin/ac/ac.c
201
timeradd(&Total, &secs, &Total);
usr.sbin/ac/ac.c
260
show(const char *user, struct timeval secs)
usr.sbin/ac/ac.c
264
(double)secs.tv_sec / 3600);
usr.sbin/ac/ac.c
319
struct timeval secs;
usr.sbin/ac/ac.c
325
timersub(&up->ut_tv, &lp->time, &secs);
usr.sbin/ac/ac.c
326
update_user(lp->user, secs);
usr.sbin/ac/ac.c
408
struct timeval prev_secs, ut_timecopy, secs, clock_shift, now;
usr.sbin/ac/ac.c
413
timerclear(&secs);
usr.sbin/ac/ac.c
433
secs = ut_timecopy;
usr.sbin/ac/ac.c
434
secs.tv_sec -= ltm->tm_sec;
usr.sbin/ac/ac.c
435
secs.tv_sec -= 60 * ltm->tm_min;
usr.sbin/ac/ac.c
436
secs.tv_sec -= 3600 * ltm->tm_hour;
usr.sbin/ac/ac.c
437
secs.tv_usec = 0;
usr.sbin/ac/ac.c
438
show_today(secs);
usr.sbin/ac/ac.c
487
secs = ut_timecopy;
usr.sbin/ac/ac.c
488
secs.tv_sec -= ltm->tm_sec;
usr.sbin/ac/ac.c
489
secs.tv_sec -= 60 * ltm->tm_min;
usr.sbin/ac/ac.c
490
secs.tv_sec -= 3600 * ltm->tm_hour;
usr.sbin/ac/ac.c
491
secs.tv_usec = 0;
usr.sbin/ac/ac.c
492
show_today(secs);
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
317
snmp_timeout2_sec(int32_t secs)
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
319
return (secs / 100);
usr.sbin/edquota/edquota.c
769
cvtstoa(uint64_t secs)
usr.sbin/edquota/edquota.c
773
if (secs % (24 * 60 * 60) == 0) {
usr.sbin/edquota/edquota.c
774
secs /= 24 * 60 * 60;
usr.sbin/edquota/edquota.c
775
sprintf(buf, "%ju day%s", (uintmax_t)secs,
usr.sbin/edquota/edquota.c
776
secs == 1 ? "" : "s");
usr.sbin/edquota/edquota.c
777
} else if (secs % (60 * 60) == 0) {
usr.sbin/edquota/edquota.c
778
secs /= 60 * 60;
usr.sbin/edquota/edquota.c
779
sprintf(buf, "%ju hour%s", (uintmax_t)secs,
usr.sbin/edquota/edquota.c
780
secs == 1 ? "" : "s");
usr.sbin/edquota/edquota.c
781
} else if (secs % 60 == 0) {
usr.sbin/edquota/edquota.c
782
secs /= 60;
usr.sbin/edquota/edquota.c
783
sprintf(buf, "%ju minute%s", (uintmax_t)secs,
usr.sbin/edquota/edquota.c
784
secs == 1 ? "" : "s");
usr.sbin/edquota/edquota.c
786
sprintf(buf, "%ju second%s", (uintmax_t)secs,
usr.sbin/edquota/edquota.c
787
secs == 1 ? "" : "s");
usr.sbin/fdformat/fdformat.c
48
format_track(int fd, int cyl, int secs, int head, int rate,
usr.sbin/fdformat/fdformat.c
56
for(j = 0, i = 1 + offset; i <= secs + offset; i++) {
usr.sbin/fdformat/fdformat.c
57
while(il[(j % secs) + 1])
usr.sbin/fdformat/fdformat.c
59
il[(j % secs) + 1] = i;
usr.sbin/fdformat/fdformat.c
69
f.fd_formb_nsecs = secs;
usr.sbin/fdformat/fdformat.c
72
for(i = 0; i < secs; i++) {
usr.sbin/fdwrite/fdwrite.c
24
format_track(int fd, int cyl, int secs, int head, int rate,
usr.sbin/fdwrite/fdwrite.c
32
for(j = 0, i = 1; i <= secs; i++) {
usr.sbin/fdwrite/fdwrite.c
33
while(il[(j%secs)+1]) j++;
usr.sbin/fdwrite/fdwrite.c
34
il[(j%secs)+1] = i;
usr.sbin/fdwrite/fdwrite.c
44
f.fd_formb_nsecs = secs;
usr.sbin/fdwrite/fdwrite.c
47
for(i = 0; i < secs; i++) {
usr.sbin/ndp/ndp.c
1505
int days, hours, mins, secs;
usr.sbin/ndp/ndp.c
1514
secs = total % 60;
usr.sbin/ndp/ndp.c
1537
snprintf(p, ep - p, "%ds", secs);
usr.sbin/newsyslog/newsyslog.c
2045
int kres, secs;
usr.sbin/newsyslog/newsyslog.c
2072
secs = 0;
usr.sbin/newsyslog/newsyslog.c
2076
secs = 10;
usr.sbin/newsyslog/newsyslog.c
2078
secs = 1;
usr.sbin/newsyslog/newsyslog.c
2088
if (secs > 0)
usr.sbin/newsyslog/newsyslog.c
2089
printf("\tsleep %d\n", secs);
usr.sbin/newsyslog/newsyslog.c
2129
if (secs > 0) {
usr.sbin/newsyslog/newsyslog.c
2132
secs);
usr.sbin/newsyslog/newsyslog.c
2133
sleep(secs);
usr.sbin/newsyslog/ptimes.c
685
ptimeset_time(struct ptime_data *ptime, time_t secs)
usr.sbin/newsyslog/ptimes.c
691
ptime->tsecs = secs;
usr.sbin/ppp/bundle.c
1024
int secs;
usr.sbin/ppp/bundle.c
1042
secs = t->downtime ? 0 : throughput_uptime(t);
usr.sbin/ppp/bundle.c
1043
if (secs > t->SamplePeriod)
usr.sbin/ppp/bundle.c
1044
secs = t->SamplePeriod;
usr.sbin/ppp/bundle.c
1045
if (secs)
usr.sbin/ppp/bundle.c
1047
" over the last %d secs\n", octets * 8, octets, secs);
usr.sbin/ppp/bundle.c
1069
int secs = bundle_Uptime(arg->bundle);
usr.sbin/ppp/bundle.c
1071
prompt_Printf(arg->prompt, ", up time %d:%02d:%02d", secs / 3600,
usr.sbin/ppp/bundle.c
1072
(secs / 60) % 60, secs % 60);
usr.sbin/ppp/bundle.c
1168
bundle_StartIdleTimer(struct bundle *bundle, unsigned secs)
usr.sbin/ppp/bundle.c
1175
if (secs == 0)
usr.sbin/ppp/bundle.c
1176
secs = bundle->cfg.idle.timeout;
usr.sbin/ppp/bundle.c
1179
if (bundle->cfg.idle.min_timeout > secs && bundle->upat) {
usr.sbin/ppp/bundle.c
1183
bundle->cfg.idle.min_timeout - up > (long long)secs)
usr.sbin/ppp/bundle.c
1185
secs = bundle->cfg.idle.min_timeout - up;
usr.sbin/ppp/bundle.c
1189
bundle->idle.timer.load = secs * SECTICKS;
usr.sbin/ppp/bundle.c
1192
bundle->idle.done = now + secs;
usr.sbin/ppp/bundle.c
1234
bundle_StartSessionTimer(struct bundle *bundle, unsigned secs)
usr.sbin/ppp/bundle.c
1241
if (secs == 0)
usr.sbin/ppp/bundle.c
1242
secs = bundle->radius.sessiontime;
usr.sbin/ppp/bundle.c
1246
bundle->session.timer.load = secs * SECTICKS;
usr.sbin/ppp/bundle.c
1249
bundle->session.done = now + secs;
usr.sbin/ppp/bundle.c
536
unsigned secs;
usr.sbin/ppp/bundle.c
632
secs = 0;
usr.sbin/ppp/bundle.c
634
NULL, &secs);
usr.sbin/ppp/bundle.c
637
tun.header.timeout = secs;
usr.sbin/ppp/bundle.h
176
extern void bundle_StartIdleTimer(struct bundle *, unsigned secs);
usr.sbin/ppp/bundle.h
183
extern void bundle_StartSessionTimer(struct bundle *, unsigned secs);
usr.sbin/ppp/command.c
524
int arg, secs;
usr.sbin/ppp/command.c
535
secs = bundle_Uptime(bundle);
usr.sbin/ppp/command.c
537
secs / 3600, (secs / 60) % 60, secs % 60);
usr.sbin/ppp/ip.c
914
unsigned secs, alivesecs;
usr.sbin/ppp/ip.c
925
secs = 0;
usr.sbin/ppp/ip.c
927
NULL, &secs) < 0)
usr.sbin/ppp/ip.c
932
if (secs == 0)
usr.sbin/ppp/ip.c
933
secs = alivesecs;
usr.sbin/ppp/ip.c
934
bundle_StartIdleTimer(bundle, secs);
usr.sbin/ppp/ip.h
38
struct filter *, const char *, unsigned *secs);
usr.sbin/ppp/ipcp.c
1448
u_int32_t secs = 0;
usr.sbin/ppp/ipcp.c
1466
bp = mbuf_Read(bp, &secs, sizeof secs);
usr.sbin/ppp/ipcp.c
1471
if (secs == 0)
usr.sbin/ppp/ipcp.c
1472
secs = alivesecs;
usr.sbin/ppp/ipcp.c
1473
bundle_StartIdleTimer(bundle, secs);
usr.sbin/ppp/ipv6cp.c
427
u_int32_t secs = 0;
usr.sbin/ppp/ipv6cp.c
445
bp = mbuf_Read(bp, &secs, sizeof secs);
usr.sbin/ppp/ipv6cp.c
450
if (secs == 0)
usr.sbin/ppp/ipv6cp.c
451
secs = alivesecs;
usr.sbin/ppp/ipv6cp.c
452
bundle_StartIdleTimer(bundle, secs);
usr.sbin/rtsold/dump.c
159
int days, hours, mins, secs;
usr.sbin/rtsold/dump.c
176
secs = tsec % 60;
usr.sbin/rtsold/dump.c
199
snprintf(p, ep - p, "%ds", secs);