Searched refs:busy (Results 1 - 25 of 105) sorted by relevance

12345

/freebsd-9.3-release/sys/kern/
H A Dsubr_unit.c181 u_char busy; member in struct:unrb
196 u_int busy; /* Count of allocated items */ member in struct:unrhdr
235 KASSERT (w == ub->busy,
236 ("UNR inconsistency: busy %u found %u (line %d)\n",
237 ub->busy, w, line));
242 KASSERT (y == uh->busy,
244 uh->busy, y, line));
351 KASSERT(uh->busy == 0, ("unrhdr has %u allocations", uh->busy));
424 ub->busy
[all...]
H A Dkern_clocksource.c103 static u_int busy = 0; /* Reconfiguration is in progress. */ variable
166 if (doconfigtimer() || busy)
255 if (!busy) {
349 if (busy)
506 if (atomic_readandclear_int(&state->handle) && !busy) {
552 busy = 0;
556 busy = 1;
776 if (idletick || busy ||
811 if (state->idle == 0 || busy)
876 if (state->idle == 0 || busy) {
[all...]
/freebsd-9.3-release/sys/dev/ppbus/
H A Dpps.c47 int busy; member in struct:pps_data
222 if (!sc->busy) {
237 if (subdev > 0 && !(sc->busy & ~1)) {
242 sc->busy |= (1 << subdev);
257 sc->busy &= ~(1 << subdev);
258 if (subdev > 0 && !(sc->busy & ~1))
260 if (!sc->busy) {
281 KASSERT(sc->busy & ~1, ("pps polling w/o opened devices"));
H A Dppb_base.c200 status->busy = !(r & nBUSY);
H A Dppbconf.h102 unsigned int busy:1; member in struct:ppb_status
/freebsd-9.3-release/contrib/gcc/
H A Dgthr-vxworks.h106 volatile unsigned char busy; member in struct:__anon1179
/freebsd-9.3-release/sys/dev/tdfx/
H A Dtdfx_vars.h97 int busy; member in struct:tdfx_softc
/freebsd-9.3-release/sys/ia64/ia64/
H A Dsscdisk.c87 int busy; member in struct:ssc_s
108 if (sc->busy) {
113 sc->busy++;
146 sc->busy = 0;
/freebsd-9.3-release/contrib/gcc/config/
H A Dvxlib.c57 mutual exclusion. Threads losing the race then busy-wait, calling
70 while (!vxTas ((void *)&guard->busy))
85 guard->busy = 0;
/freebsd-9.3-release/sys/contrib/octeon-sdk/
H A Dcvmx-mpi-defs.h253 uint64_t busy : 1; /**< If 0, no MPI transaction in progress member in struct:cvmx_mpi_sts::cvmx_mpi_sts_s
256 uint64_t busy : 1;
H A Dcvmx-mixx-defs.h353 uint64_t busy : 1; /**< MIX Busy Status bit member in struct:cvmx_mixx_ctl::cvmx_mixx_ctl_s
354 MIX will assert busy status any time there are:
419 uint64_t busy : 1;
436 uint64_t busy : 1; /**< MIX Busy Status bit member in struct:cvmx_mixx_ctl::cvmx_mixx_ctl_cn52xx
437 MIX will assert busy status any time there are:
502 uint64_t busy : 1;
/freebsd-9.3-release/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_misc.c169 * Return approximation of extension channel busy over an time interval
170 * 0% (clear) -> 100% (busy)
177 uint32_t busy; /* percentage */ local
190 busy = 0;
210 /* Compute ratio of extension channel busy to control channel clear
214 * if the ctrl rxclear is de-asserted (i.e. busy)
217 busy = (extBusyDelta * 100) / ctlClearDelta;
219 busy = 100;
221 if (busy > 100) {
222 busy
[all...]
/freebsd-9.3-release/sys/dev/ieee488/
H A Dupd7210.c107 if (u->busy == 0 || u->irq == NULL || !u->irq(u, isr_3)) {
223 if (u->busy) {
227 u->busy = 1;
269 u->busy = 0;
H A Dupd7210.h65 int busy; member in struct:upd7210
/freebsd-9.3-release/sys/powerpc/powerpc/
H A Dcpu.c509 cpu_idle(int busy) argument
521 busy, curcpu);
523 if (!busy) {
528 if (!busy) {
534 busy, curcpu);
/freebsd-9.3-release/sys/dev/acpi_support/
H A Dacpi_asus.c106 int busy; member in struct:acpi_asus_led
754 sc->s_bled.busy = 0;
763 sc->s_dled.busy = 0;
771 sc->s_gled.busy = 0;
779 sc->s_mled.busy = 0;
787 sc->s_tled.busy = 0;
796 sc->s_wled.busy = 0;
921 led->busy = 0;
930 if (led->busy)
933 led->busy
[all...]
/freebsd-9.3-release/usr.sbin/mfiutil/
H A Dmfi_show.c702 int busy, error, fd; local
732 busy = 0;
747 busy = 1;
753 busy = 1;
759 busy = 1;
765 busy = 1;
786 busy = 1;
793 busy = 1;
799 busy = 1;
806 if (!busy)
[all...]
/freebsd-9.3-release/sys/dev/sound/midi/
H A Dmidi.c108 int busy; member in struct:snd_midi
353 m->busy = 0;
404 if (m->busy) {
651 m->busy++;
699 m->busy--;
711 MIDI_DEBUG(1, printf("midi_close: closed, busy = %d.\n", m->busy));
769 if (!m->busy)
845 if (!m->busy)
1107 m->busy
[all...]
/freebsd-9.3-release/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp.h148 (ssk->tx_ring.rdma_inflight ? ssk->tx_ring.rdma_inflight->busy : 0))
259 int busy; member in struct:bzcopy_state
290 u8 busy; member in struct:rx_srcavail_state
295 /* Data below 'busy' will be reset */
296 u8 busy; member in struct:tx_srcavail_state
458 memset((void *)&tx_sa->busy, 0,
459 sizeof(*tx_sa) - offsetof(typeof(*tx_sa), busy));
H A Dsdp_tx.c186 BZCOPY_STATE(mb)->busy--;
246 if (!ssk->tx_ring.rdma_inflight->busy) {
255 ssk->tx_ring.rdma_inflight->busy = 0;
342 if (ssk->tx_ring.rdma_inflight && ssk->tx_ring.rdma_inflight->busy) {
/freebsd-9.3-release/sys/dev/iicbus/
H A Dmax6690.c110 uint8_t busy[1], rsl; local
115 /* first read the status register, 0x2. If busy, retry. */
118 { addr, IIC_M_RD, 1, busy },
128 if (busy[0] & 0x80)
/freebsd-9.3-release/sys/mips/mips/
H A Dmachdep.c489 cpu_idle(int busy) argument
496 if (!busy) {
501 if (!busy) {
/freebsd-9.3-release/sys/net/
H A Dif_atm.h262 #define ATMEV_FLOW_CONTROL 0x0001 /* channel busy state changed */
270 u_int busy : 1; /* != 0 -> ATM layer busy */ member in struct:atmev_flow_control
307 _arg.busy = (BUSY); \
/freebsd-9.3-release/sys/dev/netmap/
H A Dnetmap_pipe.c189 int m, busy; local
202 busy = j - rxkring->nr_hwcur; /* busy slots */
203 if (busy < 0)
204 busy += txkring->nkr_num_slots;
205 m -= busy; /* subtract busy slots */
562 ND("parent busy");
/freebsd-9.3-release/sys/dev/sound/pcm/
H A Dmixer.c52 int busy; member in struct:snd_mixer
178 CHN_FOREACH(c, d, channels.pcm.busy) {
231 CHN_FOREACH(c, d, channels.pcm.busy) {
635 m->busy = 0;
785 if (m->busy) {
966 return (m->busy);
1053 m->busy = 1;
1077 ret = (m->busy == 0) ? EBADF : 0;
1078 m->busy = 0;
1264 if (from == MIXER_CMD_CDEV && !m->busy) {
[all...]

Completed in 319 milliseconds

12345