Searched refs:duration (Results 1 - 25 of 41) 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_sasRefreshAdapterConfiguration.c88 double duration; local
110 duration = end - start;
111 duration /= HR_SECOND;
113 "%.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_sasScsiReportLUNs.c80 double duration; local
199 duration = end - start;
200 duration /= HR_SECOND;
202 of %.4f seconds", duration);
H A DSun_sasSendSMPPassThru.c98 double duration; local
221 duration = end - start;
222 duration /= HR_SECOND;
224 of %.4f seconds", duration);
H A DSun_sasScsiInquiry.c84 double duration; local
232 duration = end - start;
233 duration /= HR_SECOND;
235 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);
/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.c141 static char *strdur(time_t duration);
1925 static char *strdur(duration)
1926 time_t duration;
1931 if (duration < 0) {
1932 duration *= -1;
1936 days = duration / (24 * 3600);
1937 duration %= 24 * 3600;
1938 hours = duration / 3600;
1939 duration %= 3600;
1940 minutes = duration / 6
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dposix_tty.c144 * This is kludged for duration != 0; it should do something like crank the
145 * baud rate down and then send the break if the duration != 0.
148 tcsendbreak(int fd, int duration) argument
150 unsigned d = (unsigned)duration;
/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/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.cc313 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/sun4u/io/pci/
H A Dpci_asm.s59 ! 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.s61 ! Interrupts will be disabled for the duration of the read, to prevent
/illumos-gate/usr/src/uts/i86pc/os/cpupm/
H A Dcpupm_mach.c970 hrtime_t duration; local
975 duration = cs_data->cs_idle_exit - cs_data->cs_idle_enter;
976 scalehrtime(&duration);
977 cs_data->cs_idle += duration;
/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);
/illumos-gate/usr/src/uts/common/vm/
H A Dpage.h1177 * to capture a page. A duration of -1 will indicate that we will never give
1180 * aware of the behavior of all callers who have a duration of -1.
1205 clock_t duration; /* the length in time that we'll attempt to */ member in struct:page_capture_callback
1213 void page_capture_register_callback(uint_t index, clock_t duration,

Completed in 95 milliseconds

12