/freebsd-10-stable/sys/kern/ |
H A D | kern_conf.c | 87 struct cdevsw *csw; local 106 while ((csw = SLIST_FIRST(&csw_free)) != NULL) { 108 free(csw, M_DEVT); 125 cdevsw_free_devlocked(struct cdevsw *csw) argument 129 SLIST_INSERT_HEAD(&cdevsw_gt_post_list, csw, d_postfree_list); 185 struct cdevsw *csw; local 194 csw = dev->si_devsw; 195 if (csw != NULL) { 200 csw = NULL; 204 return (csw); 210 struct cdevsw *csw; local 572 struct cdevsw *csw; local 1086 struct cdevsw *csw; local 1293 clone_create(struct clonedevs **cdp, struct cdevsw *csw, int *up, struct cdev **dp, int extra) argument 1482 destroy_dev_drain(struct cdevsw *csw) argument [all...] |
H A D | kern_physio.c | 41 struct cdevsw *csw; local 50 csw = dev->si_devsw; 52 if (csw == NULL) 174 csw->d_strategy(bp);
|
H A D | vfs_bio.c | 3743 struct cdevsw *csw; local 3750 csw = dev_refthread(dev, &ref); 3751 dev_strategy_csw(dev, csw, bp); 3756 dev_strategy_csw(struct cdev *dev, struct cdevsw *csw, struct buf *bp) argument 3762 KASSERT(((dev->si_flags & SI_ETERNAL) != 0 && csw != NULL) || 3766 if (csw == NULL) { 3787 (*csw->d_strategy)(bip);
|
H A D | vfs_aio.c | 1301 struct cdevsw *csw; local 1323 csw = devvn_refthread(vp, &dev, &ref); 1324 if (csw == NULL) 1327 if ((csw->d_flags & D_DISK) == 0) { 1410 csw->d_strategy(bp);
|
/freebsd-10-stable/sys/vm/ |
H A D | device_pager.c | 298 struct cdevsw *csw; local 309 csw = dev_refthread(dev, &ref); 310 if (csw == NULL) { 317 ret = csw->d_mmap(dev, offset, &paddr, prot, &memattr); 335 if ((csw->d_flags & D_MEM) == 0) { 338 csw->d_name, memattr, memattr1); 393 struct cdevsw *csw; local 404 csw = dev_refthread(dev, &ref); 405 if (csw == NULL) 417 if (csw [all...] |
/freebsd-10-stable/sys/dev/nvme/ |
H A D | nvme_test.c | 87 struct cdevsw *csw; local 120 csw = dev_refthread(dev, &ref); 122 csw = dev_refthread(dev); 125 csw = dev->si_devsw; 129 (*csw->d_strategy)(bio);
|
/freebsd-10-stable/tools/tools/usbtest/ |
H A D | usb_msc_test.c | 155 umass_bbb_csw_t csw; local 212 error = libusb20_tr_bulk_intr_sync(xfer_in, &csw, 213 sizeof(csw), &actlen, TIMEOUT_FILTER(1000)); 228 error = libusb20_tr_bulk_intr_sync(xfer_in, &csw, 229 sizeof(csw), &actlen, TIMEOUT_FILTER(1000)); 238 if (UGETDW(csw.dCSWSignature) != CSWSIGNATURE) { 243 if (actlen != sizeof(csw)) { 245 actlen, (int)sizeof(csw)); 249 if (csw.bCSWStatus != 0) { 250 printf("ERROR: CSW status: %d\n", (int)csw [all...] |
/freebsd-10-stable/sys/cam/ctl/ |
H A D | ctl_backend_block.c | 860 struct cdevsw *csw; local 900 csw = devvn_refthread(be_lun->vn, &dev, &ref); 901 if (csw) { 903 error = csw->d_read(dev, &xuio, flags); 905 error = csw->d_write(dev, &xuio, flags); 964 struct cdevsw *csw; local 973 csw = devvn_refthread(be_lun->vn, &dev, &ref); 974 if (csw == NULL) { 980 error = csw->d_ioctl(dev, FIOSEEKHOLE, (caddr_t)&off, FREAD, 985 error = csw 1011 struct cdevsw *csw; local 1058 struct cdevsw *csw; local 1137 struct cdevsw *csw; local 1214 struct cdevsw *csw; local 1919 struct cdevsw *csw; local [all...] |
/freebsd-10-stable/sys/dev/usb/storage/ |
H A D | umass.c | 394 umass_bbb_csw_t csw; /* command status wrapper */ member in struct:umass_softc 1481 if (actlen < (int)sizeof(sc->csw)) 1482 memset(&sc->csw, 0, sizeof(sc->csw)); 1485 usbd_copy_out(pc, 0, &sc->csw, actlen); 1487 DIF(UDMASS_BBB, umass_bbb_dump_csw(sc, &sc->csw)); 1489 residue = UGETDW(sc->csw.dCSWDataResidue); 1503 uint32_t temp = UGETDW(sc->csw.dCSWSignature); 1507 USETDW(sc->csw.dCSWSignature, CSWSIGNATURE); 1511 if (UGETDW(sc->csw 2960 umass_bbb_dump_csw(struct umass_softc *sc, umass_bbb_csw_t *csw) argument [all...] |
/freebsd-10-stable/sys/sys/ |
H A D | conf.h | 274 void destroy_dev_drain(struct cdevsw *csw); 284 void dev_strategy_csw(struct cdev *dev, struct cdevsw *csw, struct buf *bp);
|
/freebsd-10-stable/sys/dev/usb/ |
H A D | usb_msctest.c | 152 struct bbb_csw *csw; member in struct:bbb_transfer 457 } else if (sc->csw->bCSWStatus == CSWSTATUS_GOOD) { 675 sc->csw = usbd_xfer_get_frame_buffer(
|
/freebsd-10-stable/sys/dev/xen/blkback/ |
H A D | blkback.c | 484 struct cdevsw *csw; member in struct:xbb_dev_data 2058 (*dev_data->csw->d_strategy)(bio); 2163 (*dev_data->csw->d_strategy)(bios[bio_idx]); 2445 if (xbb->backend.dev.csw) { 2448 xbb->backend.dev.csw = NULL; 2499 xbb->backend.dev.csw = dev_refthread(xbb->backend.dev.cdev, 2501 if (xbb->backend.dev.csw == NULL)
|