/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() 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() 291 rcr->busy = 0; in bm_rcr_pce_commit() 299 ASSERT_COND(rcr->busy); in bm_rcr_pvb_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 | 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() 938 uh->busy--; in free_unrl() 970 uh->busy--; in free_unrl() 980 uh->busy--; in free_unrl() 990 uh->busy--; in free_unrl() 1000 uh->busy--; in free_unrl() [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 | 246 cpu_idle(int busy) in cpu_idle() argument 249 CTR2(KTR_SPARE2, "cpu_idle(%d) at %d", busy, curcpu); in cpu_idle() 251 if (!busy) in cpu_idle() 255 if (!busy) in cpu_idle() 258 CTR2(KTR_SPARE2, "cpu_idle(%d) at %d done", busy, curcpu); in cpu_idle()
|
/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 | 978 goto busy; in dwc_otg_host_setup_tx() 1043 goto busy; in dwc_otg_host_setup_tx() 1085 busy: in dwc_otg_host_setup_tx() 1248 busy: in dwc_otg_host_rate_check() 1344 busy: in dwc_otg_host_data_rx_sub() 1519 goto busy; in dwc_otg_host_data_rx() 1601 goto busy; in dwc_otg_host_data_rx() 1652 busy: in dwc_otg_host_data_rx() 1921 goto busy; in dwc_otg_host_data_tx() 2068 goto busy; in dwc_otg_host_data_tx() [all …]
|
/freebsd/sys/dev/etherswitch/e6000sw/ |
H A D | e6060sw.c | 756 int busy; in e6060sw_init_vtu() local 763 busy = MDIO_READREG(device_get_parent(dev), in e6060sw_init_vtu() 765 if ((busy & VTU_BUSY) == 0) in e6060sw_init_vtu() 779 busy = MDIO_READREG(device_get_parent(dev), in e6060sw_init_vtu() 781 if ((busy & VTU_BUSY) == 0) in e6060sw_init_vtu() 790 int busy; in e6060sw_set_vtu() local 803 busy = MDIO_READREG(device_get_parent(dev), in e6060sw_set_vtu() 805 if ((busy & VTU_BUSY) == 0) in e6060sw_set_vtu() 815 int busy; in e6060sw_read_vtu() local 827 busy = MDIO_READREG(device_get_parent(dev), in e6060sw_read_vtu() [all …]
|
/freebsd/sys/dev/sound/midi/ |
H A D | midi.c | 106 int busy; member 350 m->busy = 0; in midi_init() 405 if (m->busy) { in midi_uninit() 651 m->busy++; in midi_open() 699 m->busy--; in midi_close() 769 if (!m->busy) in midi_read() 844 if (!m->busy) in midi_write() 1099 m->busy++; in midisynth_open() 1151 m->busy--; in midisynth_close() 1222 if (!m->busy) in midisynth_writeraw() [all …]
|
/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/dev/acpi_support/ |
H A D | acpi_asus.c | 104 int busy; member 750 sc->s_bled.busy = 0; in acpi_asus_attach() 759 sc->s_dled.busy = 0; in acpi_asus_attach() 767 sc->s_gled.busy = 0; in acpi_asus_attach() 775 sc->s_mled.busy = 0; in acpi_asus_attach() 783 sc->s_tled.busy = 0; in acpi_asus_attach() 792 sc->s_wled.busy = 0; in acpi_asus_attach() 917 led->busy = 0; in acpi_asus_led_task() 926 if (led->busy) in acpi_asus_led() 929 led->busy = 1; in acpi_asus_led()
|
/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()
|
/freebsd/sys/arm/xilinx/ |
H A D | zy7_spi.c | 80 int busy; member 225 if (!sc->busy) { in zy7_spi_intr() 520 while (sc->busy != 0) { in zy7_spi_transfer() 529 sc->busy = 1; in zy7_spi_transfer() 558 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() 678 while (sc->busy != 0) { in zy7_qspi_transfer() 687 sc->busy = 1; in zy7_qspi_transfer() 719 sc->busy = 0; in zy7_qspi_transfer()
|
/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/dev/sound/pcm/ |
H A D | mixer.c | 51 int busy; member 177 CHN_FOREACH(c, d, channels.pcm.busy) { in mixer_set_softpcmvol() 230 CHN_FOREACH(c, d, channels.pcm.busy) { in mixer_set_eq() 672 m->busy = 0; in mixer_obj_create() 986 return (m->busy); in mixer_busy() 1080 m->busy = 1; in mixer_open() 1104 ret = (m->busy == 0) ? EBADF : 0; in mixer_close() 1105 m->busy = 0; in mixer_close() 1300 if (from == MIXER_CMD_CDEV && !m->busy) { in mixer_ioctl_cmd()
|
/freebsd/contrib/wpa/src/ap/ |
H A D | acs.c | 305 long double factor, busy, total; in acs_survey_interference_factor() local 308 busy = survey->channel_time_busy; in acs_survey_interference_factor() 310 busy = survey->channel_time_rx; in acs_survey_interference_factor() 319 busy -= survey->channel_time_tx; in acs_survey_interference_factor() 325 (total ? (busy / total) : 0) * in acs_survey_interference_factor()
|