/illumos-gate/usr/src/cmd/stat/common/ |
H A D | common.c | 55 * Sleep until *wakeup + interval, keeping cadence where desired 58 * interval - We want to sleep until *wakeup + interval 63 sleep_until(hrtime_t *wakeup, hrtime_t interval, int forever, argument 71 pause = *wakeup + interval - now; 73 if (pause <= 0 || pause < (interval / 4)) 76 *wakeup = now + interval; 77 pause = interval; 83 * interval AND the number of intervals has been 88 * interval thi [all...] |
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | lpq.c | 80 int interval = 0; local 103 interval = atoi(av[optind++]); 121 if (interval != 0) 127 if ((interval != 0) && (num_jobs > 0)) 128 sleep(interval); 129 } while ((interval > 0) && (num_jobs > 0));
|
/illumos-gate/usr/src/lib/libshell/common/scripts/ |
H A D | filemutexdemo1.sh | 119 float interval=0.2 123 while ! _.try_lock_shared ; do sleep ${interval} ; (( interval+=interval/10. )) ; done 138 float interval=0.2 142 while ! _.try_lock_exclusive ; do sleep ${interval} ; (( interval+=interval/10. )) ; done
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | nis_ldap.c | 142 int interval; local 144 interval = t->initTtlHi - t->initTtlLo + 1; 146 if (interval > 1) { 148 ttl = (lrand48() % interval);
|
/illumos-gate/usr/src/cmd/xvm/ipagent/ |
H A D | svc-ipagent | 25 interval=$2 56 /usr/lib/xen/bin/ipagent $interval &
|
H A D | ipagent.ksh | 30 interval=$1 114 sleep $interval
|
/illumos-gate/usr/src/cmd/dispadmin/ |
H A D | subr.c | 62 * hrtconvert() returns the interval specified by htp as a single 90 * Convert interval expressed in htp->hrt_res to new_res. 92 * Calculate: (interval * new_res) / htp->hrt_res rounding off as 103 long interval; local 125 interval = htp->hrt_rem; 126 if (interval == 0) { 136 * (interval * new_res) / hrt->hrt_res 139 numerator = interval * new_res; 141 if (numerator / new_res == interval) { 154 * (interval * new_re [all...] |
/illumos-gate/usr/src/cmd/powertop/common/ |
H A D | powertop.c | 96 double interval, interval_usr; local 124 interval = interval_usr = INTERVAL_DEFAULT; 163 interval = interval_usr = (double)strtod(optarg, 166 if (*endptr != NULL || interval < 1 || 167 interval > INTERVAL_MAX) { 223 (float)interval); 290 (int)(interval * MILLISEC)) > 0) 293 (void) sleep((int)interval); 360 interval = 3; 393 * Update the interval base [all...] |
/illumos-gate/usr/src/uts/common/sys/scsi/ |
H A D | scsi_watch.h | 59 int interval, int sense_length, 62 int interval, int sense_length,
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/ |
H A D | fcal_leds.conf | 63 relax-interval: 300 66 led-test-interval: 10
|
/illumos-gate/usr/src/cmd/ndmpstat/ |
H A D | ndmpstat_main.c | 86 long interval; local 90 interval = strtol(argv[0], &endptr, 10); 92 if (errno > 0 || *endptr != '\0' || interval <= 0 || 93 interval > MAXLONG) { 97 poll_interval = 1000 * interval; 236 (void) fprintf(stderr, "Usage: ndmpstat [interval [count]]\n");
|
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/ |
H A D | ibmf_timers.c | 36 * Set the timer to the response or transaction time interval 42 clock_t interval; local 56 * The response timer interval is the sum of the IBA 64 interval = msgimplp->im_retrans.retrans_rtv + 68 IBMF_TNF_TRACE, "", "ibmf_i_set_timer: %s, interval = %ld " 71 tnf_long, interval, interval, 73 tnf_uint, interval, msgimplp->im_retrans.retrans_rttv); 76 (void *)msgimplp, drv_usectohz(interval)); 86 interval [all...] |
/illumos-gate/usr/src/cmd/hal/addons/network-devices/ |
H A D | addon-network-discovery.c | 95 nds_EnablePrinterScanningViaSNMP(LibHalContext *ctx, char *parent, int interval, argument 99 ctx, NP(parent), interval, NP(community), NP(network))); 118 g_timeout_add(interval * 1000, nds_snmp_scan_cb, snmp_cb_data); 165 int interval = -1; local 171 DBUS_TYPE_INT32, &interval, 179 rc = nds_EnablePrinterScanningViaSNMP(ctx, udi, interval, 183 int interval = -1; local 232 " <arg name=\"interval\" direction=\"in\" type=\"i\"/>\n"
|
H A D | svc-network-discovery | 54 interval=`/bin/svcprop -p config/interval ${SMF_FMRI} 2>/dev/null` 58 MESSAGE="${MESSAGE} int32:${interval:-60}"
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/ehci/ |
H A D | ehci_util.c | 82 * device with polling interval greater than or equal 94 /* Only for high speed devices with polling interval 4us */ 100 /* Only for high speed devices with polling interval 2us */ 104 /* Only for high speed devices with polling interval 1us */ 202 static uint_t ehci_lattice_height(uint_t interval); 206 int interval); 217 int interval); 225 int interval); 233 int interval); 239 int interval); 2181 int interval; local 2292 int i, interval; local 2455 int interval; local 2533 int i, interval; local 2795 uint_t interval; local 2917 uint_t interval; local 2949 ehci_lattice_height(uint_t interval) argument 2979 ehci_find_periodic_node(uint_t leaf, int interval) argument 3069 ehci_find_bestfit_hs_mask( ehci_state_t *ehcip, uchar_t *smask, uint_t *pnode, usb_ep_descr_t *endpoint, uint_t bandwidth, int interval) argument 3183 ehci_find_bestfit_ls_intr_mask( ehci_state_t *ehcip, uchar_t *smask, uchar_t *cmask, uint_t *pnode, uint_t sbandwidth, uint_t cbandwidth, int interval) argument 3291 ehci_find_bestfit_sitd_in_mask( ehci_state_t *ehcip, uchar_t *smask, uchar_t *cmask, uint_t *pnode, uint_t sbandwidth, uint_t cbandwidth, int interval) argument 3413 ehci_find_bestfit_sitd_out_mask( ehci_state_t *ehcip, uchar_t *smask, uint_t *pnode, uint_t sbandwidth, int interval) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ral/ |
H A D | ral_rate.c | 118 long interval; local 128 interval = MAX(100000, 10000000 / MAX(1, 10 * ra->ra_pktrate)); 129 ra->ra_raise_interval.tv_sec = interval / (1000 * 1000); 130 ra->ra_raise_interval.tv_usec = interval % (1000 * 1000);
|
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/ |
H A D | pcmu_ib.c | 154 hrtime_t prev, curr, interval, jump; local 181 interval = curr - prev; 182 if (interval > jump) 183 intr_timeout += interval; 241 hrtime_t prev, curr, interval, jump; local 267 interval = curr - prev; 268 if (interval > jump) 269 intr_timeout += interval; 502 hrtime_t prev, curr, interval, jump; local 535 interval 592 hrtime_t prev, curr, interval, jump; local [all...] |
/illumos-gate/usr/src/uts/intel/sys/ |
H A D | hrtcntl.h | 52 HRT_GETIT, /* Return the interval time elapsed */ 57 /* event after the time interval has */ 60 /* every time interval. */ 74 /* interval. */ 102 typedef struct interval { struct 110 * or interval. 127 hrtimes_t hrtc_int; /* A time interval. */
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_work.c | 61 dtrace_optval_t interval = dtp->dt_options[opt]; local 72 if (*((hrtime_t *)a) + interval < earliest) 73 earliest = *((hrtime_t *)a) + interval; 116 dtrace_optval_t interval = dtp->dt_options[DTRACEOPT_STATUSRATE]; local 126 if (now - dtp->dt_laststatus < interval) 129 dtp->dt_laststatus += interval;
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/littleneck/conf/ |
H A D | platsvcd.conf | 38 * Specifies a maximum interval in seconds that an application 41 * INTERVAL <poll interval in seconds> <#tasks at this interval> 43 * Indicates the poll interval at which a list of tasks will be run
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppstats/ |
H A D | pppstats.c | 101 static int interval, count; variable 140 * Called if an interval expires before intpr has completed a loop. 312 #define KBPS(n) ((n) / (interval * 1000.0)) 316 * Repeat display every interval seconds, showing statistics 317 * collected over that interval. Assumes that interval is non-zero. 340 (void)alarm(interval); 469 (void)alarm(interval); 518 interval = atoi(optarg); 519 if (interval < [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | rdsv3_debug.c | 355 clock_t interval; member in struct:ratelimit_state 363 #define DEFINE_RATELIMIT_STATE(name, interval, burst) \ 364 static struct ratelimit_state name = {interval, burst, } 377 if (rs->interval) { 384 if (current < rs->begin + TICK_TO_NSEC(rs->interval)) {
|
/illumos-gate/usr/src/cmd/auditstat/ |
H A D | auditstat.c | 59 static int interval; variable 113 (void) sleep(interval); 215 "auditstat: invalid interval specified.\n"); 218 interval = atoi(optarg); 256 "[-T d|u] [-i interval] [-n] [-v]\n");
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/conf/ |
H A D | platsvcd.conf | 37 * Specifies a maximum interval in seconds that an application 40 * INTERVAL <poll interval in seconds> <#tasks at this interval> 42 * Indicates the poll interval at which a list of tasks will be run
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/sebring/conf/ |
H A D | platsvcd.conf | 37 * Specifies a maximum interval in seconds that an application 40 * INTERVAL <poll interval in seconds> <#tasks at this interval> 42 * Indicates the poll interval at which a list of tasks will be run
|