rc 279 arch/i386/i386/amd64errata.c int rc; rc 327 arch/i386/i386/amd64errata.c rc = (e->e_act == NULL) ? 1 : (*e->e_act)(ci, e); rc 329 arch/i386/i386/amd64errata.c if (rc == 0) /* not found */ rc 331 arch/i386/i386/amd64errata.c if (rc == 1) rc 333 arch/i386/i386/amd64errata.c if (rc == 2) rc 336 arch/i386/i386/amd64errata.c e->e_reported = rc; rc 341 arch/i386/i386/amd64errata.c (rc == 2) ? " and patched" : ""); rc 779 arch/i386/pci/glxsb.c int rc; rc 784 arch/i386/pci/glxsb.c rc = bus_dmamap_create(sc->sc_dmat, size, dma->dma_nsegs, size, rc 786 arch/i386/pci/glxsb.c if (rc != 0) { rc 788 arch/i386/pci/glxsb.c sc->sc_dev.dv_xname, size, rc); rc 793 arch/i386/pci/glxsb.c rc = bus_dmamem_alloc(sc->sc_dmat, size, SB_AES_ALIGN, 0, rc 795 arch/i386/pci/glxsb.c if (rc != 0) { rc 797 arch/i386/pci/glxsb.c sc->sc_dev.dv_xname, size, rc); rc 802 arch/i386/pci/glxsb.c rc = bus_dmamem_map(sc->sc_dmat, &dma->dma_seg, 1, size, rc 804 arch/i386/pci/glxsb.c if (rc != 0) { rc 806 arch/i386/pci/glxsb.c sc->sc_dev.dv_xname, size, rc); rc 811 arch/i386/pci/glxsb.c rc = bus_dmamap_load(sc->sc_dmat, dma->dma_map, dma->dma_vaddr, rc 813 arch/i386/pci/glxsb.c if (rc != 0) { rc 815 arch/i386/pci/glxsb.c sc->sc_dev.dv_xname, size, rc); rc 831 arch/i386/pci/glxsb.c return rc; rc 54 arch/i386/stand/libsa/dev_i386.c register int i, rc = 1; rc 63 arch/i386/stand/libsa/dev_i386.c for (i = 0; i < ndevs && rc != 0; dp++, i++) { rc 68 arch/i386/stand/libsa/dev_i386.c if ((rc = (*dp->dv_open)(f, file)) == 0) { rc 74 arch/i386/stand/libsa/dev_i386.c printf("%d", rc); rc 86 arch/i386/stand/libsa/dev_i386.c return rc; rc 70 arch/i386/stand/libsa/memprobe.c int rc, off = 0, sig, gotcha = 0; rc 76 arch/i386/stand/libsa/memprobe.c : "=a" (sig), "=d" (rc), "=b" (off) rc 82 arch/i386/stand/libsa/memprobe.c if (rc & 0xff || sig != 0x534d4150) rc 110 arch/i386/stand/libsa/memprobe.c int rc, m1, m2, m3, m4; rc 127 arch/i386/stand/libsa/memprobe.c : "=a" (rc), "=S" (m1), "=b" (m2), "=c" (m3), "=d" (m4) rc 131 arch/i386/stand/libsa/memprobe.c if (rc & 0xff) rc 164 arch/i386/stand/libsa/memprobe.c int rc, mem; rc 167 arch/i386/stand/libsa/memprobe.c : "=c" (rc), "=a" (mem) : "a" (0x8800)); rc 169 arch/i386/stand/libsa/memprobe.c if (rc & 0xff) rc 41 arch/i386/stand/libsa/pciprobe.c u_int32_t hw_chars, rev, rc, sig; rc 46 arch/i386/stand/libsa/pciprobe.c : "=a" (hw_chars), "=b" (rev), "=c" (rc), rc 51 arch/i386/stand/libsa/pciprobe.c if (rc & 0xff00 || hw_chars & 0xff00) rc 59 arch/i386/stand/libsa/pciprobe.c hw_chars, entry32, (rc>>8)&0xFF); rc 65 arch/i386/stand/libsa/pciprobe.c bpi.pci_lastbus = (rc>>8) & 0xFF; rc 64 arch/i386/stand/pxeboot/devopen.c int rc = 1; rc 88 arch/i386/stand/pxeboot/devopen.c rc = (*dp->dv_open)(f, NULL); rc 89 arch/i386/stand/pxeboot/devopen.c if (rc == 0) rc 97 arch/i386/stand/pxeboot/devopen.c return rc; rc 111 arch/i386/stand/pxeboot/devopen.c for (i = 0; i < ndevs && rc != 0; dp++, i++) { rc 116 arch/i386/stand/pxeboot/devopen.c if ((rc = (*dp->dv_open)(f, file)) == 0) { rc 122 arch/i386/stand/pxeboot/devopen.c printf("%d", rc); rc 134 arch/i386/stand/pxeboot/devopen.c return rc; rc 82 dev/acpi/acpitimer.c int rc; rc 85 dev/acpi/acpitimer.c rc = acpi_map_address(psc, &psc->sc_fadt->x_pm_tmr_blk, 0, rc 88 dev/acpi/acpitimer.c rc = acpi_map_address(psc, NULL, psc->sc_fadt->pm_tmr_blk, rc 90 dev/acpi/acpitimer.c if (rc) { rc 1903 dev/acpi/dsdt.c int rc, lt, rt; rc 1905 dev/acpi/dsdt.c rc = 0; rc 1912 dev/acpi/dsdt.c rc = (lhs->v_integer - rhs->v_integer); rc 1915 dev/acpi/dsdt.c rc = strncmp(lhs->v_string, rhs->v_string, rc 1917 dev/acpi/dsdt.c if (rc == 0) rc 1918 dev/acpi/dsdt.c rc = lhs->length - rhs->length; rc 1921 dev/acpi/dsdt.c rc = memcmp(lhs->v_buffer, rhs->v_buffer, rc 1923 dev/acpi/dsdt.c if (rc == 0) rc 1924 dev/acpi/dsdt.c rc = lhs->length - rhs->length; rc 1928 dev/acpi/dsdt.c rc = lhs->v_integer - aml_val2int(rhs); rc 1930 dev/acpi/dsdt.c rc = aml_val2int(lhs) - rhs->v_integer; rc 1934 dev/acpi/dsdt.c return aml_evalexpr(rc, 0, opcode); rc 2582 dev/acpi/dsdt.c int rc; rc 2590 dev/acpi/dsdt.c rc = aml_cmpvalue(&tmparg[AML_LHS], &tmparg[AML_RHS], opcode); rc 2591 dev/acpi/dsdt.c aml_setvalue(scope, res, NULL, rc); rc 701 dev/hil/hil.c int rc = 0; rc 713 dev/hil/hil.c rc = EBUSY; rc 740 dev/hil/hil.c rc = EBUSY; rc 752 dev/hil/hil.c return (rc); rc 760 dev/hil/hil.c int s, rc; rc 764 dev/hil/hil.c if ((rc = send_device_cmd(sc, dev->sc_code, cmd)) == 0) { rc 775 dev/hil/hil.c return (rc); rc 1524 dev/ic/atw.c int rc; rc 1541 dev/ic/atw.c if ((rc = atw_rf3000_tune(sc, chan)) != 0) rc 1549 dev/ic/atw.c if (rc == 0) rc 1552 dev/ic/atw.c return rc; rc 1726 dev/ic/atw.c int rc = 0; rc 1731 dev/ic/atw.c rc = atw_rf3000_write(sc, RF3000_CCACTL, rc 1734 dev/ic/atw.c if (rc != 0) rc 1738 dev/ic/atw.c rc = atw_rf3000_write(sc, RF3000_DIVCTL, RF3000_DIVCTL_ENABLE); rc 1740 dev/ic/atw.c if (rc != 0) rc 1744 dev/ic/atw.c rc = atw_rf3000_write(sc, RF3000_GAINCTL, rc 1747 dev/ic/atw.c if (rc != 0) rc 1751 dev/ic/atw.c rc = atw_rf3000_write(sc, RF3000_LOGAINCAL, rc 1754 dev/ic/atw.c if (rc != 0) rc 1757 dev/ic/atw.c rc = atw_rf3000_write(sc, RF3000_HIGAINCAL, RF3000_HIGAINCAL_DSSSPAD); rc 1759 dev/ic/atw.c if (rc != 0) rc 1767 dev/ic/atw.c rc = atw_rf3000_write(sc, RF3000_OPTIONS1, sc->sc_rf3000_options1); rc 1769 dev/ic/atw.c if (rc != 0) rc 1772 dev/ic/atw.c rc = atw_rf3000_write(sc, RF3000_OPTIONS2, sc->sc_rf3000_options2); rc 1774 dev/ic/atw.c if (rc != 0) rc 1779 dev/ic/atw.c return rc; rc 1807 dev/ic/atw.c int rc = 0; rc 1836 dev/ic/atw.c if ((rc = atw_rf3000_write(sc, RF3000_GAINCTL, rc 1840 dev/ic/atw.c if ((rc = atw_rf3000_write(sc, RF3000_LOGAINCAL, lpf_cutoff)) != 0) rc 1843 dev/ic/atw.c if ((rc = atw_rf3000_write(sc, RF3000_HIGAINCAL, lna_gs_thresh)) != 0) rc 1846 dev/ic/atw.c if ((rc = atw_rf3000_write(sc, RF3000_OPTIONS1, 0x0)) != 0) rc 1849 dev/ic/atw.c rc = atw_rf3000_write(sc, RF3000_OPTIONS2, RF3000_OPTIONS2_LNAGS_DELAY); rc 1850 dev/ic/atw.c if (rc != 0) rc 1868 dev/ic/atw.c return rc; rc 3526 dev/ic/atw.c int ack, rc; rc 3570 dev/ic/atw.c rc = atw_compute_duration1(firstlen + hdrlen, ack, flags, rate, d0); rc 3571 dev/ic/atw.c if (rc == -1) rc 3572 dev/ic/atw.c return rc; rc 251 dev/ic/bt463.c bt463_init(rc) rc 252 dev/ic/bt463.c struct ramdac_cookie *rc; rc 254 dev/ic/bt463.c struct bt463data *data = (struct bt463data *)rc; rc 363 dev/ic/bt463.c bt463_set_cmap(rc, cmapp) rc 364 dev/ic/bt463.c struct ramdac_cookie *rc; rc 367 dev/ic/bt463.c struct bt463data *data = (struct bt463data *)rc; rc 401 dev/ic/bt463.c bt463_get_cmap(rc, cmapp) rc 402 dev/ic/bt463.c struct ramdac_cookie *rc; rc 405 dev/ic/bt463.c struct bt463data *data = (struct bt463data *)rc; rc 426 dev/ic/bt463.c bt463_check_curcmap(rc, cursorp) rc 427 dev/ic/bt463.c struct ramdac_cookie *rc; rc 451 dev/ic/bt463.c bt463_set_curcmap(rc, cursorp) rc 452 dev/ic/bt463.c struct ramdac_cookie *rc; rc 455 dev/ic/bt463.c struct bt463data *data = (struct bt463data *)rc; rc 469 dev/ic/bt463.c bt463_get_curcmap(rc, cursorp) rc 470 dev/ic/bt463.c struct ramdac_cookie *rc; rc 473 dev/ic/bt463.c struct bt463data *data = (struct bt463data *)rc; rc 635 dev/ic/bt463.c int bt463_set_cursor (rc, cur) rc 636 dev/ic/bt463.c struct ramdac_cookie *rc; rc 639 dev/ic/bt463.c struct bt463data *data = (struct bt463data *)rc; rc 643 dev/ic/bt463.c int bt463_get_cursor (rc, cur) rc 644 dev/ic/bt463.c struct ramdac_cookie *rc; rc 647 dev/ic/bt463.c struct bt463data *data = (struct bt463data *)rc; rc 651 dev/ic/bt463.c int bt463_set_curpos (rc, cur) rc 652 dev/ic/bt463.c struct ramdac_cookie *rc; rc 655 dev/ic/bt463.c struct bt463data *data = (struct bt463data *)rc; rc 659 dev/ic/bt463.c int bt463_get_curpos (rc, cur) rc 660 dev/ic/bt463.c struct ramdac_cookie *rc; rc 663 dev/ic/bt463.c struct bt463data *data = (struct bt463data *)rc; rc 667 dev/ic/bt463.c int bt463_get_curmax (rc, cur) rc 668 dev/ic/bt463.c struct ramdac_cookie *rc; rc 671 dev/ic/bt463.c struct bt463data *data = (struct bt463data *)rc; rc 190 dev/ic/bt485.c bt485_init(rc) rc 191 dev/ic/bt485.c struct ramdac_cookie *rc; rc 194 dev/ic/bt485.c struct bt485data *data = (struct bt485data *)rc; rc 264 dev/ic/bt485.c bt485_set_cmap(rc, cmapp) rc 265 dev/ic/bt485.c struct ramdac_cookie *rc; rc 268 dev/ic/bt485.c struct bt485data *data = (struct bt485data *)rc; rc 273 dev/ic/bt485.c if (rc == NULL) rc 311 dev/ic/bt485.c bt485_get_cmap(rc, cmapp) rc 312 dev/ic/bt485.c struct ramdac_cookie *rc; rc 315 dev/ic/bt485.c struct bt485data *data = (struct bt485data *)rc; rc 336 dev/ic/bt485.c bt485_set_cursor(rc, cursorp) rc 337 dev/ic/bt485.c struct ramdac_cookie *rc; rc 340 dev/ic/bt485.c struct bt485data *data = (struct bt485data *)rc; rc 424 dev/ic/bt485.c bt485_get_cursor(rc, cursorp) rc 425 dev/ic/bt485.c struct ramdac_cookie *rc; rc 428 dev/ic/bt485.c struct bt485data *data = (struct bt485data *)rc; rc 471 dev/ic/bt485.c bt485_set_curpos(rc, curposp) rc 472 dev/ic/bt485.c struct ramdac_cookie *rc; rc 475 dev/ic/bt485.c struct bt485data *data = (struct bt485data *)rc; rc 484 dev/ic/bt485.c bt485_get_curpos(rc, curposp) rc 485 dev/ic/bt485.c struct ramdac_cookie *rc; rc 488 dev/ic/bt485.c struct bt485data *data = (struct bt485data *)rc; rc 495 dev/ic/bt485.c bt485_get_curmax(rc, curposp) rc 496 dev/ic/bt485.c struct ramdac_cookie *rc; rc 197 dev/ic/ibm561.c ibm561_init(rc) rc 198 dev/ic/ibm561.c struct ramdac_cookie *rc; rc 200 dev/ic/ibm561.c struct ibm561data *data = (struct ibm561data *)rc; rc 273 dev/ic/ibm561.c ibm561_set_cmap(rc, cmapp) rc 274 dev/ic/ibm561.c struct ramdac_cookie *rc; rc 277 dev/ic/ibm561.c struct ibm561data *data = (struct ibm561data *)rc; rc 309 dev/ic/ibm561.c ibm561_get_cmap(rc, cmapp) rc 310 dev/ic/ibm561.c struct ramdac_cookie *rc; rc 313 dev/ic/ibm561.c struct ibm561data *data = (struct ibm561data *)rc; rc 342 dev/ic/ibm561.c ibm561_set_cursor(rc, cursorp) rc 343 dev/ic/ibm561.c struct ramdac_cookie *rc; rc 350 dev/ic/ibm561.c ibm561_get_cursor(rc, cursorp) rc 351 dev/ic/ibm561.c struct ramdac_cookie *rc; rc 358 dev/ic/ibm561.c ibm561_set_curpos(rc, curposp) rc 359 dev/ic/ibm561.c struct ramdac_cookie *rc; rc 366 dev/ic/ibm561.c ibm561_get_curpos(rc, curposp) rc 367 dev/ic/ibm561.c struct ramdac_cookie *rc; rc 374 dev/ic/ibm561.c ibm561_get_curmax(rc, curposp) rc 375 dev/ic/ibm561.c struct ramdac_cookie *rc; rc 382 dev/ic/ibm561.c ibm561_set_dotclock(rc, dotclock) rc 383 dev/ic/ibm561.c struct ramdac_cookie *rc; rc 386 dev/ic/ibm561.c struct ibm561data *data = (struct ibm561data *)rc; rc 98 dev/ic/lsi64854.c int rc; rc 120 dev/ic/lsi64854.c if ((rc = bus_dmamap_create(sc->sc_dmatag, MAX_DMA_SZ, 1, MAX_DMA_SZ, rc 123 dev/ic/lsi64854.c return (rc); rc 495 dev/ic/rtw.c int rc; rc 498 dev/ic/rtw.c if ((rc = rtw_chip_reset(&sc->sc_regs, sc->sc_dev.dv_xname)) != 0) rc 499 dev/ic/rtw.c return rc; rc 501 dev/ic/rtw.c if ((rc = rtw_recall_eeprom(&sc->sc_regs, sc->sc_dev.dv_xname)) != 0) rc 515 dev/ic/rtw.c int i, rc = 0; rc 517 dev/ic/rtw.c rc = bus_dmamap_create(dmat, MCLBYTES, RTW_MAXPKTSEGS, MCLBYTES, rc 519 dev/ic/rtw.c if (rc != 0) rc 522 dev/ic/rtw.c return rc; rc 529 dev/ic/rtw.c int i, rc = 0; rc 531 dev/ic/rtw.c rc = bus_dmamap_create(dmat, MCLBYTES, 1, MCLBYTES, 0, 0, rc 533 dev/ic/rtw.c if (rc != 0) rc 536 dev/ic/rtw.c return rc; rc 643 dev/ic/rtw.c int rc; rc 707 dev/ic/rtw.c if ((rc = rtw_recall_eeprom(regs, dvname)) != 0) rc 708 dev/ic/rtw.c return rc; rc 989 dev/ic/rtw.c int rc; rc 1009 dev/ic/rtw.c rc = bus_dmamap_load_mbuf(dmat, rs->rs_dmamap, m, BUS_DMA_NOWAIT); rc 1010 dev/ic/rtw.c if (rc != 0) { rc 1024 dev/ic/rtw.c int i, rc = 0; rc 1034 dev/ic/rtw.c rc = ENOBUFS; rc 1038 dev/ic/rtw.c if ((rc = rtw_rxsoft_alloc(dmat, rs)) != 0) { rc 1040 dev/ic/rtw.c "rc %d\n", dvname, i, rc); rc 1045 dev/ic/rtw.c return rc; rc 1638 dev/ic/rtw.c int rc, pri; rc 1647 dev/ic/rtw.c if ((rc = rtw_rxsoft_init_all(sc->sc_dmat, sc->sc_rxsoft, rc 1652 dev/ic/rtw.c return rc; rc 2128 dev/ic/rtw.c int rc; rc 2138 dev/ic/rtw.c rc = (*sc->sc_rf_pwrstate)(sc, power); rc 2152 dev/ic/rtw.c if (rc == 0) rc 2156 dev/ic/rtw.c return rc; rc 2165 dev/ic/rtw.c int rc; rc 2194 dev/ic/rtw.c if ((rc = rtw_phy_init(sc)) != 0) { rc 2205 dev/ic/rtw.c return rc; rc 2211 dev/ic/rtw.c int rc; rc 2218 dev/ic/rtw.c (rc = rtw_pwrstate(sc, RTW_OFF)) != 0) { rc 2220 dev/ic/rtw.c sc->sc_dev.dv_xname, rc); rc 2414 dev/ic/rtw.c int rc = 0; rc 2416 dev/ic/rtw.c if ((rc = rtw_enable(sc)) != 0) rc 2427 dev/ic/rtw.c if ((rc = rtw_pwrstate(sc, RTW_OFF)) != 0) rc 2430 dev/ic/rtw.c if ((rc = rtw_swring_setup(sc)) != 0) rc 2487 dev/ic/rtw.c return rc; rc 2654 dev/ic/rtw.c int rc = 0, s; rc 2664 dev/ic/rtw.c rc = EINVAL; rc 2683 dev/ic/rtw.c rc = rtw_init(ifp); rc 2690 dev/ic/rtw.c rc = ether_addmulti(ifr, &sc->sc_ic.ic_ac); rc 2692 dev/ic/rtw.c rc = ether_delmulti(ifr, &sc->sc_ic.ic_ac); rc 2693 dev/ic/rtw.c if (rc != ENETRESET) rc 2697 dev/ic/rtw.c rc = 0; rc 2700 dev/ic/rtw.c if ((rc = ieee80211_ioctl(ifp, cmd, data)) == ENETRESET) { rc 2702 dev/ic/rtw.c rc = rtw_init(ifp); rc 2704 dev/ic/rtw.c rc = 0; rc 2709 dev/ic/rtw.c return rc; rc 2876 dev/ic/rtw.c int first, rc; rc 2886 dev/ic/rtw.c ((rc = bus_dmamap_load_mbuf(dmat, dmam, m0, rc 2890 dev/ic/rtw.c if (rc == 0) rc 2913 dev/ic/rtw.c if (rc != 0) { rc 2914 dev/ic/rtw.c printf("%s: cannot load Tx buffer, rc = %d\n", dvname, rc); rc 3043 dev/ic/rtw.c int ack, rc; rc 3087 dev/ic/rtw.c rc = rtw_compute_duration1(firstlen + hdrlen, ack, flags, rate, d0); rc 3088 dev/ic/rtw.c if (rc == -1) rc 3089 dev/ic/rtw.c return rc; rc 3728 dev/ic/rtw.c int pri, rc = 0; rc 3736 dev/ic/rtw.c rc = rtw_txsoft_blk_setup(&tsbs[pri], qlen[pri]); rc 3737 dev/ic/rtw.c if (rc != 0) rc 3744 dev/ic/rtw.c return rc; rc 3939 dev/ic/rtw.c int pri, rc; rc 3974 dev/ic/rtw.c rc = bus_dmamem_alloc(sc->sc_dmat, sizeof(struct rtw_descs), rc 3978 dev/ic/rtw.c if (rc != 0) { rc 3980 dev/ic/rtw.c sc->sc_dev.dv_xname, rc); rc 3984 dev/ic/rtw.c rc = bus_dmamem_map(sc->sc_dmat, &sc->sc_desc_segs, rc 3988 dev/ic/rtw.c if (rc != 0) { rc 3990 dev/ic/rtw.c sc->sc_dev.dv_xname, rc); rc 3994 dev/ic/rtw.c rc = bus_dmamap_create(sc->sc_dmat, sizeof(struct rtw_descs), 1, rc 3997 dev/ic/rtw.c if (rc != 0) { rc 3999 dev/ic/rtw.c "error %d\n", sc->sc_dev.dv_xname, rc); rc 4011 dev/ic/rtw.c rc = bus_dmamap_load(sc->sc_dmat, sc->sc_desc_dmamap, sc->sc_descs, rc 4014 dev/ic/rtw.c if (rc != 0) { rc 4016 dev/ic/rtw.c "error %d\n", sc->sc_dev.dv_xname, rc); rc 4030 dev/ic/rtw.c if ((rc = rtw_txdesc_dmamaps_create(sc->sc_dmat, rc 4034 dev/ic/rtw.c sc->sc_dev.dv_xname, rc); rc 4039 dev/ic/rtw.c if ((rc = rtw_rxdesc_dmamaps_create(sc->sc_dmat, &sc->sc_rxsoft[0], rc 4042 dev/ic/rtw.c "error %d\n", sc->sc_dev.dv_xname, rc); rc 4229 dev/ic/rtw.c int rc; rc 4239 dev/ic/rtw.c if ((rc = rtw_bbp_write(regs, reg, val)) != 0) \ rc 4240 dev/ic/rtw.c return rc; rc 4249 dev/ic/rtw.c if ((rc = rtw_bbp_preinit(regs, bb->bb_antatten, dflantb, freq)) != 0) rc 4250 dev/ic/rtw.c return rc; rc 4323 dev/ic/rtw.c int rc; rc 4346 dev/ic/rtw.c if ((rc = rtw_rf_macwrite(sc, SA2400_SYNA, syna)) != 0) rc 4347 dev/ic/rtw.c return rc; rc 4348 dev/ic/rtw.c if ((rc = rtw_rf_macwrite(sc, SA2400_SYNB, synb)) != 0) rc 4349 dev/ic/rtw.c return rc; rc 4350 dev/ic/rtw.c if ((rc = rtw_rf_macwrite(sc, SA2400_SYNC, sync)) != 0) rc 4351 dev/ic/rtw.c return rc; rc 4398 dev/ic/rtw.c int rc; rc 4400 dev/ic/rtw.c if ((rc = rtw_sa2400_vcocal_start(sc, 1)) != 0) rc 4401 dev/ic/rtw.c return rc; rc 4422 dev/ic/rtw.c int rc; rc 4429 dev/ic/rtw.c rc = rtw_rf_macwrite(sc, SA2400_OPMODE, dccal); rc 4431 dev/ic/rtw.c if (rc != 0) rc 4432 dev/ic/rtw.c return rc; rc 4441 dev/ic/rtw.c rc = rtw_rf_macwrite(sc, SA2400_OPMODE, dccal); rc 4442 dev/ic/rtw.c if (rc != 0) rc 4443 dev/ic/rtw.c return rc; rc 4455 dev/ic/rtw.c int i, rc; rc 4459 dev/ic/rtw.c if ((rc = rtw_sa2400_vco_calibration(sc)) != 0) rc 4460 dev/ic/rtw.c return rc; rc 4463 dev/ic/rtw.c if ((rc = rtw_sa2400_tune(sc, freq)) != 0) rc 4464 dev/ic/rtw.c return rc; rc 4465 dev/ic/rtw.c if ((rc = rtw_sa2400_filter_calibration(sc)) != 0) rc 4466 dev/ic/rtw.c return rc; rc 4477 dev/ic/rtw.c int rc; rc 4480 dev/ic/rtw.c if ((rc = rtw_sa2400_txpower(sc, opaque_txpower)) != 0) rc 4481 dev/ic/rtw.c return rc; rc 4488 dev/ic/rtw.c if ((rc = rtw_sa2400_pwrstate(sc, RTW_SLEEP)) != 0) rc 4489 dev/ic/rtw.c return rc; rc 4491 dev/ic/rtw.c if ((rc = rtw_sa2400_tune(sc, freq)) != 0) rc 4492 dev/ic/rtw.c return rc; rc 4499 dev/ic/rtw.c if ((rc = rtw_rf_macwrite(sc, SA2400_AGC, agc)) != 0) rc 4500 dev/ic/rtw.c return rc; rc 4507 dev/ic/rtw.c if ((rc = rtw_rf_macwrite(sc, SA2400_MANRX, manrx)) != 0) rc 4508 dev/ic/rtw.c return rc; rc 4510 dev/ic/rtw.c if ((rc = rtw_sa2400_calibrate(sc, freq)) != 0) rc 4511 dev/ic/rtw.c return rc; rc 4532 dev/ic/rtw.c int rc; rc 4534 dev/ic/rtw.c if ((rc = rtw_rf_hostwrite(sc, MAX2820_TEST, rc 4536 dev/ic/rtw.c return rc; rc 4538 dev/ic/rtw.c if ((rc = rtw_rf_hostwrite(sc, MAX2820_ENABLE, rc 4540 dev/ic/rtw.c return rc; rc 4543 dev/ic/rtw.c if ((rc = rtw_max2820_pwrstate(sc, power)) != 0) rc 4544 dev/ic/rtw.c return rc; rc 4548 dev/ic/rtw.c if ((rc = rtw_rf_hostwrite(sc, MAX2820_SYNTH, rc 4550 dev/ic/rtw.c return rc; rc 4552 dev/ic/rtw.c if ((rc = rtw_max2820_tune(sc, freq)) != 0) rc 4553 dev/ic/rtw.c return rc; rc 4559 dev/ic/rtw.c if ((rc = rtw_rf_hostwrite(sc, MAX2820_RECEIVE, rc 4563 dev/ic/rtw.c return rc; rc 4598 dev/ic/rtw.c int rc; rc 4629 dev/ic/rtw.c if ((rc = rtw_grf5101_txpower(sc, opaque_txpower)) != 0) rc 4630 dev/ic/rtw.c return rc; rc 4632 dev/ic/rtw.c if ((rc = rtw_grf5101_tune(sc, freq)) != 0) rc 4633 dev/ic/rtw.c return rc; rc 4747 dev/ic/rtw.c int rc; rc 4764 dev/ic/rtw.c if ((rc = (*sc->sc_rf_txpower)(sc, opaque_txpower)) != 0) rc 4765 dev/ic/rtw.c return rc; rc 4766 dev/ic/rtw.c if ((rc = rtw_bbp_preinit(regs, sc->sc_bbpset.bb_antatten, dflantb, rc 4768 dev/ic/rtw.c return rc; rc 4769 dev/ic/rtw.c if ((rc = (*sc->sc_rf_tune)(sc, freq)) != 0) rc 4770 dev/ic/rtw.c return rc; rc 4772 dev/ic/rtw.c if ((rc = (*sc->sc_rf_init)(sc, freq, opaque_txpower, power)) != 0) rc 4773 dev/ic/rtw.c return rc; rc 4775 dev/ic/rtw.c if ((rc = (*sc->sc_rf_txpower)(sc, opaque_txpower)) != 0) rc 4776 dev/ic/rtw.c return rc; rc 1033 dev/ic/sili.c int rc; rc 1069 dev/ic/sili.c rc = sili_pwait_eq(sp, SILI_PREG_PSS, (1 << 0), 0, 1000); rc 1074 dev/ic/sili.c if (!rc) { rc 133 dev/ic/sti.c int rc; rc 145 dev/ic/sti.c if ((rc = sti_screen_setup(scr, sc->iot, sc->memt, sc->romh, sc->bases, rc 149 dev/ic/sti.c return (rc); rc 997 dev/ipmi.c int rc = -1; rc 1030 dev/ipmi.c rc = sc->sc_if->sendmsg(sc, txlen, buf); rc 1036 dev/ipmi.c return (rc); rc 1042 dev/ipmi.c u_int8_t *buf, rc = 0; rc 1059 dev/ipmi.c rc = buf[IPMI_MSG_CCODE]; rc 1061 dev/ipmi.c if (rc != 0) rc 1075 dev/ipmi.c return (rc); rc 1443 dev/ipmi.c int rc; rc 1451 dev/ipmi.c rc = add_child_sensors(sc, psdr, 1, s1->sensor_num, rc 1457 dev/ipmi.c rc = add_child_sensors(sc, psdr, s2->share1 & 0xF, rc 1466 dev/ipmi.c return rc; rc 1761 dev/ipmi.c int s, rc, len; rc 1767 dev/ipmi.c rc = ipmi_sendcmd(sc, BMC_SA, BMC_LUN, APP_NETFN, rc 1769 dev/ipmi.c rc = ipmi_recvcmd(sc, 0, &len, NULL); rc 1780 dev/ipmi.c rc = ipmi_sendcmd(sc, BMC_SA, BMC_LUN, APP_NETFN, rc 1782 dev/ipmi.c rc = ipmi_recvcmd(sc, sizeof(wdog), &len, &wdog); rc 1790 dev/ipmi.c rc = ipmi_sendcmd(sc, BMC_SA, BMC_LUN, APP_NETFN, rc 1792 dev/ipmi.c rc = ipmi_recvcmd(sc, 0, &len, NULL); rc 78 dev/isa/mpu_isa.c int i, rc; rc 80 dev/isa/mpu_isa.c rc = 0; rc 98 dev/isa/mpu_isa.c rc = 1; rc 104 dev/isa/mpu_isa.c if (rc == 1) { rc 106 dev/isa/mpu_isa.c rc = 0; rc 110 dev/isa/mpu_isa.c rc = 1; rc 117 dev/isa/mpu_isa.c return (rc); rc 97 dev/isa/sb_isa.c int rc = 0; rc 132 dev/isa/sb_isa.c rc = 1; rc 136 dev/isa/sb_isa.c return rc; rc 825 dev/pci/ahci.c int i, rc = ENOMEM; rc 869 dev/pci/ahci.c rc = ENXIO; rc 896 dev/pci/ahci.c rc = ENXIO; rc 965 dev/pci/ahci.c rc = ahci_port_portreset(ap); rc 966 dev/pci/ahci.c switch (rc) { rc 990 dev/pci/ahci.c rc = ahci_port_softreset(ap); rc 991 dev/pci/ahci.c if (rc) { rc 1008 dev/pci/ahci.c rc = ENXIO; /* couldn't start port */ rc 1028 dev/pci/ahci.c if (rc != 0) rc 1031 dev/pci/ahci.c return (rc); rc 1166 dev/pci/ahci.c int s, rc = EIO; rc 1204 dev/pci/ahci.c rc = EBUSY; rc 1244 dev/pci/ahci.c rc = EBUSY; rc 1248 dev/pci/ahci.c rc = 0; rc 1252 dev/pci/ahci.c if (rc != 0 && ISSET(ap->ap_active, 1 << ccb->ccb_slot)) { rc 1266 dev/pci/ahci.c return (rc); rc 1274 dev/pci/ahci.c int rc; rc 1299 dev/pci/ahci.c rc = ENODEV; rc 1310 dev/pci/ahci.c rc = EBUSY; rc 1314 dev/pci/ahci.c rc = 0; rc 1319 dev/pci/ahci.c return (rc); rc 1943 dev/pci/ahci.c int rc = EIO; rc 1976 dev/pci/ahci.c rc = ENOMEM; /* XXX caller must abort all commands */ rc 1984 dev/pci/ahci.c rc = 0; rc 1987 dev/pci/ahci.c if (rc != 0 && ISSET(ap->ap_active, 1 << ccb->ccb_slot)) { rc 1998 dev/pci/ahci.c if (rc == 0) { rc 2007 dev/pci/ahci.c rc = ESRCH; rc 2024 dev/pci/ahci.c return (rc); rc 1028 dev/pci/hifn7751.c struct hifn_base_command rc; rc 1032 dev/pci/hifn7751.c rc.masks = htole16(2 << 13); rc 1033 dev/pci/hifn7751.c rc.session_num = htole16(addr >> 14); rc 1034 dev/pci/hifn7751.c rc.total_source_count = htole16(addr & 0x3fff); rc 1035 dev/pci/hifn7751.c rc.total_dest_count = htole16(8); rc 1044 dev/pci/hifn7751.c *(struct hifn_base_command *)dma->command_bufs[cmdi] = rc; rc 1504 dev/pci/if_bnx.c int i, rc = 0; rc 1543 dev/pci/if_bnx.c rc = EBUSY; rc 1546 dev/pci/if_bnx.c return(rc); rc 1617 dev/pci/if_bnx.c int j, entry_count, rc; rc 1627 dev/pci/if_bnx.c rc = 0; rc 1671 dev/pci/if_bnx.c if ((rc = bnx_acquire_nvram_lock(sc)) != 0) rc 1672 dev/pci/if_bnx.c return (rc); rc 1693 dev/pci/if_bnx.c rc = ENODEV; rc 1709 dev/pci/if_bnx.c return (rc); rc 1725 dev/pci/if_bnx.c int rc = 0; rc 1732 dev/pci/if_bnx.c if ((rc = bnx_acquire_nvram_lock(sc)) != 0) rc 1733 dev/pci/if_bnx.c return (rc); rc 1758 dev/pci/if_bnx.c rc = bnx_nvram_read_dword(sc, offset32, buf, cmd_flags); rc 1760 dev/pci/if_bnx.c if (rc) rc 1761 dev/pci/if_bnx.c return (rc); rc 1784 dev/pci/if_bnx.c rc = bnx_nvram_read_dword(sc, offset32, buf, cmd_flags); rc 1796 dev/pci/if_bnx.c rc = bnx_nvram_read_dword(sc, offset32, ret_buf, cmd_flags); rc 1803 dev/pci/if_bnx.c while (len32 > 4 && rc == 0) { rc 1804 dev/pci/if_bnx.c rc = bnx_nvram_read_dword(sc, offset32, ret_buf, 0); rc 1812 dev/pci/if_bnx.c if (rc) rc 1813 dev/pci/if_bnx.c return (rc); rc 1816 dev/pci/if_bnx.c rc = bnx_nvram_read_dword(sc, offset32, buf, cmd_flags); rc 1825 dev/pci/if_bnx.c return (rc); rc 1845 dev/pci/if_bnx.c int rc = 0; rc 1856 dev/pci/if_bnx.c if ((rc = bnx_nvram_read(sc, offset32, start, 4))) rc 1857 dev/pci/if_bnx.c return (rc); rc 1864 dev/pci/if_bnx.c if ((rc = bnx_nvram_read(sc, offset32 + len32 - 4, rc 1866 dev/pci/if_bnx.c return (rc); rc 1886 dev/pci/if_bnx.c while ((written < len32) && (rc == 0)) { rc 1904 dev/pci/if_bnx.c if ((rc = bnx_acquire_nvram_lock(sc)) != 0) rc 1920 dev/pci/if_bnx.c rc = bnx_nvram_read_dword(sc, rc 1925 dev/pci/if_bnx.c if (rc) rc 1933 dev/pci/if_bnx.c if ((rc = bnx_enable_nvram_write(sc)) != 0) rc 1937 dev/pci/if_bnx.c if ((rc = bnx_nvram_erase_page(sc, page_start)) != 0) rc 1950 dev/pci/if_bnx.c rc = bnx_nvram_write_dword(sc, addr, rc 1953 dev/pci/if_bnx.c if (rc != 0) rc 1969 dev/pci/if_bnx.c rc = bnx_nvram_write_dword(sc, addr, buf, cmd_flags); rc 1971 dev/pci/if_bnx.c if (rc != 0) rc 1987 dev/pci/if_bnx.c rc = bnx_nvram_write_dword(sc, addr, rc 1990 dev/pci/if_bnx.c if (rc != 0) rc 2012 dev/pci/if_bnx.c return (rc); rc 2030 dev/pci/if_bnx.c int rc = 0; rc 2037 dev/pci/if_bnx.c if ((rc = bnx_nvram_read(sc, 0, data, 4)) != 0) rc 2042 dev/pci/if_bnx.c rc = ENODEV; rc 2053 dev/pci/if_bnx.c if ((rc = bnx_nvram_read(sc, 0x100, data, BNX_NVRAM_SIZE)) != 0) rc 2058 dev/pci/if_bnx.c rc = ENODEV; rc 2070 dev/pci/if_bnx.c rc = ENODEV; rc 2074 dev/pci/if_bnx.c return (rc); rc 2183 dev/pci/if_bnx.c int i, rc = 0; rc 2194 dev/pci/if_bnx.c rc = ENOMEM; rc 2202 dev/pci/if_bnx.c rc = ENOMEM; rc 2209 dev/pci/if_bnx.c rc = ENOMEM; rc 2216 dev/pci/if_bnx.c rc = ENOMEM; rc 2234 dev/pci/if_bnx.c rc = ENOMEM; rc 2242 dev/pci/if_bnx.c rc = ENOMEM; rc 2249 dev/pci/if_bnx.c rc = ENOMEM; rc 2256 dev/pci/if_bnx.c rc = ENOMEM; rc 2276 dev/pci/if_bnx.c rc = ENOMEM; rc 2285 dev/pci/if_bnx.c rc = ENOMEM; rc 2293 dev/pci/if_bnx.c rc = ENOMEM; rc 2301 dev/pci/if_bnx.c rc = ENOMEM; rc 2323 dev/pci/if_bnx.c rc = ENOMEM; rc 2337 dev/pci/if_bnx.c rc = ENOMEM; rc 2346 dev/pci/if_bnx.c rc = ENOMEM; rc 2354 dev/pci/if_bnx.c rc = ENOMEM; rc 2362 dev/pci/if_bnx.c rc = ENOMEM; rc 2383 dev/pci/if_bnx.c rc = ENOMEM; rc 2391 dev/pci/if_bnx.c return(rc); rc 2433 dev/pci/if_bnx.c int i, rc = 0; rc 2438 dev/pci/if_bnx.c rc = EBUSY; rc 2473 dev/pci/if_bnx.c rc = EBUSY; rc 2477 dev/pci/if_bnx.c return (rc); rc 2951 dev/pci/if_bnx.c int i, rc = 0; rc 2968 dev/pci/if_bnx.c rc = bnx_fw_sync(sc, BNX_DRV_MSG_DATA_WAIT0 | reset_code); rc 2969 dev/pci/if_bnx.c if (rc) rc 2999 dev/pci/if_bnx.c rc = EBUSY; rc 3008 dev/pci/if_bnx.c rc = ENODEV; rc 3016 dev/pci/if_bnx.c rc = bnx_fw_sync(sc, BNX_DRV_MSG_DATA_WAIT1 | reset_code); rc 3017 dev/pci/if_bnx.c if (rc) rc 3024 dev/pci/if_bnx.c return (rc); rc 3032 dev/pci/if_bnx.c int rc = 0; rc 3090 dev/pci/if_bnx.c rc = ENODEV; rc 3116 dev/pci/if_bnx.c return(rc); rc 3129 dev/pci/if_bnx.c int rc = 0; rc 3195 dev/pci/if_bnx.c rc = ENODEV; rc 3213 dev/pci/if_bnx.c rc = bnx_fw_sync(sc, BNX_DRV_MSG_DATA_WAIT2 | BNX_DRV_MSG_CODE_RESET); rc 3226 dev/pci/if_bnx.c return (rc); rc 3246 dev/pci/if_bnx.c int i, rc = 0; rc 3270 dev/pci/if_bnx.c rc = ENOBUFS; rc 3282 dev/pci/if_bnx.c rc = ENOBUFS; rc 3298 dev/pci/if_bnx.c rc = ENOBUFS; rc 3320 dev/pci/if_bnx.c rc = ENOBUFS; rc 3382 dev/pci/if_bnx.c return(rc); rc 3396 dev/pci/if_bnx.c int i, rc = 0; rc 3455 dev/pci/if_bnx.c return(rc); rc 3507 dev/pci/if_bnx.c int i, rc = 0; rc 3558 dev/pci/if_bnx.c rc = ENOBUFS; rc 3581 dev/pci/if_bnx.c return(rc); rc 3635 dev/pci/if_bnx.c int rc = 0; rc 3651 dev/pci/if_bnx.c return(rc); rc 4318 dev/pci/if_bnx.c int i, error, rc = 0; rc 4434 dev/pci/if_bnx.c return (rc); rc 2817 dev/pci/if_em.c int32_t rc; rc 2828 dev/pci/if_em.c rc = 0; rc 2830 dev/pci/if_em.c rc = -1; rc 2832 dev/pci/if_em.c return (rc); rc 671 dev/pci/if_myx.c struct myx_rdmacmd rc; rc 681 dev/pci/if_myx.c rc.rc_addr_high = htobe32(MYX_ADDRHIGH(map->dm_segs[0].ds_addr)); rc 682 dev/pci/if_myx.c rc.rc_addr_low = htobe32(MYX_ADDRLOW(map->dm_segs[0].ds_addr)); rc 683 dev/pci/if_myx.c rc.rc_result = 0xffffffff; rc 684 dev/pci/if_myx.c rc.rc_rdma_high = htobe32(MYX_ADDRHIGH(pad->dm_segs[0].ds_addr)); rc 685 dev/pci/if_myx.c rc.rc_rdma_low = htobe32(MYX_ADDRLOW(pad->dm_segs[0].ds_addr)); rc 686 dev/pci/if_myx.c rc.rc_enable = htobe32(do_enable); rc 692 dev/pci/if_myx.c myx_write(sc, MYX_RDMA, (u_int8_t *)&rc, sizeof(struct myx_rdmacmd)); rc 108 dev/pci/sti_pci.c int rc; rc 123 dev/pci/sti_pci.c rc = bus_space_map(pa->pa_memt, PCI_ROM_ADDR(address), romsize, rc 126 dev/pci/sti_pci.c if (rc != 0) { rc 128 dev/pci/sti_pci.c sc->sc_dev.dv_xname, rc); rc 150 dev/pci/sti_pci.c rc = EINVAL; rc 165 dev/pci/sti_pci.c rc = EINVAL; rc 197 dev/pci/sti_pci.c rc = EINVAL; rc 241 dev/pci/sti_pci.c if (rc == 0) { rc 244 dev/pci/sti_pci.c rc = ENOEXEC; rc 257 dev/pci/sti_pci.c rc = sti_readbar(sc, pa, i, rc 259 dev/pci/sti_pci.c if (rc != 0) rc 280 dev/pci/sti_pci.c rc = bus_space_map(pa->pa_memt, PCI_ROM_ADDR(address) + offs, rc 282 dev/pci/sti_pci.c if (rc != 0) { rc 284 dev/pci/sti_pci.c sc->sc_dev.dv_xname, rc); rc 296 dev/pci/sti_pci.c return (rc); rc 309 dev/pci/sti_pci.c int rc; rc 328 dev/pci/sti_pci.c rc = pci_io_find(pa->pa_pc, pa->pa_tag, bar, &addr, &size); rc 330 dev/pci/sti_pci.c rc = pci_mem_find(pa->pa_pc, pa->pa_tag, bar, &addr, &size, rc 333 dev/pci/sti_pci.c if (rc != 0) { rc 338 dev/pci/sti_pci.c return (rc); rc 269 dev/pcmcia/cfxga.c int rc; rc 290 dev/pcmcia/cfxga.c rc = pcmcia_mem_alloc(pf, CFXGA_MEM_RANGE, &h); rc 291 dev/pcmcia/cfxga.c if (rc != 0) rc 294 dev/pcmcia/cfxga.c rc = pcmcia_mem_map(pf, PCMCIA_MEM_ATTR, 0, CFXGA_MEM_RANGE, rc 296 dev/pcmcia/cfxga.c if (rc != 0) rc 853 dev/pcmcia/cfxga.c int rc; rc 861 dev/pcmcia/cfxga.c if ((rc = cfxga_synchronize(sc)) != 0) rc 862 dev/pcmcia/cfxga.c return (rc); rc 941 dev/pcmcia/cfxga.c int rc; rc 954 dev/pcmcia/cfxga.c rc = cfxga_solid_fill(scr, x, y, cx, cy, rc 957 dev/pcmcia/cfxga.c rc = cfxga_expand_char(scr, cell->uc, rc 961 dev/pcmcia/cfxga.c if (rc != 0) rc 962 dev/pcmcia/cfxga.c return (rc); rc 979 dev/pcmcia/cfxga.c int rc; rc 984 dev/pcmcia/cfxga.c if ((rc = cfxga_synchronize(sc)) != 0) rc 985 dev/pcmcia/cfxga.c return (rc); rc 1014 dev/pcmcia/cfxga.c int rc; rc 1025 dev/pcmcia/cfxga.c if ((rc = cfxga_synchronize(sc)) != 0) rc 1026 dev/pcmcia/cfxga.c return (rc); rc 77 dev/raidframe/rf_acctrace.c int rc; rc 87 dev/raidframe/rf_acctrace.c rc = rf_mutex_init(&rf_tracing_mutex); rc 88 dev/raidframe/rf_acctrace.c if (rc) { rc 90 dev/raidframe/rf_acctrace.c __FILE__, __LINE__, rc); rc 92 dev/raidframe/rf_acctrace.c rc = rf_ShutdownCreate(listp, rf_ShutdownAccessTrace, NULL); rc 93 dev/raidframe/rf_acctrace.c if (rc) { rc 95 dev/raidframe/rf_acctrace.c " rc=%d.\n", __FILE__, __LINE__, rc); rc 102 dev/raidframe/rf_acctrace.c return (rc); rc 83 dev/raidframe/rf_alloclist.c int rc; rc 85 dev/raidframe/rf_alloclist.c rc = rf_mutex_init(&alist_mutex); rc 86 dev/raidframe/rf_alloclist.c if (rc) { rc 88 dev/raidframe/rf_alloclist.c __FILE__, __LINE__, rc); rc 89 dev/raidframe/rf_alloclist.c return (rc); rc 93 dev/raidframe/rf_alloclist.c rc = rf_ShutdownCreate(listp, rf_ShutdownAllocList, NULL); rc 94 dev/raidframe/rf_alloclist.c if (rc) { rc 96 dev/raidframe/rf_alloclist.c " rc=%d.\n", __FILE__, __LINE__, rc); rc 98 dev/raidframe/rf_alloclist.c return (rc); rc 62 dev/raidframe/rf_callback.c int rc; rc 68 dev/raidframe/rf_callback.c rc = rf_ShutdownCreate(listp, rf_ShutdownCallback, NULL); rc 69 dev/raidframe/rf_callback.c if (rc) { rc 71 dev/raidframe/rf_callback.c " rc=%d.\n", __FILE__, __LINE__, rc); rc 73 dev/raidframe/rf_callback.c return (rc); rc 224 dev/raidframe/rf_dagutils.c int rc; rc 230 dev/raidframe/rf_dagutils.c rc = rf_ShutdownCreate(listp, rf_ShutdownDAGs, NULL); rc 231 dev/raidframe/rf_dagutils.c if (rc) { rc 233 dev/raidframe/rf_dagutils.c " %d rc=%d\n", __FILE__, __LINE__, rc); rc 235 dev/raidframe/rf_dagutils.c return (rc); rc 129 dev/raidframe/rf_debugMem.c int i, rc; rc 131 dev/raidframe/rf_debugMem.c rc = rf_create_managed_mutex(listp, &rf_debug_mem_mutex); rc 132 dev/raidframe/rf_debugMem.c if (rc) { rc 134 dev/raidframe/rf_debugMem.c __FILE__, __LINE__, rc); rc 135 dev/raidframe/rf_debugMem.c return (rc); rc 63 dev/raidframe/rf_debugprint.c int rc; rc 65 dev/raidframe/rf_debugprint.c rc = rf_create_managed_mutex(listp, &rf_debug_print_mutex); rc 66 dev/raidframe/rf_debugprint.c if (rc) { rc 68 dev/raidframe/rf_debugprint.c __FILE__, __LINE__, rc); rc 69 dev/raidframe/rf_debugprint.c return (rc); rc 368 dev/raidframe/rf_decluster.c int rc; rc 370 dev/raidframe/rf_decluster.c rc = rf_ConfigureDeclustered(listp, raidPtr, cfgPtr); rc 371 dev/raidframe/rf_decluster.c if (rc) rc 372 dev/raidframe/rf_decluster.c return (rc); rc 374 dev/raidframe/rf_decluster.c rc = rf_ShutdownCreate(listp, rf_ShutdownDeclusteredDS, raidPtr); rc 375 dev/raidframe/rf_decluster.c if (rc) { rc 377 dev/raidframe/rf_decluster.c " DeclusteredDS.\n", rc); rc 379 dev/raidframe/rf_decluster.c return (rc); rc 199 dev/raidframe/rf_diskqueue.c int rc; rc 216 dev/raidframe/rf_diskqueue.c rc = rf_create_managed_mutex(listp, &diskqueue->mutex); rc 217 dev/raidframe/rf_diskqueue.c if (rc) { rc 219 dev/raidframe/rf_diskqueue.c __FILE__, __LINE__, rc); rc 220 dev/raidframe/rf_diskqueue.c return (rc); rc 222 dev/raidframe/rf_diskqueue.c rc = rf_create_managed_cond(listp, &diskqueue->cond); rc 223 dev/raidframe/rf_diskqueue.c if (rc) { rc 225 dev/raidframe/rf_diskqueue.c __FILE__, __LINE__, rc); rc 226 dev/raidframe/rf_diskqueue.c return (rc); rc 241 dev/raidframe/rf_diskqueue.c int rc; rc 247 dev/raidframe/rf_diskqueue.c rc = rf_ShutdownCreate(listp, rf_ShutdownDiskQueueSystem, NULL); rc 248 dev/raidframe/rf_diskqueue.c if (rc) { rc 250 dev/raidframe/rf_diskqueue.c " rc=%d\n", __FILE__, __LINE__, rc); rc 252 dev/raidframe/rf_diskqueue.c return (rc); rc 266 dev/raidframe/rf_diskqueue.c int rc, i; rc 296 dev/raidframe/rf_diskqueue.c rc = rf_ConfigureDiskQueue(raidPtr, &diskQueues[r][c], rc 301 dev/raidframe/rf_diskqueue.c if (rc) rc 302 dev/raidframe/rf_diskqueue.c return (rc); rc 308 dev/raidframe/rf_diskqueue.c rc = rf_ConfigureDiskQueue(raidPtr, &spareQueues[r], 0, rc 313 dev/raidframe/rf_diskqueue.c if (rc) rc 314 dev/raidframe/rf_diskqueue.c return (rc); rc 182 dev/raidframe/rf_driver.c int rc; rc 188 dev/raidframe/rf_driver.c rc = rf_mutex_init(&configureMutex); rc 189 dev/raidframe/rf_driver.c if (rc) { rc 191 dev/raidframe/rf_driver.c __FILE__, __LINE__, rc); rc 210 dev/raidframe/rf_driver.c int rc; rc 219 dev/raidframe/rf_driver.c rc = rf_mutex_destroy(&configureMutex); rc 220 dev/raidframe/rf_driver.c if (rc) { rc 222 dev/raidframe/rf_driver.c " rc=%d.\n", __FILE__, __LINE__, rc); rc 235 dev/raidframe/rf_driver.c int rc; rc 244 dev/raidframe/rf_driver.c rc = rf_ShutdownList(&globalShutdown); rc 245 dev/raidframe/rf_driver.c if (rc) { rc 247 dev/raidframe/rf_driver.c " rc=%d.\n", rc); rc 313 dev/raidframe/rf_driver.c rc = f (&globalShutdown); \ rc 314 dev/raidframe/rf_driver.c if (rc) { \ rc 316 dev/raidframe/rf_driver.c RF_STRING(f), rc); \ rc 320 dev/raidframe/rf_driver.c return(rc); \ rc 333 dev/raidframe/rf_driver.c rc = (f)(&raidPtr->shutdownList, raidPtr, cfgPtr); \ rc 334 dev/raidframe/rf_driver.c if (rc) { \ rc 336 dev/raidframe/rf_driver.c RF_STRING(f), rc); \ rc 338 dev/raidframe/rf_driver.c return(rc); \ rc 344 dev/raidframe/rf_driver.c rc = rf_create_managed_mutex(&raidPtr->shutdownList, (_m_)); \ rc 345 dev/raidframe/rf_driver.c if (rc) { \ rc 347 dev/raidframe/rf_driver.c " rc=%d.\n", __FILE__, __LINE__, rc); \ rc 349 dev/raidframe/rf_driver.c return(rc); \ rc 355 dev/raidframe/rf_driver.c rc = rf_create_managed_cond(&raidPtr->shutdownList, (_c_)); \ rc 356 dev/raidframe/rf_driver.c if (rc) { \ rc 358 dev/raidframe/rf_driver.c " rc=%d.\n", __FILE__, __LINE__, rc); \ rc 360 dev/raidframe/rf_driver.c return(rc); \ rc 368 dev/raidframe/rf_driver.c int i, rc; rc 383 dev/raidframe/rf_driver.c rc = rf_create_managed_mutex(&globalShutdown, &rf_printf_mutex); rc 384 dev/raidframe/rf_driver.c if (rc) { rc 386 dev/raidframe/rf_driver.c " rc=%d.\n", __FILE__, __LINE__, rc); rc 388 dev/raidframe/rf_driver.c return (rc); rc 436 dev/raidframe/rf_driver.c rc = rf_ShutdownCreate(&raidPtr->shutdownList, rc 438 dev/raidframe/rf_driver.c if (rc) { rc 440 dev/raidframe/rf_driver.c " rc=%d.\n", __FILE__, __LINE__, rc); rc 442 dev/raidframe/rf_driver.c return (rc); rc 546 dev/raidframe/rf_driver.c int rc; rc 548 dev/raidframe/rf_driver.c rc = rf_mutex_init(&desc->mutex); rc 549 dev/raidframe/rf_driver.c if (rc) { rc 551 dev/raidframe/rf_driver.c __LINE__, rc); rc 552 dev/raidframe/rf_driver.c return (rc); rc 554 dev/raidframe/rf_driver.c rc = rf_cond_init(&desc->cond); rc 555 dev/raidframe/rf_driver.c if (rc) { rc 557 dev/raidframe/rf_driver.c __LINE__, rc); rc 559 dev/raidframe/rf_driver.c return (rc); rc 581 dev/raidframe/rf_driver.c int rc; rc 588 dev/raidframe/rf_driver.c rc = rf_ShutdownCreate(listp, rf_ShutdownRDFreeList, NULL); rc 589 dev/raidframe/rf_driver.c if (rc) { rc 591 dev/raidframe/rf_driver.c __LINE__, rc); rc 593 dev/raidframe/rf_driver.c return (rc); rc 935 dev/raidframe/rf_driver.c int rc; rc 938 dev/raidframe/rf_driver.c rc = rf_create_managed_mutex(listp, &raidPtr->throughputstats.mutex); rc 939 dev/raidframe/rf_driver.c if (rc) { rc 941 dev/raidframe/rf_driver.c __FILE__, __LINE__, rc); rc 942 dev/raidframe/rf_driver.c return (rc); rc 144 dev/raidframe/rf_engine.c int rc; rc 152 dev/raidframe/rf_engine.c rc = rf_init_managed_threadgroup(listp, &raidPtr->engine_tg); rc 153 dev/raidframe/rf_engine.c if (rc) rc 154 dev/raidframe/rf_engine.c return (rc); rc 204 dev/raidframe/rf_engine.c rc = rf_ShutdownCreate(listp, rf_ShutdownEngine, raidPtr); rc 205 dev/raidframe/rf_engine.c if (rc) { rc 207 dev/raidframe/rf_engine.c " rc=%d\n", __FILE__, __LINE__, rc); rc 210 dev/raidframe/rf_engine.c return (rc); rc 144 dev/raidframe/rf_freelist.h int rc; \ rc 152 dev/raidframe/rf_freelist.h rc = rf_mutex_init(&(_fl_)->lock); \ rc 153 dev/raidframe/rf_freelist.h if (rc) { \ rc 453 dev/raidframe/rf_map.c int rc; rc 476 dev/raidframe/rf_map.c rc = rf_ShutdownCreate(listp, rf_ShutdownMapModule, NULL); rc 477 dev/raidframe/rf_map.c if (rc) { rc 479 dev/raidframe/rf_map.c " rc=%d\n", __FILE__, __LINE__, rc); rc 481 dev/raidframe/rf_map.c return (rc); rc 60 dev/raidframe/rf_mcpair.c int rc; rc 62 dev/raidframe/rf_mcpair.c rc = rf_mutex_init(&t->mutex); rc 63 dev/raidframe/rf_mcpair.c if (rc) { rc 65 dev/raidframe/rf_mcpair.c __FILE__, __LINE__, rc); rc 66 dev/raidframe/rf_mcpair.c return (rc); rc 68 dev/raidframe/rf_mcpair.c rc = rf_cond_init(&t->cond); rc 69 dev/raidframe/rf_mcpair.c if (rc) { rc 71 dev/raidframe/rf_mcpair.c __FILE__, __LINE__, rc); rc 73 dev/raidframe/rf_mcpair.c return (rc); rc 95 dev/raidframe/rf_mcpair.c int rc; rc 99 dev/raidframe/rf_mcpair.c rc = rf_ShutdownCreate(listp, rf_ShutdownMCPair, NULL); rc 100 dev/raidframe/rf_mcpair.c if (rc) { rc 102 dev/raidframe/rf_mcpair.c " rc=%d\n", __FILE__, __LINE__, rc); rc 104 dev/raidframe/rf_mcpair.c return (rc); rc 113 dev/raidframe/rf_memchunk.c int rc; rc 118 dev/raidframe/rf_memchunk.c rc = rf_mutex_init(&chunkmutex); rc 119 dev/raidframe/rf_memchunk.c if (rc) { rc 121 dev/raidframe/rf_memchunk.c __LINE__, rc); rc 123 dev/raidframe/rf_memchunk.c rc = rf_ShutdownCreate(listp, rf_ShutdownMemChunk, NULL); rc 124 dev/raidframe/rf_memchunk.c if (rc) { rc 126 dev/raidframe/rf_memchunk.c __LINE__, rc); rc 129 dev/raidframe/rf_memchunk.c return (rc); rc 62 dev/raidframe/rf_nwayxor.c int i, rc; rc 66 dev/raidframe/rf_nwayxor.c rc = rf_ShutdownCreate(listp, rf_ShutdownNWayXor, NULL); rc 67 dev/raidframe/rf_nwayxor.c return (rc); rc 346 dev/raidframe/rf_openbsdkintf.c int i, rc; rc 371 dev/raidframe/rf_openbsdkintf.c rc = rf_mutex_init(&rf_sparet_wait_mutex); rc 372 dev/raidframe/rf_openbsdkintf.c if (rc) { rc 380 dev/raidframe/rf_openbsdkintf.c rc = rf_BootRaidframe(); rc 381 dev/raidframe/rf_openbsdkintf.c if (rc == 0) rc 80 dev/raidframe/rf_paritylog.c int rc; rc 98 dev/raidframe/rf_paritylog.c rc = rf_mutex_init(&common->mutex); rc 99 dev/raidframe/rf_paritylog.c if (rc) { rc 101 dev/raidframe/rf_paritylog.c " rc=%d\n", __FILE__, __LINE__, rc); rc 80 dev/raidframe/rf_paritylogging.c int i, j, startdisk, rc; rc 249 dev/raidframe/rf_paritylogging.c rc = rf_mutex_init(&raidPtr->parityLogPool.mutex); rc 250 dev/raidframe/rf_paritylogging.c if (rc) { rc 252 dev/raidframe/rf_paritylogging.c __FILE__, __LINE__, rc); rc 315 dev/raidframe/rf_paritylogging.c rc = rf_ShutdownCreate(listp, rf_ShutdownParityLoggingPool, raidPtr); rc 316 dev/raidframe/rf_paritylogging.c if (rc) { rc 318 dev/raidframe/rf_paritylogging.c " rc=%d\n", __FILE__, __LINE__, rc); rc 320 dev/raidframe/rf_paritylogging.c return (rc); rc 323 dev/raidframe/rf_paritylogging.c rc = rf_mutex_init(&raidPtr->regionBufferPool.mutex); rc 324 dev/raidframe/rf_paritylogging.c if (rc) { rc 326 dev/raidframe/rf_paritylogging.c __FILE__, __LINE__, rc); rc 329 dev/raidframe/rf_paritylogging.c rc = rf_cond_init(&raidPtr->regionBufferPool.cond); rc 330 dev/raidframe/rf_paritylogging.c if (rc) { rc 332 dev/raidframe/rf_paritylogging.c __FILE__, __LINE__, rc); rc 382 dev/raidframe/rf_paritylogging.c rc = rf_ShutdownCreate(listp, rc 385 dev/raidframe/rf_paritylogging.c if (rc) { rc 387 dev/raidframe/rf_paritylogging.c " rc=%d\n", __FILE__, __LINE__, rc); rc 389 dev/raidframe/rf_paritylogging.c return (rc); rc 393 dev/raidframe/rf_paritylogging.c rc = rf_mutex_init(&raidPtr->parityBufferPool.mutex); rc 394 dev/raidframe/rf_paritylogging.c if (rc) { rc 396 dev/raidframe/rf_paritylogging.c __FILE__, __LINE__, rc); rc 397 dev/raidframe/rf_paritylogging.c return (rc); rc 399 dev/raidframe/rf_paritylogging.c rc = rf_cond_init(&raidPtr->parityBufferPool.cond); rc 400 dev/raidframe/rf_paritylogging.c if (rc) { rc 402 dev/raidframe/rf_paritylogging.c __FILE__, __LINE__, rc); rc 453 dev/raidframe/rf_paritylogging.c rc = rf_ShutdownCreate(listp, rc 456 dev/raidframe/rf_paritylogging.c if (rc) { rc 458 dev/raidframe/rf_paritylogging.c " rc=%d\n", __FILE__, __LINE__, rc); rc 460 dev/raidframe/rf_paritylogging.c return (rc); rc 463 dev/raidframe/rf_paritylogging.c rc = rf_create_managed_mutex(listp, rc 465 dev/raidframe/rf_paritylogging.c if (rc) { rc 467 dev/raidframe/rf_paritylogging.c __FILE__, __LINE__, rc); rc 468 dev/raidframe/rf_paritylogging.c return (rc); rc 470 dev/raidframe/rf_paritylogging.c rc = rf_create_managed_cond(listp, &raidPtr->parityLogDiskQueue.cond); rc 471 dev/raidframe/rf_paritylogging.c if (rc) { rc 473 dev/raidframe/rf_paritylogging.c __FILE__, __LINE__, rc); rc 474 dev/raidframe/rf_paritylogging.c return (rc); rc 489 dev/raidframe/rf_paritylogging.c rc = rf_ShutdownCreate(listp, rc 492 dev/raidframe/rf_paritylogging.c if (rc) { rc 494 dev/raidframe/rf_paritylogging.c " rc=%d\n", __FILE__, __LINE__, rc); rc 495 dev/raidframe/rf_paritylogging.c return (rc); rc 498 dev/raidframe/rf_paritylogging.c rc = rf_mutex_init(&raidPtr->regionInfo[i].mutex); rc 499 dev/raidframe/rf_paritylogging.c if (rc) { rc 501 dev/raidframe/rf_paritylogging.c " rc=%d\n", __FILE__, __LINE__, rc); rc 509 dev/raidframe/rf_paritylogging.c rc = rf_mutex_init(&raidPtr->regionInfo[i].reintMutex); rc 510 dev/raidframe/rf_paritylogging.c if (rc) { rc 512 dev/raidframe/rf_paritylogging.c " rc=%d\n", __FILE__, __LINE__, rc); rc 568 dev/raidframe/rf_paritylogging.c rc = rf_ShutdownCreate(listp, rc 571 dev/raidframe/rf_paritylogging.c if (rc) { rc 573 dev/raidframe/rf_paritylogging.c " rc=%d\n", __FILE__, __LINE__, rc); rc 575 dev/raidframe/rf_paritylogging.c return (rc); rc 579 dev/raidframe/rf_paritylogging.c rc = RF_CREATE_THREAD(raidPtr->pLogDiskThreadHandle, rc 581 dev/raidframe/rf_paritylogging.c if (rc) { rc 585 dev/raidframe/rf_paritylogging.c __FILE__, __LINE__, rc); rc 596 dev/raidframe/rf_paritylogging.c rc = rf_ShutdownCreate(listp, rf_ShutdownParityLogging, raidPtr); rc 597 dev/raidframe/rf_paritylogging.c if (rc) { rc 599 dev/raidframe/rf_paritylogging.c " event.\n", rc); rc 601 dev/raidframe/rf_paritylogging.c return (rc); rc 67 dev/raidframe/rf_parityscan.c int rc; rc 88 dev/raidframe/rf_parityscan.c rc = RF_PARITY_OKAY; rc 90 dev/raidframe/rf_parityscan.c for (i = 0; i < raidPtr->totalSectors && rc <= RF_PARITY_CORRECTED; rc 103 dev/raidframe/rf_parityscan.c rc = rf_VerifyParity(raidPtr, asm_h->stripeMap, 1, 0); rc 104 dev/raidframe/rf_parityscan.c switch (rc) { rc 122 dev/raidframe/rf_parityscan.c " RewriteParity.\n", rc); rc 147 dev/raidframe/rf_parityscan.c int lrc, rc; rc 156 dev/raidframe/rf_parityscan.c rc = RF_PARITY_OKAY; rc 164 dev/raidframe/rf_parityscan.c if (lrc > rc) { rc 169 dev/raidframe/rf_parityscan.c rc = lrc; rc 174 dev/raidframe/rf_parityscan.c rc = RF_PARITY_COULD_NOT_VERIFY; rc 176 dev/raidframe/rf_parityscan.c return (rc); rc 112 dev/raidframe/rf_psstatus.c int rc; rc 119 dev/raidframe/rf_psstatus.c rc = rf_ShutdownCreate(listp, rf_ShutdownPSStatus, raidPtr); rc 120 dev/raidframe/rf_psstatus.c if (rc) { rc 122 dev/raidframe/rf_psstatus.c " rc=%d.\n", __FILE__, __LINE__, rc); rc 124 dev/raidframe/rf_psstatus.c return (rc); rc 141 dev/raidframe/rf_psstatus.c int i, j, rc; rc 146 dev/raidframe/rf_psstatus.c rc = rf_mutex_init(&pssTable[i].mutex); rc 147 dev/raidframe/rf_psstatus.c if (rc) { rc 149 dev/raidframe/rf_psstatus.c " rc=%d.\n", __FILE__, __LINE__, rc); rc 110 dev/raidframe/rf_reconbuffer.c int rc; rc 113 dev/raidframe/rf_reconbuffer.c rc = lp->SubmitReconBuffer(rbuf, keep_it, use_committed); rc 114 dev/raidframe/rf_reconbuffer.c return (rc); rc 91 dev/raidframe/rf_reconmap.c int rc; rc 112 dev/raidframe/rf_reconmap.c rc = rf_mutex_init(&p->mutex); rc 113 dev/raidframe/rf_reconmap.c if (rc) { rc 115 dev/raidframe/rf_reconmap.c __FILE__, __LINE__, rc); rc 260 dev/raidframe/rf_reconstruct.c int rc; rc 273 dev/raidframe/rf_reconstruct.c rc = rf_ShutdownCreate(listp, rf_ShutdownReconstruction, NULL); rc 274 dev/raidframe/rf_reconstruct.c if (rc) { rc 276 dev/raidframe/rf_reconstruct.c " rc=%d.\n", __FILE__, __LINE__, rc); rc 278 dev/raidframe/rf_reconstruct.c return (rc); rc 336 dev/raidframe/rf_reconstruct.c int rc; rc 350 dev/raidframe/rf_reconstruct.c rc = rf_ReconstructFailedDiskBasic(raidPtr, row, col); rc 357 dev/raidframe/rf_reconstruct.c rc = EIO; rc 364 dev/raidframe/rf_reconstruct.c return (rc); rc 375 dev/raidframe/rf_reconstruct.c int numDisksDone = 0, rc; rc 428 dev/raidframe/rf_reconstruct.c rc = rf_ContinueReconstructFailedDisk(reconDesc); rc 430 dev/raidframe/rf_reconstruct.c if (!rc) { rc 452 dev/raidframe/rf_reconstruct.c return (rc); rc 473 dev/raidframe/rf_reconstruct.c int numDisksDone = 0, rc; rc 663 dev/raidframe/rf_reconstruct.c rc = rf_ContinueReconstructFailedDisk(reconDesc); rc 672 dev/raidframe/rf_reconstruct.c rc = EIO; rc 676 dev/raidframe/rf_reconstruct.c if (!rc) { rc 704 dev/raidframe/rf_reconstruct.c return (rc); rc 67 dev/raidframe/rf_reconutil.c int retcode, rc; rc 130 dev/raidframe/rf_reconutil.c rc = rf_mutex_init(&reconCtrlPtr->eq_mutex); rc 131 dev/raidframe/rf_reconutil.c if (rc) { rc 134 dev/raidframe/rf_reconutil.c __FILE__, __LINE__, rc); rc 137 dev/raidframe/rf_reconutil.c rc = rf_cond_init(&reconCtrlPtr->eq_cond); rc 138 dev/raidframe/rf_reconutil.c if (rc) { rc 141 dev/raidframe/rf_reconutil.c __FILE__, __LINE__, rc); rc 148 dev/raidframe/rf_reconutil.c rc = rf_mutex_init(&reconCtrlPtr->rb_mutex); rc 149 dev/raidframe/rf_reconutil.c if (rc) { rc 152 dev/raidframe/rf_reconutil.c __FILE__, __LINE__, rc); rc 75 dev/raidframe/rf_revent.c int rc; rc 81 dev/raidframe/rf_revent.c rc = rf_ShutdownCreate(listp, rf_ShutdownReconEvent, NULL); rc 82 dev/raidframe/rf_revent.c if (rc) { rc 84 dev/raidframe/rf_revent.c " rc=%d\n", __FILE__, __LINE__, rc); rc 86 dev/raidframe/rf_revent.c return (rc); rc 175 dev/raidframe/rf_stripelocks.c int rc; rc 179 dev/raidframe/rf_stripelocks.c rc = rf_ShutdownCreate(listp, rf_ShutdownStripeLockFreeList, NULL); rc 180 dev/raidframe/rf_stripelocks.c if (rc) { rc 182 dev/raidframe/rf_stripelocks.c " line %d rc=%d.\n", __FILE__, __LINE__, rc); rc 184 dev/raidframe/rf_stripelocks.c return (rc); rc 203 dev/raidframe/rf_stripelocks.c int i, rc; rc 210 dev/raidframe/rf_stripelocks.c rc = rf_mutex_init(&lockTable[i].mutex); rc 211 dev/raidframe/rf_stripelocks.c if (rc) { rc 213 dev/raidframe/rf_stripelocks.c " rc=%d.\n", __FILE__, __LINE__, rc); rc 246 dev/raidframe/rf_stripelocks.c int rc; rc 251 dev/raidframe/rf_stripelocks.c rc = rf_ShutdownCreate(listp, rf_RaidShutdownStripeLocks, raidPtr); rc 252 dev/raidframe/rf_stripelocks.c if (rc) { rc 254 dev/raidframe/rf_stripelocks.c " rc=%d.\n", __FILE__, __LINE__, rc); rc 256 dev/raidframe/rf_stripelocks.c return (rc); rc 50 dev/raidframe/rf_threadstuff.c int rc; rc 52 dev/raidframe/rf_threadstuff.c rc = rf_mutex_destroy(arg); rc 53 dev/raidframe/rf_threadstuff.c if (rc) { rc 54 dev/raidframe/rf_threadstuff.c RF_ERRORMSG1("RAIDFRAME: Error %d auto-destroying mutex\n", rc); rc 61 dev/raidframe/rf_threadstuff.c int rc; rc 63 dev/raidframe/rf_threadstuff.c rc = rf_cond_destroy(arg); rc 64 dev/raidframe/rf_threadstuff.c if (rc) { rc 66 dev/raidframe/rf_threadstuff.c rc); rc 74 dev/raidframe/rf_threadstuff.c int rc, rc1; rc 76 dev/raidframe/rf_threadstuff.c rc = rf_mutex_init(m); rc 77 dev/raidframe/rf_threadstuff.c if (rc) rc 78 dev/raidframe/rf_threadstuff.c return (rc); rc 80 dev/raidframe/rf_threadstuff.c rc = _rf_ShutdownCreate(listp, mutex_destroyer, (void *) m, file, line); rc 81 dev/raidframe/rf_threadstuff.c if (rc) { rc 82 dev/raidframe/rf_threadstuff.c RF_ERRORMSG1("RAIDFRAME: Error %d adding shutdown entry\n", rc); rc 90 dev/raidframe/rf_threadstuff.c return (rc); rc 97 dev/raidframe/rf_threadstuff.c int rc, rc1; rc 99 dev/raidframe/rf_threadstuff.c rc = rf_cond_init(c); rc 100 dev/raidframe/rf_threadstuff.c if (rc) rc 101 dev/raidframe/rf_threadstuff.c return (rc); rc 103 dev/raidframe/rf_threadstuff.c rc = _rf_ShutdownCreate(listp, cond_destroyer, (void *) c, file, line); rc 104 dev/raidframe/rf_threadstuff.c if (rc) { rc 105 dev/raidframe/rf_threadstuff.c RF_ERRORMSG1("RAIDFRAME: Error %d adding shutdown entry\n", rc); rc 112 dev/raidframe/rf_threadstuff.c return (rc); rc 119 dev/raidframe/rf_threadstuff.c int rc; rc 121 dev/raidframe/rf_threadstuff.c rc = _rf_create_managed_mutex(listp, &g->mutex, file, line); rc 122 dev/raidframe/rf_threadstuff.c if (rc) rc 123 dev/raidframe/rf_threadstuff.c return (rc); rc 125 dev/raidframe/rf_threadstuff.c rc = _rf_create_managed_cond(listp, &g->cond, file, line); rc 126 dev/raidframe/rf_threadstuff.c if (rc) rc 127 dev/raidframe/rf_threadstuff.c return (rc); rc 150 dev/raidframe/rf_threadstuff.c int rc; rc 152 dev/raidframe/rf_threadstuff.c rc = rf_mutex_init(&g->mutex); rc 153 dev/raidframe/rf_threadstuff.c if (rc) rc 154 dev/raidframe/rf_threadstuff.c return (rc); rc 156 dev/raidframe/rf_threadstuff.c rc = rf_cond_init(&g->cond); rc 157 dev/raidframe/rf_threadstuff.c if (rc) { rc 159 dev/raidframe/rf_threadstuff.c return (rc); rc 602 dev/wscons/wsdisplay.c int rc; rc 611 dev/wscons/wsdisplay.c if ((rc = wsdisplay_delscreen(sc, i, rc 614 dev/wscons/wsdisplay.c return (rc); rc 631 dev/wscons/wsdisplay.c if ((rc = wskbd_set_display((struct device *)sc->sc_input, rc 633 dev/wscons/wsdisplay.c return (rc); rc 448 isofs/cd9660/cd9660_node.c u_int rc; rc 450 isofs/cd9660/cd9660_node.c for (rc = 0; --len >= 0;) { rc 451 isofs/cd9660/cd9660_node.c rc *= 10; rc 452 isofs/cd9660/cd9660_node.c rc += *begin++ - '0'; rc 454 isofs/cd9660/cd9660_node.c return (rc); rc 1116 kern/vfs_subr.c int rc =0; rc 1122 kern/vfs_subr.c rc = 1; rc 1125 kern/vfs_subr.c return (rc); rc 141 lib/libsa/cd9660.c int rc; rc 149 lib/libsa/cd9660.c rc = f->f_dev->dv_strategy(f->f_devdata, F_READ, cdb2devb(bno), rc 151 lib/libsa/cd9660.c if (rc) rc 154 lib/libsa/cd9660.c rc = EIO; rc 157 lib/libsa/cd9660.c rc = EINVAL; rc 178 lib/libsa/cd9660.c rc = f->f_dev->dv_strategy(f->f_devdata, F_READ, cdb2devb(bno), rc 180 lib/libsa/cd9660.c if (rc) rc 183 lib/libsa/cd9660.c rc = EIO; rc 192 lib/libsa/cd9660.c rc = ENOENT; rc 227 lib/libsa/cd9660.c rc = f->f_dev->dv_strategy(f->f_devdata, F_READ, rc 231 lib/libsa/cd9660.c if (rc) rc 234 lib/libsa/cd9660.c rc = EIO; rc 256 lib/libsa/cd9660.c rc = ENOENT; rc 277 lib/libsa/cd9660.c return rc; rc 295 lib/libsa/cd9660.c int rc = 0; rc 311 lib/libsa/cd9660.c rc = f->f_dev->dv_strategy(f->f_devdata, F_READ, cdb2devb(bno), rc 313 lib/libsa/cd9660.c if (rc) rc 314 lib/libsa/cd9660.c return rc; rc 339 lib/libsa/cd9660.c return rc; rc 115 lib/libsa/ufs.c int rc; rc 122 lib/libsa/ufs.c rc = (f->f_dev->dv_strategy)(f->f_devdata, F_READ, rc 125 lib/libsa/ufs.c if (rc) rc 128 lib/libsa/ufs.c rc = EIO; rc 152 lib/libsa/ufs.c return (rc); rc 165 lib/libsa/ufs.c int level, idx, rc; rc 227 lib/libsa/ufs.c rc = (f->f_dev->dv_strategy)(f->f_devdata, F_READ, rc 230 lib/libsa/ufs.c if (rc) rc 231 lib/libsa/ufs.c return (rc); rc 264 lib/libsa/ufs.c int rc; rc 271 lib/libsa/ufs.c rc = block_map(f, file_block, &disk_block); rc 272 lib/libsa/ufs.c if (rc) rc 273 lib/libsa/ufs.c return (rc); rc 283 lib/libsa/ufs.c rc = (f->f_dev->dv_strategy)(f->f_devdata, F_READ, rc 286 lib/libsa/ufs.c if (rc) rc 287 lib/libsa/ufs.c return (rc); rc 318 lib/libsa/ufs.c int namlen, length, rc; rc 327 lib/libsa/ufs.c rc = buf_read_file(f, &buf, &buf_size); rc 328 lib/libsa/ufs.c if (rc) rc 329 lib/libsa/ufs.c return (rc); rc 364 lib/libsa/ufs.c int rc, c, nlinks = 0; rc 378 lib/libsa/ufs.c rc = (f->f_dev->dv_strategy)(f->f_devdata, F_READ, rc 380 lib/libsa/ufs.c if (rc) rc 385 lib/libsa/ufs.c rc = EINVAL; rc 407 lib/libsa/ufs.c if ((rc = read_inode(inumber, f)) != 0) rc 425 lib/libsa/ufs.c rc = ENOTDIR; rc 438 lib/libsa/ufs.c rc = ENOENT; rc 452 lib/libsa/ufs.c rc = search_directory(ncp, f, &inumber); rc 454 lib/libsa/ufs.c if (rc) rc 460 lib/libsa/ufs.c if ((rc = read_inode(inumber, f)) != 0) rc 474 lib/libsa/ufs.c rc = ENOENT; rc 493 lib/libsa/ufs.c rc = block_map(f, (daddr_t)0, &disk_block); rc 494 lib/libsa/ufs.c if (rc) rc 498 lib/libsa/ufs.c rc = (f->f_dev->dv_strategy)(f->f_devdata, rc 501 lib/libsa/ufs.c if (rc) rc 517 lib/libsa/ufs.c if ((rc = read_inode(inumber, f)) != 0) rc 525 lib/libsa/ufs.c rc = 0; rc 529 lib/libsa/ufs.c if (rc) { rc 533 lib/libsa/ufs.c return (rc); rc 567 lib/libsa/ufs.c int rc = 0; rc 573 lib/libsa/ufs.c rc = buf_read_file(f, &buf, &buf_size); rc 574 lib/libsa/ufs.c if (rc) rc 589 lib/libsa/ufs.c return (rc); rc 643 lib/libsa/ufs.c int rc, namlen; rc 656 lib/libsa/ufs.c if ((rc = buf_read_file(f, &buf, &buf_size)) != 0) rc 657 lib/libsa/ufs.c return rc; rc 45 lib/libsa/unixdev.c int rc = 0; rc 51 lib/libsa/unixdev.c if ((rc = ulseek((int)devdata, blk * DEV_BSIZE, 0)) >= 0) rc 52 lib/libsa/unixdev.c rc = (rw==F_READ) ? uread((int)devdata, buf, size) : rc 55 lib/libsa/unixdev.c if (rc >= 0) { rc 56 lib/libsa/unixdev.c *rsize = (size_t)rc; rc 57 lib/libsa/unixdev.c rc = 0; rc 59 lib/libsa/unixdev.c rc = errno; rc 61 lib/libsa/unixdev.c return rc; rc 140 lib/libsa/unixdev.c int rc; rc 147 lib/libsa/unixdev.c if ((rc = syscall(SYS_select, 1, &fdset, NULL, NULL, &tv)) <= 0) rc 705 net80211/ieee80211_node.c int monitor, rc = 0; rc 722 net80211/ieee80211_node.c rc = 1; rc 727 net80211/ieee80211_node.c rc = IEEE80211_ADDR_EQ(*bssid, bss->ni_bssid) || rc 738 net80211/ieee80211_node.c rc = IEEE80211_ADDR_EQ(*bssid, bss->ni_bssid); rc 743 net80211/ieee80211_node.c rc = IEEE80211_ADDR_EQ(*bssid, bss->ni_bssid); rc 748 net80211/ieee80211_node.c rc = (ic->ic_opmode == IEEE80211_M_HOSTAP); rc 753 net80211/ieee80211_node.c return monitor || rc; rc 1790 netinet6/ip6_mroute.c int rc; rc 1892 netinet6/ip6_mroute.c rc = looutput(mif6table[reg_mif_num].m6_ifp, m, rc 230 scsi/scsi_base.c struct scsi_read_capacity rc; rc 240 scsi/scsi_base.c bzero(&rc, sizeof(rc)); rc 242 scsi/scsi_base.c rc.opcode = READ_CAPACITY; rc 248 scsi/scsi_base.c error = scsi_scsi_cmd(sc_link, (struct scsi_generic *)&rc, sizeof(rc), rc 106 stand/boot/cmd.c int fd, rc = 0; rc 138 stand/boot/cmd.c rc = read(fd, p, 1); rc 139 stand/boot/cmd.c } while (rc > 0 && *p++ != '\n' && rc 142 stand/boot/cmd.c if (rc < 0) { /* Error from read() */ rc 147 stand/boot/cmd.c if (rc == 0) { /* eof from read() */ rc 150 stand/boot/cmd.c rc = docmd(); rc 160 stand/boot/cmd.c rc = -1; rc 166 stand/boot/cmd.c } while (rc > 0 && !(rc = docmd())); rc 169 stand/boot/cmd.c return rc;