Searched refs:busy (Results 101 - 118 of 118) sorted by path

12345

/freebsd-11-stable/sys/dev/sf/
H A Dif_sf.c377 int busy; local
384 busy = csr_read_4(sc, SF_PHY_REG(phy, reg));
385 if ((busy & SF_MII_BUSY) == 0)
/freebsd-11-stable/sys/dev/sound/midi/
H A Dmidi.c107 int busy; member in struct:snd_midi
352 m->busy = 0;
407 if (m->busy) {
656 m->busy++;
704 m->busy--;
716 MIDI_DEBUG(1, printf("midi_close: closed, busy = %d.\n", m->busy));
774 if (!m->busy)
850 if (!m->busy)
1107 m->busy
[all...]
/freebsd-11-stable/sys/dev/sound/pci/
H A Demu10k1.c179 unsigned int b16:1, stereo:1, busy:1, running:1, ismaster:1; member in struct:emu_voice
559 for (i = 0; i < 64 && sc->voice[i].busy; i++);
562 v->busy = 1;
1835 sc->voice[ch].busy = 0;
/freebsd-11-stable/sys/dev/sound/pcm/
H A Dchannel.h149 } busy; member in struct:pcm_channel::__anon5229
157 } busy; member in struct:pcm_channel::__anon5231::__anon5232
H A Ddsp.c59 int busy, simplex; member in struct:dsp_cdevinfo
248 if (cdi->busy != 0)
254 cdi->busy = 1;
267 cdi->busy = 1;
295 cdi->busy = 0;
311 if (cdi->busy != 0) {
795 * Release clone busy state and unref it so the automatic
2632 ai->busy = 0;
2634 ai->busy = (ch->direction == PCMDIR_PLAY) ? OPEN_WRITE : OPEN_READ;
H A Dmixer.c51 int busy; member in struct:snd_mixer
177 CHN_FOREACH(c, d, channels.pcm.busy) {
230 CHN_FOREACH(c, d, channels.pcm.busy) {
635 m->busy = 0;
785 if (m->busy) {
966 return (m->busy);
1061 m->busy = 1;
1085 ret = (m->busy == 0) ? EBADF : 0;
1086 m->busy = 0;
1281 if (from == MIXER_CMD_CDEV && !m->busy) {
[all...]
H A Dsound.c1117 CHN_INIT(d, channels.pcm.busy);
1174 "unregister: channel %s busy (pid %d)\n",
1185 device_printf(dev, "unregister: clone busy\n");
1196 device_printf(dev, "unregister: mixer busy\n");
1262 * are open (busy).
1348 * @todo Fill in "busy devices" fields.
H A Dsound.h384 } busy; member in struct:snddev_info::__anon4::__anon5
/freebsd-11-stable/sys/fs/tmpfs/
H A Dtmpfs_vfsops.c254 if (map->busy)
/freebsd-11-stable/sys/kern/
H A Dkern_clocksource.c93 static u_int busy = 1; /* Reconfiguration is in progress. */ variable
140 if (doconfigtimer() || busy)
216 if (!busy) {
310 if (busy)
465 if (atomic_readandclear_int(&state->handle) && !busy) {
521 busy = 0;
525 busy = 1;
764 if (idletick || busy ||
799 if (state->idle == 0 || busy)
840 if (busy)
[all...]
H A Dsubr_bus.c128 int busy; /**< count of calls to device_busy() */ member in struct:device
1808 dev->busy = 0;
2599 * @brief Increment the busy counter for the device
2606 if (dev->busy == 0 && dev->parent)
2608 dev->busy++;
2614 * @brief Decrement the busy counter for the device
2619 if (dev->busy != 0 && dev->state != DS_BUSY &&
2621 panic("device_unbusy: called for non-busy device %s",
2623 dev->busy--;
2624 if (dev->busy
[all...]
H A Dtty.c169 * The unusual structure of this loop ensures we check for busy one more
1047 PATCH_FUNC(busy);
H A Dvfs_subr.c603 * Mark a mount point as busy. Used to synchronize access and to delay
656 * telling the caller that mount mount it tried to busy is no longer
683 * Free a busy filesystem.
3063 * of this filesystem. The root vnode is considered busy if its
3070 static int busyprt = 0; /* print out busy vnodes */
3071 SYSCTL_INT(_debug, OID_AUTO, busyprt, CTLFLAG_RW, &busyprt, 0, "Print out busy vnodes");
3079 int busy = 0, error; local
3153 busy++;
3156 vn_printf(vp, "vflush: busy vnode ");
3164 * If just the root vnode is busy, an
[all...]
/freebsd-11-stable/sys/riscv/riscv/
H A Dmachdep.c348 cpu_idle(int busy) argument
352 if (!busy)
358 if (!busy)
/freebsd-11-stable/sys/sparc64/sparc64/
H A Dmachdep.c940 cpu_idle(int busy) argument
/freebsd-11-stable/sys/vm/
H A Dvm_map.c722 map->busy++;
730 KASSERT(map->busy, ("vm_map_unbusy: not busy"));
731 if (--map->busy == 0 && (map->flags & MAP_BUSY_WAKEUP)) {
733 wakeup(&map->busy);
742 while (map->busy) {
745 msleep(&map->busy, &map->system_mtx, 0, "mbusy", 0);
747 sx_sleep(&map->busy, &map->lock, 0, "mbusy", 0);
793 map->busy = 0;
2703 * mark. Mark the map busy fo
[all...]
H A Dvm_map.h205 int busy; member in struct:vm_map
/freebsd-11-stable/sys/x86/x86/
H A Dcpu_machdep.c645 cpu_idle(int busy) argument
651 busy, curcpu);
656 /* If we are busy - try to use fast methods. */
657 if (busy) {
659 cpu_idle_mwait(busy);
665 if (!busy) {
681 if (!busy) {
687 busy, curcpu);

Completed in 224 milliseconds

12345