Lines Matching defs:ccd
1 /* $NetBSD: ccd.c,v 1.193 2025/08/17 22:04:34 mlelstv Exp $ */
85 * On memory consumption: ccd fans out I/O requests and so needs to
91 __KERNEL_RCSID(0, "$NetBSD: ccd.c,v 1.193 2025/08/17 22:04:34 mlelstv 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.
1345 * Initialize the ccd. Fills in the softc for us.
1364 * The ccd has been successfully initialized, so
1466 * If any errors out, we return error. CCD components
1560 strncpy(lp->d_typename, "ccd", sizeof(lp->d_typename));
1578 * Read the disklabel from the ccd. If one is not present, fake one
1618 * This is necessary since total size of ccd may vary
1628 "the size of ccd (%ju)\n", cs->sc_xname,
1635 "exceeds the size of ccd (%ju)\n",
1687 MODULE(MODULE_CLASS_DRIVER, ccd, "dk_subr,bufq_fcfs");
1703 error = devsw_attach("ccd", &ccd_bdevsw, &bmajor,
1776 struct ccddiskinfo ccd;
1787 ccd.ccd_ndisks = ~0;
1791 ccd.ccd_ileave = sc->sc_ileave;
1792 ccd.ccd_size = sc->sc_size;
1793 ccd.ccd_ndisks = sc->sc_nccdisks;
1794 ccd.ccd_flags = sc->sc_flags;
1800 if (ccd.ccd_ndisks == ~0)
1804 node.sysctl_data = &ccd;
1805 node.sysctl_size = sizeof(ccd);
1862 SYSCTL_SETUP(sysctl_kern_ccd_setup, "sysctl kern.ccd subtree setup")
1868 CTLTYPE_NODE, "ccd",
1879 SYSCTL_DESCR("List of ccd unit numbers"),
1885 SYSCTL_DESCR("Information about a CCD unit"),
1891 SYSCTL_DESCR("Information about CCD components"),