on 615 arch/i386/i386/bios.c bioscnpollc(dev_t dev, int on) on 150 arch/i386/i386/wscons_machdep.c wscnpollc(dev_t dev, int on) on 152 arch/i386/i386/wscons_machdep.c wskbd_cnpollc(dev, on); on 1645 arch/i386/isa/pccom.c comcnpollc(dev_t dev, int on) on 59 arch/i386/stand/libsa/gateA20.c gateA20(int on) on 66 arch/i386/stand/libsa/gateA20.c if (on) { on 83 arch/i386/stand/libsa/gateA20.c if (on) on 458 compat/sunos/sunos_ioctl.c int on = 1; on 459 compat/sunos/sunos_ioctl.c error = (*ctl)(fp, TIOCCONS, (caddr_t)&on, p); on 592 compat/sunos/sunos_ioctl.c int error, on; on 594 compat/sunos/sunos_ioctl.c error = copyin (SCARG(uap, data), (caddr_t)&on, sizeof (on)); on 597 compat/sunos/sunos_ioctl.c error = (*ctl)(fp, TIOCUCNTL, (caddr_t)&on, p); on 846 compat/sunos/sunos_ioctl.c int on = 1; on 853 compat/sunos/sunos_ioctl.c error = (*ctl)(fp, FIOASYNC, (caddr_t)&on, p); on 503 compat/ultrix/ultrix_ioctl.c int on = 1; on 504 compat/ultrix/ultrix_ioctl.c error = (*ctl)(fp, TIOCCONS, (caddr_t)&on, p); on 625 compat/ultrix/ultrix_ioctl.c int error, on; on 627 compat/ultrix/ultrix_ioctl.c error = copyin (SCARG(uap, data), (caddr_t)&on, sizeof (on)); on 630 compat/ultrix/ultrix_ioctl.c error = (*ctl)(fp, TIOCUCNTL, (caddr_t)&on, p); on 376 dev/adb/akbd.c akbd_enable(void *v, int on) on 382 dev/adb/akbd.c akbd_set_leds(void *v, int on) on 389 dev/adb/akbd.c if (sc->sc_leds == on) on 393 dev/adb/akbd.c if (on & WSKBD_LED_NUM) on 395 dev/adb/akbd.c if (on & WSKBD_LED_CAPS) on 397 dev/adb/akbd.c if (on & WSKBD_LED_SCROLL) on 290 dev/bluetooth/btkbd.c btkbd_enable(void *self, int on) on 294 dev/bluetooth/btkbd.c sc->sc_enabled = on; on 250 dev/cons.c cnpollc(int on) on 256 dev/cons.c if (!on) on 259 dev/cons.c (*cn_tab->cn_pollc)(cn_tab->cn_dev, on); on 260 dev/cons.c if (on) on 265 dev/cons.c nullcnpollc(dev_t dev, int on) on 854 dev/hil/hil.c hil_set_poll(struct hil_softc *sc, int on) on 856 dev/hil/hil.c if (on) { on 253 dev/hil/hilkbd.c hilkbd_enable(void *v, int on) on 257 dev/hil/hilkbd.c if (on) { on 265 dev/hil/hilkbd.c sc->sc_enabled = on; on 354 dev/hil/hilkbd.c hilkbd_cnpollc(void *v, int on) on 358 dev/hil/hilkbd.c hil_set_poll((struct hil_softc *)sc->hd_parent, on); on 182 dev/ic/bhareg.h WARNING...THIS WON'T WORK(won't fit on 1 page) on 1416 dev/ic/com.c comcnpollc(dev_t dev, int on) on 1181 dev/ic/midway.c STATIC int en_rxctl(sc, pi, on) on 1185 dev/ic/midway.c int on; on 1196 dev/ic/midway.c (on) ? "enable" : "disable", ATM_PH_VPI(&pi->aph), vci, flags); on 1206 dev/ic/midway.c if (on) { on 87 dev/ic/pcdisplay_subr.c pcdisplay_cursor(id, on, row, col) on 89 dev/ic/pcdisplay_subr.c int on, row, col; on 110 dev/ic/pcdisplay_subr.c if ((scr->cursoron = on) == 0) on 128 dev/ic/pcdisplay_subr.c scr->cursoron = on; on 131 dev/ic/pcdisplay_subr.c if (!on) on 463 dev/ic/pckbc.c pckbc_xt_translation(self, slot, on) on 466 dev/ic/pckbc.c int on; on 473 dev/ic/pckbc.c if (on) on 480 dev/ic/pckbc.c if ((on && ison) || (!on && !ison)) on 492 dev/ic/pckbc.c if ((on && ison) || (!on && !ison)) on 508 dev/ic/pckbc.c pckbc_slot_enable(self, slot, on) on 511 dev/ic/pckbc.c int on; on 519 dev/ic/pckbc.c on ? cmd->cmd_en : cmd->cmd_dis)) on 520 dev/ic/pckbc.c printf("pckbc_slot_enable(%d) failed\n", on); on 523 dev/ic/pckbc.c if (on) on 531 dev/ic/pckbc.c pckbc_set_poll(self, slot, on) on 534 dev/ic/pckbc.c int on; on 538 dev/ic/pckbc.c t->t_slotdata[slot]->polling = on; on 540 dev/ic/pckbc.c if (!on) { on 56 dev/ic/sti.c void sti_cursor(void *v, int on, int row, int col); on 942 dev/ic/sti.c sti_cursor(v, on, row, col) on 944 dev/ic/sti.c int on, row, col; on 236 dev/ic/vga.c void vga_burner(void *v, u_int on, u_int flags); on 1290 dev/ic/vga.c vga_burner(v, on, flags) on 1292 dev/ic/vga.c u_int on, flags; on 1301 dev/ic/vga.c if (on) { on 2292 dev/isa/ess.c ess_set_gain(sc, port, on) on 2295 dev/isa/ess.c int on; on 2369 dev/isa/ess.c if (on) { on 2110 dev/pci/if_wpi.c wpi_set_led(struct wpi_softc *sc, uint8_t which, uint8_t off, uint8_t on) on 2117 dev/pci/if_wpi.c led.on = on; on 445 dev/pci/if_wpireg.h uint8_t on; on 1599 dev/pci/musycc.c ebus_set_led(struct channel_softc *cc, int on, u_int8_t value) on 1606 dev/pci/musycc.c if (on) on 831 dev/pci/tga.c tga_burner(v, on, flags) on 833 dev/pci/tga.c u_int on, flags; on 837 dev/pci/tga.c if (on) { on 396 dev/pckbc/pckbd.c pckbd_enable(v, on) on 398 dev/pckbc/pckbd.c int on; on 404 dev/pckbc/pckbd.c if (on) { on 696 dev/pckbc/pckbd.c pckbd_cnpollc(v, on) on 698 dev/pckbc/pckbd.c int on; on 702 dev/pckbc/pckbd.c pckbc_set_poll(t->t_kbctag, t->t_kbcslot, on); on 551 dev/pcmcia/cfxga.c cfxga_burner(void *v, u_int on, u_int flags) on 558 dev/pcmcia/cfxga.c if (on) on 690 dev/rasops/rasops.c rasops_cursor(cookie, on, row, col) on 692 dev/rasops/rasops.c int on, row, col; on 720 dev/rasops/rasops.c if (on) { on 340 dev/sbus/bwtwo.c bwtwo_burner(vsc, on, flags) on 342 dev/sbus/bwtwo.c u_int on, flags; on 350 dev/sbus/bwtwo.c if (on) on 784 dev/sbus/cgsix.c cgsix_burner(void *vsc, u_int on, u_int flags) on 792 dev/sbus/cgsix.c if (on) on 553 dev/sbus/cgthree.c cgthree_burner(void *vsc, u_int on, u_int flags) on 561 dev/sbus/cgthree.c if (on) on 333 dev/sbus/mgx.c mgx_burner(void *v, u_int on, u_int flags) on 338 dev/sbus/mgx.c if (on) on 421 dev/sbus/rfx.c rfx_burner(void *v, u_int on, u_int flags) on 425 dev/sbus/rfx.c if (on) { on 419 dev/sbus/tvtwo.c tvtwo_burner(void *v, u_int on, u_int flags) on 424 dev/sbus/tvtwo.c if (on) on 584 dev/sbus/vigra.c vigra_burner(void *v, u_int on, u_int flags) on 588 dev/sbus/vigra.c if (on) { on 598 dev/sbus/zx.c zx_burner(void *v, u_int on, u_int flags) on 608 dev/sbus/zx.c if (on) { on 134 dev/sun/sunkbd.c sunkbd_enable(void *v, int on) on 413 dev/tc/tcds.c tcds_scsi_enable(sc, on) on 415 dev/tc/tcds.c int on; on 421 dev/tc/tcds.c if (on) on 430 dev/tc/tcds.c tcds_dma_enable(sc, on) on 432 dev/tc/tcds.c int on; on 439 dev/tc/tcds.c if (on) on 610 dev/usb/ehci.c ehci_pcd_able(ehci_softc_t *sc, int on) on 612 dev/usb/ehci.c DPRINTFN(4, ("ehci_pcd_able: on=%d\n", on)); on 613 dev/usb/ehci.c if (on) on 1824 dev/usb/if_uath.c uath_set_led(struct uath_softc *sc, int which, int on) on 1829 dev/usb/if_uath.c led.state = htobe32(on ? UATH_LED_ON : UATH_LED_OFF); on 1833 dev/usb/if_uath.c on ? "on" : "off")); on 936 dev/usb/if_zyd.c zyd_rfmd_switch_radio(struct zyd_rf *rf, int on) on 940 dev/usb/if_zyd.c (void)zyd_write16(sc, ZYD_CR10, on ? 0x89 : 0x15); on 941 dev/usb/if_zyd.c (void)zyd_write16(sc, ZYD_CR11, on ? 0x00 : 0x81); on 1014 dev/usb/if_zyd.c zyd_al2230_switch_radio(struct zyd_rf *rf, int on) on 1019 dev/usb/if_zyd.c (void)zyd_write16(sc, ZYD_CR11, on ? 0x00 : 0x04); on 1020 dev/usb/if_zyd.c (void)zyd_write16(sc, ZYD_CR251, on ? on251 : 0x2f); on 1094 dev/usb/if_zyd.c zyd_al7230B_switch_radio(struct zyd_rf *rf, int on) on 1098 dev/usb/if_zyd.c (void)zyd_write16(sc, ZYD_CR11, on ? 0x00 : 0x04); on 1099 dev/usb/if_zyd.c (void)zyd_write16(sc, ZYD_CR251, on ? 0x3f : 0x2f); on 1181 dev/usb/if_zyd.c zyd_al2210_switch_radio(struct zyd_rf *rf, int on) on 1241 dev/usb/if_zyd.c zyd_gct_switch_radio(struct zyd_rf *rf, int on) on 1296 dev/usb/if_zyd.c zyd_maxim_switch_radio(struct zyd_rf *rf, int on) on 1381 dev/usb/if_zyd.c zyd_maxim2_switch_radio(struct zyd_rf *rf, int on) on 1668 dev/usb/if_zyd.c zyd_switch_radio(struct zyd_softc *sc, int on) on 1674 dev/usb/if_zyd.c error = (*rf->switch_radio)(rf, on); on 1681 dev/usb/if_zyd.c zyd_set_led(struct zyd_softc *sc, int which, int on) on 1687 dev/usb/if_zyd.c if (on) on 1211 dev/usb/ohci.c ohci_rhsc_able(ohci_softc_t *sc, int on) on 1213 dev/usb/ohci.c DPRINTFN(4, ("ohci_rhsc_able: on=%d\n", on)); on 1214 dev/usb/ohci.c if (on) { on 468 dev/usb/ukbd.c ukbd_enable(void *v, int on) on 472 dev/usb/ukbd.c if (on && sc->sc_dying) on 476 dev/usb/ukbd.c if (sc->sc_enabled == on) { on 478 dev/usb/ukbd.c sc->sc_hdev.sc_dev.dv_xname, on)); on 482 dev/usb/ukbd.c DPRINTF(("ukbd_enable: sc=%p on=%d\n", sc, on)); on 483 dev/usb/ukbd.c sc->sc_enabled = on; on 484 dev/usb/ukbd.c if (on) { on 866 dev/usb/ukbd.c ukbd_cnpollc(void *v, int on) on 871 dev/usb/ukbd.c DPRINTFN(2,("ukbd_cnpollc: sc=%p on=%d\n", v, on)); on 874 dev/usb/ukbd.c if (on) { on 881 dev/usb/ukbd.c usbd_set_polling(dev, on); on 1050 dev/usb/usbdi.c usbd_set_polling(usbd_device_handle dev, int on) on 1052 dev/usb/usbdi.c if (on) on 157 dev/usb/usbdi.h void usbd_set_polling(usbd_device_handle iface, int on); on 392 dev/wscons/wsconsio.h u_int on; on 1193 dev/wscons/wsdisplay.c d->on = sc->sc_burninintvl * 1000 / hz; on 1212 dev/wscons/wsdisplay.c if (d->on) { on 1214 dev/wscons/wsdisplay.c sc->sc_burninintvl = hz * d->on / 1000; on 2080 dev/wscons/wsdisplay.c wsdisplay_pollc(dev_t dev, int on) on 2083 dev/wscons/wsdisplay.c wsdisplay_cons_pollmode = on; on 2089 dev/wscons/wsdisplay.c (wsdisplay_console_device->sc_accesscookie, on); on 2093 dev/wscons/wsdisplay.c (*wsdisplay_cons_kbd_pollc)(dev, on); on 56 dev/wscons/wsdisplayvar.h void (*cursor)(void *c, int on, int row, int col); on 747 dev/wscons/wskbd.c wskbd_enable(struct wskbd_softc *sc, int on) on 762 dev/wscons/wskbd.c error = (*sc->sc_accessops->enable)(sc->sc_accesscookie, on); on 763 dev/wscons/wskbd.c DPRINTF(("wskbd_enable: sc=%p on=%d res=%d\n", sc, on, error)); on 291 isofs/cd9660/cd9660_vnops.c long size, n, on; on 303 isofs/cd9660/cd9660_vnops.c on = blkoff(imp, uio->uio_offset); on 304 isofs/cd9660/cd9660_vnops.c n = min((u_int)(imp->logical_block_size - on), on 341 isofs/cd9660/cd9660_vnops.c error = uiomove(bp->b_data + on, (int)n, uio); on 343 isofs/cd9660/cd9660_vnops.c if (n + on == imp->logical_block_size || on 224 miscfs/specfs/spec_vnops.c int n, on, majordev; on 264 miscfs/specfs/spec_vnops.c on = uio->uio_offset % bsize; on 265 miscfs/specfs/spec_vnops.c n = min((bsize - on), uio->uio_resid); on 278 miscfs/specfs/spec_vnops.c error = uiomove((char *)bp->b_data + on, n, uio); on 313 miscfs/specfs/spec_vnops.c int n, on, majordev; on 353 miscfs/specfs/spec_vnops.c on = uio->uio_offset % bsize; on 354 miscfs/specfs/spec_vnops.c n = min((bsize - on), uio->uio_resid); on 361 miscfs/specfs/spec_vnops.c error = uiomove((char *)bp->b_data + on, n, uio); on 362 miscfs/specfs/spec_vnops.c if (n + on == bsize) on 436 msdosfs/msdosfs_vnops.c long on; on 458 msdosfs/msdosfs_vnops.c on = uio->uio_offset & pmp->pm_crbomask; on 459 msdosfs/msdosfs_vnops.c n = min((uint32_t) (pmp->pm_bpcluster - on), uio->uio_resid); on 501 msdosfs/msdosfs_vnops.c error = uiomove(bp->b_data + on, (int) n, uio); on 1380 msdosfs/msdosfs_vnops.c long on; on 1494 msdosfs/msdosfs_vnops.c on = (offset - bias) & pmp->pm_crbomask; on 1495 msdosfs/msdosfs_vnops.c n = min(pmp->pm_bpcluster - on, uio->uio_resid); on 1513 msdosfs/msdosfs_vnops.c for (dentp = (struct direntry *)(bp->b_data + on); on 1514 msdosfs/msdosfs_vnops.c (char *)dentp < bp->b_data + on + n; on 346 net80211/ieee80211_proto.c ieee80211_set_shortslottime(struct ieee80211com *ic, int on) on 348 net80211/ieee80211_proto.c if (on) on 2104 netinet6/ip6_output.c int deftclass = 0, on; on 2169 netinet6/ip6_output.c on = 1; on 2171 netinet6/ip6_output.c on = 0; on 2172 netinet6/ip6_output.c optdata = (void *)&on; on 2173 netinet6/ip6_output.c optdatalen = sizeof(on); on 237 nfs/krpc_subr.c int32_t *on; on 239 nfs/krpc_subr.c on = mtod(m, int32_t *); on 240 nfs/krpc_subr.c m->m_len = sizeof(*on); on 241 nfs/krpc_subr.c *on = 1; on 82 nfs/nfs_bio.c int got_buf = 0, nra, error = 0, n = 0, on = 0, not_readin; on 148 nfs/nfs_bio.c on = uio->uio_offset & (biosize - 1); on 201 nfs/nfs_bio.c n = min((unsigned)(biosize - on), uio->uio_resid); on 206 nfs/nfs_bio.c if (on < bp->b_validoff || (on + n) > bp->b_validend) { on 224 nfs/nfs_bio.c diff = (on >= bp->b_validend) ? 0 : (bp->b_validend - on); on 243 nfs/nfs_bio.c on = 0; on 253 nfs/nfs_bio.c error = uiomove(baddr + on, (int)n, uio); on 289 nfs/nfs_bio.c int n, on, error = 0, extended = 0, wrotedta = 0, truncated = 0; on 357 nfs/nfs_bio.c on = uio->uio_offset & (biosize-1); on 358 nfs/nfs_bio.c n = min((unsigned)(biosize - on), uio->uio_resid); on 378 nfs/nfs_bio.c (on > bp->b_dirtyend || (on + n) < bp->b_dirtyoff)) { on 385 nfs/nfs_bio.c error = uiomove((char *)bp->b_data + on, n, uio); on 392 nfs/nfs_bio.c bp->b_dirtyoff = min(on, bp->b_dirtyoff); on 393 nfs/nfs_bio.c bp->b_dirtyend = max((on + n), bp->b_dirtyend); on 395 nfs/nfs_bio.c bp->b_dirtyoff = on; on 396 nfs/nfs_bio.c bp->b_dirtyend = on + n; on 433 nfs/nfs_bio.c } else if ((n + on) == biosize) {