/freebsd-11-stable/sys/dev/sf/ |
H A D | if_sf.c | 377 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 D | midi.c | 107 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 D | emu10k1.c | 179 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 D | channel.h | 149 } busy; member in struct:pcm_channel::__anon5229 157 } busy; member in struct:pcm_channel::__anon5231::__anon5232
|
H A D | dsp.c | 59 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 D | mixer.c | 51 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 D | sound.c | 1117 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 D | sound.h | 384 } busy; member in struct:snddev_info::__anon4::__anon5
|
/freebsd-11-stable/sys/fs/tmpfs/ |
H A D | tmpfs_vfsops.c | 254 if (map->busy)
|
/freebsd-11-stable/sys/kern/ |
H A D | kern_clocksource.c | 93 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 D | subr_bus.c | 128 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 D | tty.c | 169 * The unusual structure of this loop ensures we check for busy one more 1047 PATCH_FUNC(busy);
|
H A D | vfs_subr.c | 603 * 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 D | machdep.c | 348 cpu_idle(int busy) argument 352 if (!busy) 358 if (!busy)
|
/freebsd-11-stable/sys/sparc64/sparc64/ |
H A D | machdep.c | 940 cpu_idle(int busy) argument
|
/freebsd-11-stable/sys/vm/ |
H A D | vm_map.c | 722 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 D | vm_map.h | 205 int busy; member in struct:vm_map
|
/freebsd-11-stable/sys/x86/x86/ |
H A D | cpu_machdep.c | 645 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);
|