Searched defs:duration (Results 1 - 25 of 29) 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/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_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);
H A DSun_sasSendSMPPassThru.c98 double duration; local
221 duration = end - start;
222 duration /= HR_SECOND;
224 of %.4f seconds", duration);
/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/
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/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/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/uts/common/io/tpm/
H A Dtpm_ddi.h97 clock_t duration[4]; /* short,medium,long,undefined */ member in struct:tpm_state
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...]
/illumos-gate/usr/src/lib/libcommputil/common/
H A Dsdp.c521 * r=<repeat interval> <active duration> <offsets from start-time>
524 sdp_add_repeat(sdp_time_t *time, uint64_t interval, uint64_t duration, argument
537 new_repeat->r_duration = 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/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/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/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,
H A Dvm_page.c6246 page_capture_register_callback(uint_t index, clock_t duration, argument
6252 pc_cb[index].duration = duration;
6269 pc_cb[index].duration = 0; /* Paranoia */
6407 if (pc_cb[cb_index].duration == -1) {
6411 pc_cb[cb_index].duration;
/illumos-gate/usr/src/cmd/lockstat/
H A Dlockstat.c61 uint64_t ls_time; /* cumulative event duration */
62 uint32_t ls_hist[64]; /* log2(duration) histogram */
298 " -d duration only watch events longer than <duration>\n"
1025 hrtime_t duration; local
1087 duration = atoll(optarg);
1097 g_min_duration[i] = duration;
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_xmit.c535 * 4ms transmit duration.
1247 * ath_pkt_dur - compute packet duration (NB: not NAV)
1259 uint32_t nbits, nsymbits, duration, nsymbols; local
1266 /* for legacy rates, use old function to compute packet duration */
1277 duration = SYMBOL_TIME(nsymbols);
1279 duration = SYMBOL_TIME_HALFGI(nsymbols);
1281 /* addup duration for legacy/ht training and signal fields */
1283 duration += L_STF + L_LTF + L_SIG + HT_SIG + HT_STF + HT_LTF(streams);
1285 return (duration);
/illumos-gate/usr/src/uts/common/io/wpi/
H A Dwpireg.h232 uint32_t duration; member in struct:wpi_tx_stat
/illumos-gate/usr/src/lib/fm/topo/modules/common/ses/
H A Dses.c2753 double duration; local
2945 duration = end - start;
2946 duration /= HR_SECOND;
2949 duration);
/illumos-gate/usr/src/uts/common/os/
H A Dsunddi.c129 void (*ddi_console_bell_func)(clock_t duration);
6932 ddi_ring_console_bell(clock_t duration) argument
6935 (*ddi_console_bell_func)(duration);
6939 ddi_set_console_bell(void (*bellfunc)(clock_t duration)) argument

Completed in 310 milliseconds

12