Lines Matching defs:ccd
1 /* $NetBSD: ccd.c,v 1.192 2025/01/08 08:24:07 andvar Exp $ */
85 * On memory consumption: ccd fans out I/O requests and so needs to
91 __KERNEL_RCSID(0, "$NetBSD: ccd.c,v 1.192 2025/01/08 08:24:07 andvar Exp $");
147 struct ccd_softc *cb_sc; /* pointer to ccd softc */
231 snprintf(sc->sc_xname, sizeof(sc->sc_xname), "ccd%d", unit);
977 * take a ccd interrupt.
1344 * Initialize the ccd. Fills in the softc for us.
1363 * The ccd has been successfully initialized, so
1559 strncpy(lp->d_typename, "ccd", sizeof(lp->d_typename));
1577 * Read the disklabel from the ccd. If one is not present, fake one
1617 * This is necessary since total size of ccd may vary
1627 "the size of ccd (%ju)\n", cs->sc_xname,
1634 "exceeds the size of ccd (%ju)\n",
1686 MODULE(MODULE_CLASS_DRIVER, ccd, "dk_subr,bufq_fcfs");
1702 error = devsw_attach("ccd", &ccd_bdevsw, &bmajor,
1775 struct ccddiskinfo ccd;
1786 ccd.ccd_ndisks = ~0;
1790 ccd.ccd_ileave = sc->sc_ileave;
1791 ccd.ccd_size = sc->sc_size;
1792 ccd.ccd_ndisks = sc->sc_nccdisks;
1793 ccd.ccd_flags = sc->sc_flags;
1799 if (ccd.ccd_ndisks == ~0)
1803 node.sysctl_data = &ccd;
1804 node.sysctl_size = sizeof(ccd);
1861 SYSCTL_SETUP(sysctl_kern_ccd_setup, "sysctl kern.ccd subtree setup")
1867 CTLTYPE_NODE, "ccd",
1878 SYSCTL_DESCR("List of ccd unit numbers"),