Searched defs:interval (Results 1 - 22 of 22) sorted by relevance

/osnet-11/usr/src/lib/libnisdb/
H A Dnis_ldap.c137 int interval; local
139 interval = t->initTtlHi - t->initTtlLo + 1;
141 if (interval > 1) {
143 ttl = (lrand48() % interval);
H A Ddb_table.cc625 int interval = hi - lo + 1; local
626 if (interval <= 1) {
631 (lrand48() % interval);
850 int interval = mapping.initTtlHi - mapping.initTtlLo + 1; local
853 if (interval > 1)
858 if (interval > 1)
861 (lrand48() % interval);
/osnet-11/usr/src/lib/libdtrace/common/
H A Ddt_work.c61 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;
H A Ddt_aggregate.c715 dtrace_optval_t interval = dtp->dt_options[DTRACEOPT_AGGRATE]; local
718 if (now - dtp->dt_lastagg < interval)
721 dtp->dt_lastagg += interval;
H A Ddt_consume.c2187 dtrace_optval_t interval = dtp->dt_options[DTRACEOPT_SWITCHRATE]; local
2191 if (now - dtp->dt_lastswitch < interval)
2194 dtp->dt_lastswitch += interval;
/osnet-11/usr/src/grub/grub2/include/grub/
H A Dusbdesc.h104 grub_uint8_t interval; member in struct:grub_usb_desc_endp
/osnet-11/usr/src/cmd/powertop/common/
H A Dpowertop.c128 double interval; local
163 interval = INTERVAL_DEFAULT;
201 interval = (double)strtod(optarg,
204 if (*endptr != NULL || interval < 1 ||
205 interval > INTERVAL_MAX) {
272 (float)interval);
340 (int)(interval * MILLISEC)) > 0)
343 (void) sleep((int)interval);
403 interval = 3;
H A Ddisplay.c565 pt_display_wakeups(double interval) argument
594 "%.1fs", (double)(g_total_events/interval), interval);
602 pt_display_events(double interval) argument
641 (double)event->total_count / interval);
/osnet-11/usr/src/cmd/cmd-inet/usr.bin/pppstats/
H A Dpppstats.c101 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...]
/osnet-11/usr/src/cmd/hal/addons/network-devices/
H A Daddon-network-discovery.c95 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"
/osnet-11/usr/src/lib/libc/port/rt/
H A Dsched.c508 sched_rr_get_interval(pid_t pid, timespec_t *interval) argument
530 interval->tv_sec = 0;
531 interval->tv_nsec = 0;
539 interval->tv_sec = rtp->rt_tqsecs;
540 interval->tv_nsec = rtp->rt_tqnsecs;
548 interval->tv_sec = fxp->fx_tqsecs;
549 interval->tv_nsec = fxp->fx_tqnsecs;
/osnet-11/usr/src/lib/libresolv2/common/isc/
H A Deventlib.c218 struct timespec interval; local
300 interval = evSubTime(ctx->lastEventTime,
302 if (interval.tv_sec > 0 || interval.tv_nsec > 0)
305 interval.tv_sec, interval.tv_nsec,
483 struct timespec interval; local
570 interval = evSubTime(evNowTime(), start_time);
577 if (interval.tv_sec > 0 || interval
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/net/
H A Dbootp.c515 int interval; local
558 for (interval = 200; interval < 10000; interval *= 2)
633 grub_net_poll_cards (interval);
H A Dnet.c291 int interval; local
332 for (interval = 200; interval < 10000; interval *= 2)
344 grub_net_poll_cards (interval);
/osnet-11/usr/src/lib/libnisdb/yptol/
H A Ddit_access.c279 int interval, res; local
305 interval = table_map->initTtlHi - table_map->initTtlLo;
306 if (0 >= interval)
313 return (lrand48() % interval);
/osnet-11/usr/src/lib/libcommputil/common/
H A Dsdp.c518 * r=<repeat interval> <active duration> <offsets from start-time>
521 sdp_add_repeat(sdp_time_t *time, uint64_t interval, uint64_t duration, argument
533 new_repeat->r_interval = interval;
/osnet-11/usr/src/lib/librcm/
H A Dlibrcm.c241 /* request for permission to suspend resource of interval time */
244 timespec_t *interval, rcm_info_t **infop)
251 return (rcm_request_suspend_list(hd, rsrcnames, flag, interval, infop));
254 /* request for permission to suspend resource of interval time (list form) */
257 timespec_t *interval, rcm_info_t **infop)
259 if ((flag & ~RCM_REQUEST_MASK) || (interval == NULL) ||
260 (interval->tv_sec < 0) || (interval->tv_nsec < 0)) {
265 return (rcm_common(CMD_SUSPEND, hd, rsrcnames, flag, (void *)interval,
243 rcm_request_suspend(rcm_handle_t *hd, char *rsrcname, uint_t flag, timespec_t *interval, rcm_info_t **infop) argument
256 rcm_request_suspend_list(rcm_handle_t *hd, char **rsrcnames, uint_t flag, timespec_t *interval, rcm_info_t **infop) argument
/osnet-11/usr/src/lib/libdladm/common/
H A Dlibdladm.c543 dladm_str2interval(char *oarg, uint32_t *interval) argument
553 *interval = val;
H A Dlibdllink.c87 uint_t interval)
92 log_info.ul_interval = interval;
86 dladm_start_usagelog(dladm_handle_t handle, dladm_logtype_t type, uint_t interval) argument
H A Dlibdlstat.c541 const char *flowname, int interval, int opt)
559 (void) sleep(max(1, interval));
1118 * We don't support -i <interval> for all link stat query. Several table fields
540 dladm_continuous(dladm_handle_t handle, datalink_id_t linkid, const char *flowname, int interval, int opt) argument
/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Dnic.c790 unsigned long interval = IGMP_INTERVAL; local
794 interval = (igmp->response_time * TICKS_PER_SEC)/10;
804 time = currticks() + rfc1112_sleep_interval(interval, 0);
/osnet-11/usr/src/lib/libima/common/
H A Dima-lib.c7313 IMA_OID pluginOid, time_t interval) {
7321 if (interval <= 1)
7348 status = updFunc(pluginOid, interval);
7312 QIMA_SetUpdateInterval( IMA_OID pluginOid, time_t interval) argument

Completed in 84 milliseconds