/freebsd-11-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); 179 struct cdevsw *csw; local 188 csw = dev->si_devsw; 189 if (csw != NULL) { 194 csw = NULL; 198 return (csw); 204 struct cdevsw *csw; local 566 struct cdevsw *csw; local 1090 struct cdevsw *csw; local 1297 clone_create(struct clonedevs **cdp, struct cdevsw *csw, int *up, struct cdev **dp, int extra) argument 1487 destroy_dev_drain(struct cdevsw *csw) argument [all...] |
H A D | kern_physio.c | 42 struct cdevsw *csw; local 51 csw = dev->si_devsw; 53 if (csw == NULL) 192 csw->d_strategy(bp);
|
H A D | vfs_aio.c | 1216 struct cdevsw *csw; local 1240 csw = devvn_refthread(vp, &dev, &ref); 1241 if (csw == NULL) 1244 if ((csw->d_flags & D_DISK) == 0) { 1313 csw->d_strategy(bp);
|
/freebsd-11-stable/sys/vm/ |
H A D | device_pager.c | 334 struct cdevsw *csw; local 345 csw = dev_refthread(dev, &ref); 346 if (csw == NULL) { 353 ret = csw->d_mmap(dev, offset, &paddr, prot, &memattr); 371 if ((csw->d_flags & D_MEM) == 0) { 374 csw->d_name, memattr, memattr1); 428 struct cdevsw *csw; local 439 csw = dev_refthread(dev, &ref); 440 if (csw == NULL) 452 if (csw [all...] |
/freebsd-11-stable/sys/dev/nvme/ |
H A D | nvme_test.c | 87 struct cdevsw *csw; local 117 csw = dev_refthread(dev, &ref); 119 csw = dev->si_devsw; 123 (*csw->d_strategy)(bio);
|
/freebsd-11-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-11-stable/sys/cam/ctl/ |
H A D | ctl_backend_block.c | 855 struct cdevsw *csw; local 895 csw = devvn_refthread(be_lun->vn, &dev, &ref); 896 if (csw) { 898 error = csw->d_read(dev, &xuio, flags); 900 error = csw->d_write(dev, &xuio, flags); 959 struct cdevsw *csw; local 968 csw = devvn_refthread(be_lun->vn, &dev, &ref); 969 if (csw == NULL) { 975 error = csw->d_ioctl(dev, FIOSEEKHOLE, (caddr_t)&off, FREAD, 980 error = csw 1006 struct cdevsw *csw; local 1053 struct cdevsw *csw; local 1132 struct cdevsw *csw; local 1209 struct cdevsw *csw; local 1911 struct cdevsw *csw; local [all...] |
/freebsd-11-stable/sys/dev/usb/storage/ |
H A D | umass.c | 392 umass_bbb_csw_t csw; /* command status wrapper */ member in struct:umass_softc 1480 if (actlen < (int)sizeof(sc->csw)) 1481 memset(&sc->csw, 0, sizeof(sc->csw)); 1484 usbd_copy_out(pc, 0, &sc->csw, actlen); 1486 DIF(UDMASS_BBB, umass_bbb_dump_csw(sc, &sc->csw)); 1488 residue = UGETDW(sc->csw.dCSWDataResidue); 1502 uint32_t temp = UGETDW(sc->csw.dCSWSignature); 1506 USETDW(sc->csw.dCSWSignature, CSWSIGNATURE); 1510 if (UGETDW(sc->csw 2957 umass_bbb_dump_csw(struct umass_softc *sc, umass_bbb_csw_t *csw) argument [all...] |
/freebsd-11-stable/sys/sys/ |
H A D | conf.h | 256 void destroy_dev_drain(struct cdevsw *csw);
|
/freebsd-11-stable/sys/dev/usb/ |
H A D | usb_msctest.c | 156 struct bbb_csw *csw; member in struct:bbb_transfer 461 } else if (sc->csw->bCSWStatus == CSWSTATUS_GOOD) { 682 sc->csw = usbd_xfer_get_frame_buffer(
|
/freebsd-11-stable/sys/dev/xen/blkback/ |
H A D | blkback.c | 481 struct cdevsw *csw; member in struct:xbb_dev_data 2112 (*dev_data->csw->d_strategy)(bio); 2217 (*dev_data->csw->d_strategy)(bios[bio_idx]); 2497 if (xbb->backend.dev.csw) { 2500 xbb->backend.dev.csw = NULL; 2551 xbb->backend.dev.csw = dev_refthread(xbb->backend.dev.cdev, 2553 if (xbb->backend.dev.csw == NULL)
|