/freebsd-13-stable/sys/kern/ |
H A D | kern_conf.c | 89 struct cdevsw *csw; local 108 while ((csw = SLIST_FIRST(&csw_free)) != NULL) { 110 free(csw, M_DEVT); 127 cdevsw_free_devlocked(struct cdevsw *csw) argument 131 SLIST_INSERT_HEAD(&cdevsw_gt_post_list, csw, d_postfree_list); 181 struct cdevsw *csw; local 191 csw = dev->si_devsw; 192 if (csw != NULL) { 196 csw = NULL; 199 if (csw ! 207 struct cdevsw *csw; local 571 struct cdevsw *csw; local 1100 struct cdevsw *csw; local 1312 clone_create(struct clonedevs **cdp, struct cdevsw *csw, int *up, struct cdev **dp, int extra) argument 1501 destroy_dev_drain(struct cdevsw *csw) argument [all...] |
H A D | kern_physio.c | 47 struct cdevsw *csw; local 56 csw = dev->si_devsw; 60 if (csw == NULL) 179 csw->d_strategy(bp);
|
H A D | vfs_aio.c | 1215 struct cdevsw *csw; local 1255 csw = devvn_refthread(vp, &dev, &ref); 1256 if (csw == NULL) 1259 if ((csw->d_flags & D_DISK) == 0) { 1353 csw->d_strategy(bios[i]);
|
/freebsd-13-stable/sys/vm/ |
H A D | device_pager.c | 343 struct cdevsw *csw; local 354 csw = dev_refthread(dev, &ref); 355 if (csw == NULL) { 362 ret = csw->d_mmap(dev, offset, &paddr, prot, &memattr); 380 if ((csw->d_flags & D_MEM) == 0) { 383 csw->d_name, memattr, memattr1); 434 struct cdevsw *csw; local 445 csw = dev_refthread(dev, &ref); 446 if (csw == NULL) 458 if (csw [all...] |
/freebsd-13-stable/sys/dev/nvme/ |
H A D | nvme_test.c | 87 struct cdevsw *csw; local 116 csw = dev_refthread(dev, &ref); 118 csw = dev->si_devsw; 120 if (csw == NULL) 124 (*csw->d_strategy)(bio);
|
/freebsd-13-stable/sys/cam/ctl/ |
H A D | ctl_backend_block.c | 873 struct cdevsw *csw; local 911 csw = devvn_refthread(be_lun->vn, &dev, &ref); 912 if (csw) { 917 error = csw->d_read(dev, &xuio, flags); 919 error = csw->d_write(dev, &xuio, flags); 976 struct cdevsw *csw; local 985 csw = devvn_refthread(be_lun->vn, &dev, &ref); 986 if (csw == NULL) { 992 error = csw->d_ioctl(dev, FIOSEEKHOLE, (caddr_t)&off, FREAD, 997 error = csw 1023 struct cdevsw *csw; local 1068 struct cdevsw *csw; local 1145 struct cdevsw *csw; local 1219 struct cdevsw *csw; local 1911 struct cdevsw *csw; local [all...] |
/freebsd-13-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-13-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); 1502 uint32_t temp = UGETDW(sc->csw.dCSWSignature); 1506 USETDW(sc->csw.dCSWSignature, CSWSIGNATURE); 1510 if (UGETDW(sc->csw 2960 umass_bbb_dump_csw(struct umass_softc *sc, umass_bbb_csw_t *csw) argument [all...] |
/freebsd-13-stable/sys/sys/ |
H A D | conf.h | 281 void destroy_dev_drain(struct cdevsw *csw);
|
/freebsd-13-stable/sys/dev/usb/ |
H A D | usb_msctest.c | 158 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-13-stable/sys/dev/xen/blkback/ |
H A D | blkback.c | 483 struct cdevsw *csw; member in struct:xbb_dev_data 2104 (*dev_data->csw->d_strategy)(bio); 2207 (*dev_data->csw->d_strategy)(bios[bio_idx]); 2483 if (xbb->backend.dev.csw) { 2486 xbb->backend.dev.csw = NULL; 2537 xbb->backend.dev.csw = dev_refthread(xbb->backend.dev.cdev, 2539 if (xbb->backend.dev.csw == NULL)
|