Searched refs:busy (Results 1 - 25 of 118) sorted by last modified time

12345

/freebsd-11-stable/contrib/sqlite3/
H A Dsqlite3.c2052 ** to the connection's busy-handler callback. The argument is of type (void**)
2055 ** busy-handler, this function should be invoked with the second (void *) in
3677 ** KEYWORDS: {busy-handler callback} {busy handler}
3688 ** ^If the busy callback is NULL, then [SQLITE_BUSY]
3689 ** is returned immediately upon encountering the lock. ^If the busy callback
3692 ** ^The first argument to the busy handler is a copy of the void* pointer which
3694 ** the busy handler callback is the number of times that the busy handler has
3696 ** busy callbac
17006 u8 busy; /* TRUE if currently initializing */ member in struct:sqlite3::sqlite3InitInfo
[all...]
/freebsd-11-stable/sys/dev/netmap/
H A Dnetmap.c1966 nm_prdis("ring %s busy", kring->name);
3691 nm_prerr("Error: netmap adapter hook is busy");
3848 int busy; local
3910 busy = kring->nr_hwtail - kring->nr_hwcur;
3911 if (busy < 0)
3912 busy += kring->nkr_num_slots;
3913 if (busy + mbq_len(q) >= kring->nkr_num_slots - 1) {
H A Dnetmap_kern.h1212 int busy = 1, stopped; local
1221 busy = NM_ATOMIC_TEST_AND_SET(&kr->nr_busy);
1236 return unlikely(busy) ? NM_KR_BUSY : 0;
1239 if (!busy)
/freebsd-11-stable/sys/dev/mlx5/mlx5_core/
H A Dmlx5_cmd.c155 ent->busy = 1;
629 return "resource busy";
891 ent->busy = 0;
/freebsd-11-stable/sys/dev/mlx5/
H A Ddriver.h834 u8 busy; member in struct:mlx5_cmd_work_ent
H A Dmlx5_ifc.h9633 u8 busy[0x1]; member in struct:mlx5_ifc_icmd_control_bits
/freebsd-11-stable/sys/dev/e1000/
H A Dif_em.c1013 if (txr->busy == EM_TX_IDLE)
1014 txr->busy = EM_TX_BUSY;
1042 * however, if busy the driver can queue the request rather
1117 if ((enq > 0) && (txr->busy == EM_TX_IDLE))
1118 txr->busy = EM_TX_BUSY;
2359 if (txr->busy == EM_TX_HUNG)
2361 if (txr->busy >= EM_TX_MAXTRIES)
2362 txr->busy = EM_TX_HUNG;
2466 txr->busy = EM_TX_IDLE;
2500 txr->busy
[all...]
/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);
/freebsd-11-stable/sys/kern/
H A Dtty.c169 * The unusual structure of this loop ensures we check for busy one more
1047 PATCH_FUNC(busy);
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 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/dev/sound/pcm/
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.h384 } busy; member in struct:snddev_info::__anon4::__anon5
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.
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DMachODump.cpp9463 outs() << " busy " << fpu.fpu_fsw.busy << "\n";
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMachO.h1585 c3 : 1, busy : 1; member in struct:llvm::MachO::fp_status_t
/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/cx/
H A Dif_cx.c373 int mask, busy, cnt; local
379 /* Get the mask of pending irqs, assuming they are busy.
381 busy = cx_probe_irq (b, irq);
388 if ((mask & ~busy) == 1 << irq) {
390 /* printf ("cx%d: irq %d ok, mask=0x%04x, busy=0x%04x\n",
391 b->num, irq, mask, busy); */
395 /* printf ("cx%d: irq %d not functional, mask=0x%04x, busy=0x%04x\n",
396 b->num, irq, mask, busy); */
889 /* Check if the device is busy (open). */
2073 /* Is it busy
[all...]
/freebsd-11-stable/sys/dev/ctau/
H A Dif_ct.c285 int mask, busy, cnt; local
291 /* Get the mask of pending irqs, assuming they are busy.
293 busy = ct_probe_irq (b, irq);
300 if ((mask & ~busy) == 1 << irq) {
302 /* printf ("ct%d: irq %d ok, mask=0x%04x, busy=0x%04x\n",
303 b->num, irq, mask, busy); */
307 /* printf ("ct%d: irq %d not functional, mask=0x%04x, busy=0x%04x\n",
308 b->num, irq, mask, busy); */
766 /* Check if the device is busy (open). */
/freebsd-11-stable/sys/dev/ata/chipsets/
H A Data-promise.c124 int busy; member in struct:ata_promise_sx4
296 hpkt->busy = 0;
730 hpktp->busy = 0;
1252 if (hpktp->busy) {
1259 hpktp->busy = 1;
1278 hpktp->busy = 0;
/freebsd-11-stable/sys/arm/arm/
H A Dmachdep.c275 cpu_idle(int busy) argument
278 CTR2(KTR_SPARE2, "cpu_idle(%d) at %d", busy, curcpu);
281 if (!busy)
287 if (!busy)
291 CTR2(KTR_SPARE2, "cpu_idle(%d) at %d done", busy, curcpu);
/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...]
/freebsd-11-stable/sys/dev/aacraid/
H A Daacraid_var.h651 AACQ_COMMAND_QUEUE(busy, AACQ_BUSY);
/freebsd-11-stable/sys/dev/ixgbe/
H A Dif_ix.c3399 if (que->txr->busy)
3403 * are uncleaned descriptors it increments busy. If
3406 if (que->busy == IXGBE_QUEUE_HUNG) {
3416 if (que->busy >= IXGBE_MAX_TX_BUSY) {
3419 que->txr->busy = IXGBE_QUEUE_HUNG;

Completed in 857 milliseconds

12345