Searched refs:duration (Results 1 - 25 of 42) sorted by relevance

12

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dtcsendbreak.c40 * send zeros for 0.25 seconds, if duration is 0
41 * If duration is not 0, ioctl(fildes, TCSBRK, 0) is used also to
47 tcsendbreak(int fildes, int duration) argument
49 return (ioctl(fildes, TCSBRK, duration));
/illumos-gate/usr/src/cmd/nscd/
H A Dsvc-nscd44 # If current service duration is not "transient",
47 duration=""
48 if /bin/svcprop -q -c -p startd/duration $SMF_FMRI
50 duration=`/bin/svcprop -c -p startd/duration \
53 if [ "$duration" != "transient" ]; then
/illumos-gate/usr/src/lib/sun_sas/common/
H A DSun_sasLoadLibrary.c46 double duration = 0; local
75 duration = end - start;
76 duration /= HR_SECOND;
78 "%.6f seconds", duration);
H A DSun_sasRefreshInformation.c93 double duration; local
121 duration = end - start;
122 duration /= HR_SECOND;
124 "%.6f seconds", duration);
H A DSun_sasRefreshAdapterConfiguration.c91 double duration; local
113 duration = end - start;
114 duration /= HR_SECOND;
116 "%.6f seconds", duration);
H A DSun_sasScsiReportLUNs.c80 double duration; local
199 duration = end - start;
200 duration /= HR_SECOND;
202 of %.4f seconds", duration);
H A DSun_sasSendSMPPassThru.c102 double duration; local
225 duration = end - start;
226 duration /= HR_SECOND;
228 of %.4f seconds", duration);
H A DSun_sasScsiReadCapacity.c80 double duration; local
219 duration = end - start;
220 duration /= HR_SECOND;
222 of %.4f seconds", duration);
H A DSun_sasScsiInquiry.c87 double duration; local
235 duration = end - start;
236 duration /= HR_SECOND;
238 of %.4f seconds", duration);
/illumos-gate/usr/src/test/os-tests/tests/stress/
H A Ddladm-kstat.sh27 duration=20 # seconds
62 sleep $duration
/illumos-gate/usr/src/uts/common/sys/
H A Dbeep.h49 unsigned short duration; member in struct:beep_entry
106 int duration; /* milliseconds */ member in struct:beep_params
127 extern int beep_mktone(int frequency, int duration);
/illumos-gate/usr/src/uts/common/io/
H A Dbeep.c271 return (beep_mktone(bp->frequency, bp->duration));
347 beep_mktone(int frequency, int duration) argument
353 duration));
385 duration = (unsigned short)duration;
413 drv_usectohz(duration * 1000));
436 int duration; local
466 duration = beep_state.queue[next].duration;
488 drv_usectohz(duration * 100
[all...]
/illumos-gate/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_policy.c54 static char *strdur(time_t duration);
878 static char *strdur(duration)
879 time_t duration;
884 if (duration < 0) {
885 duration *= -1;
889 days = duration / (24 * 3600);
890 duration %= 24 * 3600;
891 hours = duration / 3600;
892 duration %= 3600;
893 minutes = duration / 6
[all...]
H A Dkdb5_ldap_realm.c142 static char *strdur(time_t duration);
1921 static char *strdur(duration)
1922 time_t duration;
1927 if (duration < 0) {
1928 duration *= -1;
1932 days = duration / (24 * 3600);
1933 duration %= 24 * 3600;
1934 hours = duration / 3600;
1935 duration %= 3600;
1936 minutes = duration / 6
[all...]
/illumos-gate/usr/src/uts/common/io/tpm/
H A Dtpm.c69 * This is to address some TPMs that does not report the correct duration
76 * TPM_GetCapability (short duration) commands should not be longer than 750ms
77 * and that section 11.3.7 states that TPM_ContinueSelfTest (medium duration)
91 * and 400 milliseconds for long duration
494 uint32_t duration; local
519 * Make sure that there are 3 duration values (S,M,L: in that order)
533 duration = load32(buf, TPM_CAP_DUR_SHORT_OFFSET);
534 if (duration == 0) {
535 duration = DEFAULT_SHORT_DURATION;
536 } else if (duration < TEN_MILLISECOND
[all...]
H A Dtpm_ddi.h97 clock_t duration[4]; /* short,medium,long,undefined */ member in struct:tpm_state
/illumos-gate/usr/src/test/zfs-tests/tests/functional/mmp/
H A Dmmp.kshlib300 function count_skipped_mmp_writes # pool duration
303 typeset -i duration=$2
306 sleep $duration
310 function count_mmp_writes # pool duration
313 typeset -i duration=$2
316 log_must sleep $duration
/illumos-gate/usr/src/cmd/powertop/common/
H A Dcpufreq.c343 hrtime_t duration; local
349 duration = (hrtime_t)(interval * NANOSEC) - cpu_pow->dtrace_time;
352 * 'duration' may be a negative value when we're using or forcing a
356 if (duration < 0)
361 g_pstate_info[i].total_time += duration;
362 cpu_pow->time_accounted += duration;
/illumos-gate/usr/src/cmd/tsol/labeld/
H A Dsvc-labeld112 duration=""
113 if /bin/svcprop -q -c -p startd/duration $nscd ; then
114 duration=`/bin/svcprop -c -p startd/duration $nscd`
116 if [ "$duration" != "transient" ]; then
119 startd/duration = astring: transient
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/
H A Dkadmin.c112 static char *strdur(duration)
113 time_t duration;
118 if (duration < 0) {
119 duration *= -1;
123 days = duration / (24 * 3600);
124 duration %= 24 * 3600;
125 hours = duration / 3600;
126 duration %= 3600;
127 minutes = duration / 60;
128 duration
[all...]
/illumos-gate/usr/src/lib/sun_fc/common/
H A DFCHBAPort.cc314 double duration; local
381 /* Do some quick duration calcuations */
383 duration = end - start;
384 duration /= HR_SECOND;
387 wwnConversion(wwn.raw_wwn), duration);
897 double duration; local
928 // Do some calculations on the duration of the ioctl.
930 duration = end - start;
931 duration /= HR_SECOND;
934 getPath().c_str(), duration);
[all...]
/illumos-gate/usr/src/uts/i86pc/os/cpupm/
H A Dcpupm_mach.c969 hrtime_t duration; local
974 duration = cs_data->cs_idle_exit - cs_data->cs_idle_enter;
975 scalehrtime(&duration);
976 cs_data->cs_idle += duration;
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_asm.s46 ! Interrupts will be disabled for the duration of the read, to prevent
/illumos-gate/usr/src/uts/sun4u/io/px/
H A Dpx_asm_4u.s45 ! Interrupts will be disabled for the duration of the read, to prevent
/illumos-gate/usr/src/cmd/latencytop/common/
H A Ddisplay.c777 * duration - returns after 'duration'
786 lt_display_loop(int duration) argument
830 remaining = duration - (int)(lt_millisecond() - start);

Completed in 93 milliseconds

12