/freebsd/tools/test/stress2/misc/ |
H A D | churn.sh | 79 volatile u_int busy; 96 atomic_add_int(&v[i].busy, 1); 97 if (v[i].busy != 1) { 98 atomic_add_int(&v[i].busy, -1); 104 atomic_add_int(&v[i].busy, -1); 142 atomic_add_int(&v[i].busy, 1); 143 if (v[i].busy != 1) { 144 atomic_add_int(&v[i].busy, -1); 152 atomic_add_int(&v[i].busy, -1); 162 atomic_add_int(&v[i].busy, 1); [all …]
|
/freebsd/sys/contrib/ncsw/Peripherals/BM/ |
H A D | bman_low.c | 194 rcr->busy = 0; in bm_rcr_init() 210 ASSERT_COND(!rcr->busy); in bm_rcr_finish() 222 ASSERT_COND(!rcr->busy); in bm_rcr_start() 226 rcr->busy = 1; in bm_rcr_start() 235 ASSERT_COND(rcr->busy); in bm_rcr_abort() 237 rcr->busy = 0; in bm_rcr_abort() 246 ASSERT_COND(rcr->busy); in bm_rcr_pend_and_next() 261 ASSERT_COND(rcr->busy); in bm_rcr_pci_commit() 269 rcr->busy = 0; in bm_rcr_pci_commit() 283 ASSERT_COND(rcr->busy); in bm_rcr_pce_commit() [all …]
|
/freebsd/sys/contrib/dev/athk/ |
H A D | hw.c | 144 u32 cycles, busy, rx, tx; in ath_hw_cycle_counters_update() local 152 busy = REG_READ(ah, AR_RCCNT); in ath_hw_cycle_counters_update() 167 common->cc_ani.rx_busy += busy; in ath_hw_cycle_counters_update() 172 common->cc_survey.rx_busy += busy; in ath_hw_cycle_counters_update()
|
/freebsd/sys/dev/ppbus/ |
H A D | pps.c | 46 int busy; member 223 if (!sc->busy) { in ppsopen() 238 if (subdev > 0 && !(sc->busy & ~1)) { in ppsopen() 243 sc->busy |= (1 << subdev); in ppsopen() 258 sc->busy &= ~(1 << subdev); in ppsclose() 259 if (subdev > 0 && !(sc->busy & ~1)) in ppsclose() 261 if (!sc->busy) { in ppsclose() 282 KASSERT(sc->busy & ~1, ("pps polling w/o opened devices")); in ppshcpoll()
|
/freebsd/sys/kern/ |
H A D | subr_unit.c | 378 KASSERT (y == uh->busy, in check_unrhdr() 380 uh->busy, y, line)); in check_unrhdr() 476 uh->busy = 0; in init_unrhdr() 502 KASSERT(uh->busy == 0, ("unrhdr has %u allocations", uh->busy)); in delete_unrhdr() 522 uh->busy = 0; in clear_unrhdr() 744 uh->busy++; in alloc_unrl() 767 uh->busy++; in alloc_unrl() 804 uh->busy++; in alloc_unr_specificl() 821 uh->busy++; in alloc_unr_specificl() 883 uh->busy++; in alloc_unr_specificl() [all …]
|
H A D | kern_clocksource.c | 94 static u_int busy = 1; /* Reconfiguration is in progress. */ variable 141 if (doconfigtimer() || busy) in hardclockintr() 217 if (!busy) { in handleevents() 308 if (busy) 463 if (atomic_readandclear_int(&state->handle) && !busy) { 519 busy = 0; 523 busy = 1; 760 if (idletick || busy || 795 if (atomic_load_int(&state->idle) == 0 || busy) 836 if (busy)
|
/freebsd/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_misc.c | 283 uint32_t busy; /* percentage */ in ar5416Get11nExtBusy() local 296 busy = 0; in ar5416Get11nExtBusy() 323 busy = (extBusyDelta * 100) / ctlClearDelta; in ar5416Get11nExtBusy() 325 busy = 100; in ar5416Get11nExtBusy() 327 if (busy > 100) { in ar5416Get11nExtBusy() 328 busy = 100; in ar5416Get11nExtBusy() 334 __func__, cycleDelta, ctlBusyDelta, extBusyDelta, ctlClearDelta, busy); in ar5416Get11nExtBusy() 342 return busy; in ar5416Get11nExtBusy()
|
/freebsd/usr.sbin/mfiutil/ |
H A D | mfi_show.c | 672 int busy, error, fd; in show_progress() local 702 busy = 0; in show_progress() 717 busy = 1; in show_progress() 723 busy = 1; in show_progress() 729 busy = 1; in show_progress() 735 busy = 1; in show_progress() 756 busy = 1; in show_progress() 763 busy = 1; in show_progress() 769 busy = 1; in show_progress() 776 if (!busy) in show_progress()
|
/freebsd/sys/arm/arm/ |
H A D | machdep.c | 247 cpu_idle(int busy) in cpu_idle() argument 250 CTR2(KTR_SPARE2, "cpu_idle(%d) at %d", busy, curcpu); in cpu_idle() 252 if (!busy) in cpu_idle() 256 if (!busy) in cpu_idle() 259 CTR2(KTR_SPARE2, "cpu_idle(%d) at %d done", busy, curcpu); in cpu_idle()
|
/freebsd/sys/dev/etherswitch/e6000sw/ |
H A D | e6060sw.c | 747 int busy; in e6060sw_init_vtu() local 754 busy = MDIO_READREG(device_get_parent(dev), in e6060sw_init_vtu() 756 if ((busy & VTU_BUSY) == 0) in e6060sw_init_vtu() 770 busy = MDIO_READREG(device_get_parent(dev), in e6060sw_init_vtu() 772 if ((busy & VTU_BUSY) == 0) in e6060sw_init_vtu() 781 int busy; in e6060sw_set_vtu() local 794 busy = MDIO_READREG(device_get_parent(dev), in e6060sw_set_vtu() 796 if ((busy & VTU_BUSY) == 0) in e6060sw_set_vtu() 806 int busy; in e6060sw_read_vtu() local 818 busy = MDIO_READREG(device_get_parent(dev), in e6060sw_read_vtu() [all …]
|
/freebsd/sys/dev/netmap/ |
H A D | netmap_monitor.c | 592 int rel_slots, free_slots, busy, sent = 0; in netmap_zmon_parent_sync() local 635 busy = i - mkring->nr_hwcur; in netmap_zmon_parent_sync() 636 if (busy < 0) in netmap_zmon_parent_sync() 637 busy += mkring->nkr_num_slots; in netmap_zmon_parent_sync() 638 free_slots = mlim - busy; in netmap_zmon_parent_sync() 738 int free_slots, busy, sent = 0, m; in netmap_monitor_parent_sync() local 751 busy = i - mkring->nr_hwcur; in netmap_monitor_parent_sync() 752 if (busy < 0) in netmap_monitor_parent_sync() 753 busy += mkring->nkr_num_slots; in netmap_monitor_parent_sync() 754 free_slots = mlim - busy; in netmap_monitor_parent_sync()
|
/freebsd/sys/dev/usb/controller/ |
H A D | dwc_otg.c | 733 return (1); /* busy */ in dwc_otg_host_check_tx_fifo_empty() 742 return (1); /* busy */ in dwc_otg_host_check_tx_fifo_empty() 761 return (1); /* busy - cannot transfer data */ in dwc_otg_host_channel_alloc() 766 return (1); /* busy - cannot transfer data */ in dwc_otg_host_channel_alloc() 789 return (1); /* busy - not enough channels */ in dwc_otg_host_channel_alloc() 978 goto busy; in dwc_otg_host_setup_tx() 993 goto busy; in dwc_otg_host_setup_tx() 1000 goto busy; in dwc_otg_host_setup_tx() 1007 goto busy; in dwc_otg_host_setup_tx() 1043 goto busy; in dwc_otg_host_setup_tx() [all...] |
/freebsd/sys/dev/sound/midi/ |
H A D | midi.c | 102 int busy; member 365 m->busy = 0; in midi_init() 419 if (m->busy) { in midi_uninit() 665 m->busy++; in midi_open() 713 m->busy--; in midi_close() 725 MIDI_DEBUG(1, printf("midi_close: closed, busy = %d.\n", m->busy)); in midi_close() 783 if (!m->busy) in midi_read() 858 if (!m->busy) in midi_write() 1109 m->busy++; in midisynth_open() 1161 m->busy--; in midisynth_close() [all …]
|
/freebsd/sys/arm/xilinx/ |
H A D | zy7_spi.c | 80 int busy; member 225 if (!sc->busy) { in zy7_spi_intr() 518 while (sc->busy != 0) { in zy7_spi_transfer() 527 sc->busy = 1; in zy7_spi_transfer() 556 sc->busy = 0; in zy7_spi_transfer()
|
H A D | zy7_qspi.c | 90 int busy; member 340 if (!sc->busy) { in zy7_qspi_intr() 676 while (sc->busy != 0) { in zy7_qspi_transfer() 685 sc->busy = 1; in zy7_qspi_transfer() 717 sc->busy = 0; in zy7_qspi_transfer()
|
/freebsd/sys/dev/virtio/p9fs/ |
H A D | virtio_p9fs.c | 68 bool busy; member 419 if (chan && chan->busy) { in vt9p_create() 427 chan->busy = true; in vt9p_create() 442 chan->busy = false; in vt9p_close()
|
/freebsd/sys/contrib/device-tree/Bindings/display/ |
H A D | repaper.txt | 12 - busy-gpios: BUSY pin 49 busy-gpios = <&gpio 25 0>;
|
/freebsd/tools/test/stress2/tools/ |
H A D | fail.sh | 66 nfs15lockd.sh 20170330 unmount of /mnt failed: Device busy 67 nfs15lockd3.sh 20170330 unmount of /mnt failed: Device busy
|
/freebsd/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp.h | 151 (ssk->tx_ring.rdma_inflight ? ssk->tx_ring.rdma_inflight->busy : 0)) 219 int busy; member 250 u8 busy; member 256 u8 busy; member 419 memset((void *)&tx_sa->busy, 0, in tx_sa_reset() 420 sizeof(*tx_sa) - offsetof(typeof(*tx_sa), busy)); in tx_sa_reset()
|
H A D | sdp_tx.c | 188 BZCOPY_STATE(mb)->busy--; in sdp_send_completion() 248 if (!ssk->tx_ring.rdma_inflight->busy) { in sdp_process_tx_wc() 257 ssk->tx_ring.rdma_inflight->busy = 0; in sdp_process_tx_wc() 344 if (ssk->tx_ring.rdma_inflight && ssk->tx_ring.rdma_inflight->busy) { in sdp_poll_tx()
|
/freebsd/sys/contrib/ncsw/Peripherals/QM/ |
H A D | qman_low.h | 229 eqcr->busy = 0; in qm_eqcr_init() 248 ASSERT_COND(!eqcr->busy); in qm_eqcr_finish() 263 ASSERT_COND(!eqcr->busy); in qm_eqcr_start() 268 eqcr->busy = 1; in qm_eqcr_start() 278 ASSERT_COND(eqcr->busy); in qm_eqcr_abort() 279 eqcr->busy = 0; in qm_eqcr_abort() 289 ASSERT_COND(eqcr->busy); in qm_eqcr_pend_and_next() 305 ASSERT_COND(eqcr->busy); \ 329 eqcr->busy = 0; in qmPortalEqcrPciCommit() 357 eqcr->busy = 0; in qmPortalEqcrPceCommit() [all …]
|
/freebsd/sys/arm/allwinner/ |
H A D | aw_rsb.c | 139 int busy; member 330 while (sc->busy) in rsb_transfer() 332 sc->busy = 1; in rsb_transfer() 383 sc->busy = 0; in rsb_transfer()
|
/freebsd/contrib/netbsd-tests/kernel/ |
H A D | t_umountstress.sh | 91 *:\ Device\ busy) 175 *:\ Device\ busy)
|
/freebsd/sys/dev/iicbus/sensor/ |
H A D | max6690.c | 106 uint8_t busy[1], rsl; in max6690_read() local 114 { addr, IIC_M_RD, 1, busy }, in max6690_read() 124 if (busy[0] & 0x80) in max6690_read()
|
/freebsd/sys/powerpc/powerpc/ |
H A D | cpu.c | 726 cpu_idle(int busy) in cpu_idle() argument 738 CTR1(KTR_SPARE2, "cpu_idle(%d)", busy); in cpu_idle() 741 if (!busy) { in cpu_idle() 746 if (!busy) { in cpu_idle() 752 CTR1(KTR_SPARE2, "cpu_idle(%d) done", busy); in cpu_idle()
|