Searched refs:idle (Results 26 - 50 of 58) sorted by relevance

123

/freebsd-13-stable/usr.bin/ctlstat/
H A Dctlstat.c88 uint64_t idle; member in struct:ctl_cpu_stats
226 cpu_stats->idle = cp_time[CP_IDLE];
403 ctx->cur_cpu.intr + ctx->cur_cpu.idle;
408 ctx->cur_idle = ctx->cur_cpu.idle;
/freebsd-13-stable/sys/net/altq/
H A Daltq_rmclass.c144 * maxidle max value allowed for class 'idle' time estimate (this
168 * not nanoseconds.) Also note that the 'idle' filter computation keeps
1253 int idle, avgidle, pktlen; local
1317 TV_DELTA(&ifd->ifnow_, &cl->last_, idle);
1318 if (idle >= 2000000)
1320 * this class is idle enough, reset avgidle.
1332 idle -= pkt_time;
1335 avgidle += idle - (avgidle >> RM_FILTER_GAIN);
1349 /* set next idle to make avgidle 0 */
/freebsd-13-stable/sys/netinet/
H A Dtcp_output.c216 int idle, sendalot, curticks; local
265 idle = (tp->t_flags & TF_LASTIDLE) || (tp->snd_max == tp->snd_una);
266 if (idle && (((ticks - tp->t_rcvtime) >= tp->t_rxtcur) ||
270 if (idle) {
273 idle = 0;
588 * either idle or running NODELAY
619 (idle || (tp->t_flags & TF_NODELAY)) &&
737 * idle not doing retransmits or persists
747 * The output side is idle when both timers are zero.
2164 * TODO: Shrink send buffer during idle period
[all...]
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/
H A Dzio_inject.c625 * idle the soonest, so we compare the soonest this
634 * lane that will become idle the soonest). This saves a
639 * lane is idle, we want to "submit" the request now so
644 * zi_timer milliseconds after the lane becomes idle.
646 * each lane will become idle, we use that value to
649 hrtime_t idle = handler->zi_record.zi_timer + gethrtime(); local
652 hrtime_t target = MAX(idle, busy);
681 * the lane that will become idle the soonest.
/freebsd-13-stable/sys/powerpc/powermac/
H A Duninorth.c658 unin_chip_sleep(device_t dev, int idle) argument
665 if (idle)
/freebsd-13-stable/sys/contrib/octeon-sdk/
H A Dcvmx-dpi-defs.h630 uint64_t idle : 1; /**< DMA Request Queue is IDLE */ member in struct:cvmx_dpi_dmax_ibuff_saddr::cvmx_dpi_dmax_ibuff_saddr_s
643 uint64_t idle : 1;
657 uint64_t idle : 1; /**< DMA Request Queue is IDLE */ member in struct:cvmx_dpi_dmax_ibuff_saddr::cvmx_dpi_dmax_ibuff_saddr_cn61xx
672 uint64_t idle : 1;
/freebsd-13-stable/sys/contrib/ncsw/Peripherals/FM/MACSEC/
H A Dfm_macsec_master.h244 volatile uint32_t idle; /**< MACsec Idle status Register */ member in struct:__anon9691
/freebsd-13-stable/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_snmp.h50 uint16_t idle; member in struct:wlan_peer
/freebsd-13-stable/sbin/ipfw/
H A Dnat64lsn.c143 sflags, ste->idle, f, ste->dport);
147 s, a, proto, ste->idle, f);
151 s, a, ste->proto, ste->idle, f);
H A Ddummynet.c1825 * max idle time (in ticks) before avg queue size becomes 0.
1830 idle = s * 3. / w_q;
1831 fs->lookup_step = (int)idle / lookup_depth;
/freebsd-13-stable/contrib/apr-util/misc/
H A Dapr_thread_pool.c232 * there is any. Otherwise, put itself into the idle thread list and waiting
235 * after finishing a task. Otherwise, the thread should be in idle thread list
253 /* Test if not new element, it is awakened from idle */
296 /* busy thread become idle */
302 * Since there is no guarantee that current idle threads are scheduled
322 /* idle thread been asked to stop, will be joined */
774 * This function stop extra idle threads to the cnt.
776 * NOTE: There could be busy threads become idle during this function
779 apr_size_t *cnt, int idle)
786 if (idle) {
778 trim_threads(apr_thread_pool_t *me, apr_size_t *cnt, int idle) argument
[all...]
/freebsd-13-stable/sys/contrib/ngatm/netnatm/saal/
H A Dsaal_sscop.c280 TIMER_FUNC(idle, IDLE)
426 TIMER_STOP(sscop, idle);
482 TIMER_INIT(sscop, idle);
545 /* can change only in idle state */
1208 TIMER_STOP(sscop, idle);
1241 TIMER_ISACT(sscop, idle)))
3820 TIMER_STOP(sscop, idle);
3843 if(TIMER_ISACT(sscop, idle)) {
3844 TIMER_STOP(sscop, idle);
4298 } else if(!TIMER_ISACT(sscop, idle)) {
[all...]
/freebsd-13-stable/sys/kern/
H A Dkern_switch.c104 SCHED_STAT_DEFINE_VAR(idle,
/freebsd-13-stable/sys/dev/sym/
H A Dsym_fw1.h123 u32 idle [ 4]; member in struct:SYM_FWA_SCR
125 u32 idle [ 2]; member in struct:SYM_FWA_SCR
262 * arbitration or if it is the idle job.
324 * when the bus becomes idle.
H A Dsym_fw2.h116 u32 idle [ 4]; member in struct:SYM_FWA_SCR
118 u32 idle [ 2]; member in struct:SYM_FWA_SCR
252 * arbitration or if it is the idle job.
297 * when the bus becomes idle.
H A Dsym_hipd.c1780 scripta0->idle[0] = cpu_to_scr(SCR_NO_OP);
1821 scripta0->idle[0] = cpu_to_scr(SCR_NO_OP);
2902 * Insert first the idle task and then our job.
4583 if (i != j) /* Copy back the idle task if needed */
6520 cp->phys.head.go.start = cpu_to_scr(SCRIPTA_BA (np, idle));
8669 * Prepare the idle and invalid task actions.
8671 np->idletask.start = cpu_to_scr(SCRIPTA_BA (np, idle));
8675 np->notask.start = cpu_to_scr(SCRIPTA_BA (np, idle));
8679 np->bad_itl.start = cpu_to_scr(SCRIPTA_BA (np, idle));
8683 np->bad_itlq.start = cpu_to_scr(SCRIPTA_BA (np, idle));
[all...]
/freebsd-13-stable/sys/gnu/dev/bwn/phy_n/
H A Dif_bwn_phy_n_core.c4220 uint8_t idle[2]; local
4267 idle[0] = nphy->pwr_ctl_info[0].idle_tssi_2g;
4268 idle[1] = nphy->pwr_ctl_info[1].idle_tssi_2g;
4276 idle[c] = nphy->pwr_ctl_info[c].idle_tssi_2g;
4284 idle[c] = nphy->pwr_ctl_info[c].idle_tssi_5g;
4292 idle[c] = nphy->pwr_ctl_info[c].idle_tssi_5g;
4300 idle[c] = nphy->pwr_ctl_info[c].idle_tssi_5g;
4307 idle[0] = nphy->pwr_ctl_info[0].idle_tssi_5g;
4308 idle[1] = nphy->pwr_ctl_info[1].idle_tssi_5g;
4375 idle[
[all...]
/freebsd-13-stable/contrib/bsnmp/snmpd/
H A Dsnmpmod.h324 /* the idle function */
325 void (*idle)(void); member in struct:snmp_module
H A Dmain.c1733 if (mod->config->idle != NULL)
1734 (*mod->config->idle)();
/freebsd-13-stable/usr.bin/top/
H A Dmachine.c124 "user", "nice", "system", "interrupt", "idle", NULL
845 /* skip kernel idle process */
851 if (displaymode == DISP_CPU && !sel->idle &&
854 /* skip idle or non-running processes */
857 if (displaymode == DISP_IO && !sel->idle && p_io == 0)
/freebsd-13-stable/sys/netpfil/ipfw/
H A Dip_dummynet.c1200 int64_t s, idle, weight, w0; local
1211 idle = div64((s * 3) , fs->w_q); /* s, fs->w_q scaled; idle not scaled */
1212 fs->lookup_step = div64(idle , V_dn_cfg.red_lookup_depth);
2382 /* Callback called on scheduler instance to delete it if idle */
2433 /* Callback called on queue to delete if it is idle */
/freebsd-13-stable/sys/dev/mn/
H A Dif_mn.c104 u_int8_t test1, idle, xsa4, xsa5, xsa6, xsa7, xsa8, fmr3; member in struct:f54wreg
124 u_int8_t test, idle, xsa4, xsa5, xsa6, xsa7, xsa8, fmr13; member in struct:f54rreg
/freebsd-13-stable/contrib/wpa/src/p2p/
H A Dp2p.h1754 * idle_update - Notification of changes in group idle state
1756 * @idle: Whether the group is idle (no associated stations)
1758 void (*idle_update)(void *ctx, int idle);
2255 * Returns: 0 if P2P module is idle, 1 if an operation is in progress but not
/freebsd-13-stable/sys/netpfil/ipfw/nat64/
H A Dnat64lsn_control.c595 s->idle = GET_AGE(state->timestamp);
/freebsd-13-stable/sys/x86/x86/
H A Dcpu_machdep.c231 * disabled. Disable it while we are idle so the other
488 void (*cpu_idle_hook)(sbintime_t) = NULL; /* ACPI idle hook. */
492 static int idle_mwait = 1; /* Use MONITOR/MWAIT for short idle. */
494 0, "Use MONITOR/MWAIT for short idle");
614 /* If we have time - switch timers into idle mode. */
628 /* Call main idle method. */
710 "list of available idle functions");
728 printf("CPU idle set to %s\n", idle_tbl[i].id_name);
754 SYSCTL_PROC(_machdep, OID_AUTO, idle,
757 "currently selected idle functio
[all...]

Completed in 422 milliseconds

123