Lines Matching refs:cgd_softc
392 static struct cgd_softc *cgd_spawn(int);
402 static void cgd_diskstart2(struct cgd_softc *, struct cgd_xfer *);
404 static void cgd_iodone2(struct cgd_softc *, struct cgd_xfer *);
405 static void cgd_enqueue(struct cgd_softc *, struct cgd_xfer *);
409 static int cgd_ioctl_set(struct cgd_softc *, void *, struct lwp *);
410 static int cgd_ioctl_clr(struct cgd_softc *, struct lwp *);
412 static int cgdinit(struct cgd_softc *, const char *, struct vnode *,
414 static void cgd_cipher(struct cgd_softc *, void *, const void *,
430 CFATTACH_DECL3_NEW(cgd, sizeof(struct cgd_softc),
499 static struct cgd_softc *
515 struct cgd_softc *sc = device_private(self);
532 struct cgd_softc *sc = device_private(self);
567 static struct cgd_softc *
572 struct cgd_softc *sc;
600 struct cgd_softc *sc = device_private(dev);
617 cgd_busy(struct cgd_softc *sc)
628 cgd_unbusy(struct cgd_softc *sc)
715 struct cgd_softc *sc;
736 struct cgd_softc *sc;
772 struct cgd_softc *sc = getcgd_softc(bp->b_dev);
797 struct cgd_softc *sc = getcgd_softc(dev);
813 cgd_getdata(struct cgd_softc *sc, unsigned long size)
831 cgd_putdata(struct cgd_softc *sc, void *data, unsigned long size)
845 struct cgd_softc *sc = device_private(dev);
904 cgd_diskstart2(struct cgd_softc *sc, struct cgd_xfer *cx)
939 struct cgd_softc *sc = getcgd_softc(obp->b_dev);
984 cgd_iodone2(struct cgd_softc *sc, struct cgd_xfer *cx)
1011 struct cgd_softc *sc = device_private(dev);
1058 struct cgd_softc *sc;
1076 struct cgd_softc *sc;
1092 struct cgd_softc *sc;
1202 struct cgd_softc *sc;
1230 cgd_ioctl_set(struct cgd_softc *sc, void *data, struct lwp *l)
1361 cgd_ioctl_clr(struct cgd_softc *sc, struct lwp *l)
1389 struct cgd_softc *sc;
1436 cgdinit(struct cgd_softc *sc, const char *cpath, struct vnode *vp,
1525 cgd_cpu(struct cgd_softc *sc)
1550 cgd_enqueue(struct cgd_softc *sc, struct cgd_xfer *cx)
1567 struct cgd_softc *sc = cx->cx_sc;
1586 cgd_cipher(struct cgd_softc *sc, void *dstv, const void *srcv,
1664 struct cgd_softc sc;