| /openbsd/src/sys/dev/ic/ |
| D | ciss.c | 521 if (!(wait & SCSI_NOSLEEP)) { in ciss_cmd() 717 ccb = scsi_io_get(&sc->sc_iopool, SCSI_POLL|SCSI_NOSLEEP); in ciss_inq() 736 rv = ciss_cmd(ccb, BUS_DMA_NOWAIT, SCSI_POLL|SCSI_NOSLEEP); in ciss_inq() 758 ccb = scsi_io_get(&sc->sc_iopool, SCSI_POLL|SCSI_NOSLEEP); in ciss_ldmap() 777 rv = ciss_cmd(ccb, BUS_DMA_NOWAIT, SCSI_POLL|SCSI_NOSLEEP); in ciss_ldmap() 804 ccb = scsi_io_get(&sc->sc_iopool, SCSI_POLL|SCSI_NOSLEEP); in ciss_sync() 824 rv = ciss_cmd(ccb, BUS_DMA_NOWAIT, SCSI_POLL|SCSI_NOSLEEP); in ciss_sync() 876 ciss_cmd(ccb, BUS_DMA_WAITOK, xs->flags & (SCSI_POLL|SCSI_NOSLEEP)); in ciss_scsi_cmd() 1301 if (!ciss_pdid(sc, i, pdid, SCSI_NOSLEEP|SCSI_POLL) && in ciss_pdscan() 1309 SCSI_NOSLEEP|SCSI_POLL)) in ciss_pdscan()
|
| D | mpi.c | 772 ccb = scsi_io_get(&sc->sc_iopool, SCSI_NOSLEEP); in mpi_inq() 1542 ((xs->flags & SCSI_NOSLEEP) ? BUS_DMA_NOWAIT : BUS_DMA_WAITOK)); in mpi_load_xs() 2147 ccb = scsi_io_get(&sc->sc_iopool, SCSI_NOSLEEP); in mpi_portfacts() 2255 ccb = scsi_io_get(&sc->sc_iopool, SCSI_NOSLEEP); in mpi_eventnotify() 2572 ccb = scsi_io_get(&sc->sc_iopool, SCSI_NOSLEEP); in mpi_portenable() 2625 ccb = scsi_io_get(&sc->sc_iopool, SCSI_NOSLEEP); in mpi_fwupload() 2774 ISSET(flags, MPI_PG_POLL) ? SCSI_NOSLEEP : 0); in mpi_req_cfg_header() 2874 ISSET(flags, MPI_PG_POLL) ? SCSI_NOSLEEP : 0); in mpi_req_cfg_page() 3041 ccb = scsi_io_get(&sc->sc_iopool, SCSI_NOSLEEP); in mpi_ioctl_cache()
|
| D | oosiop.c | 742 xs->cmdlen, NULL, ((xs->flags & SCSI_NOSLEEP) ? in oosiop_scsicmd() 760 ((xs->flags & SCSI_NOSLEEP) ? in oosiop_scsicmd() 965 cb->xsflags &= SCSI_POLL | SCSI_NOSLEEP; in oosiop_done()
|
| D | ufshci.c | 1542 ISSET(xs->flags, SCSI_NOSLEEP) ? BUS_DMA_NOWAIT : BUS_DMA_WAITOK); in ufshci_scsi_inquiry() 1597 ISSET(xs->flags, SCSI_NOSLEEP) ? BUS_DMA_NOWAIT : BUS_DMA_WAITOK); in ufshci_scsi_capacity16() 1652 ISSET(xs->flags, SCSI_NOSLEEP) ? BUS_DMA_NOWAIT : BUS_DMA_WAITOK); in ufshci_scsi_capacity() 1746 ISSET(xs->flags, SCSI_NOSLEEP) ? BUS_DMA_NOWAIT : BUS_DMA_WAITOK); in ufshci_scsi_io()
|
| D | iha.c | 205 (pScb->SCB_Flags & SCSI_NOSLEEP) ? in iha_setup_sg_list() 276 (pScb->SCB_Flags & SCSI_NOSLEEP) ? in iha_scsi_cmd() 766 (pScb->SCB_Flags & SCSI_NOSLEEP) ? in iha_push_sense_request() 778 pScb->SCB_Flags &= SCSI_POLL | SCSI_NOSLEEP; in iha_push_sense_request()
|
| D | gdt_common.c | 678 (xs->flags & SCSI_NOSLEEP) ? in gdt_scsi_cmd() 1117 ccb = scsi_io_get(&sc->sc_iopool, SCSI_NOSLEEP); in gdt_internal_cmd()
|
| D | adv.c | 564 (flags & SCSI_NOSLEEP) ? BUS_DMA_NOWAIT : BUS_DMA_WAITOK); in adv_scsi_cmd()
|
| D | aic79xx_openbsd.c | 498 ((xs->flags & SCSI_NOSLEEP) ? in ahd_setup_data()
|
| D | aic7xxx_openbsd.c | 529 (xs->flags & SCSI_NOSLEEP) ? in ahc_setup_data()
|
| D | adw.c | 627 (flags & SCSI_NOSLEEP) ? in adw_build_req()
|
| D | mfi.c | 1048 if (mfi_create_sgl(sc, ccb, (xs->flags & SCSI_NOSLEEP) ? in mfi_scsi_io() 1142 if (mfi_create_sgl(sc, ccb, (xs->flags & SCSI_NOSLEEP) ? in mfi_scsi_ld() 2781 if (mfi_create_sgl(sc, ccb, (xs->flags & SCSI_NOSLEEP) ? in mfi_pd_scsi_cmd()
|
| D | cac.c | 332 ccb = scsi_io_get(&sc->sc_iopool, SCSI_POLL | SCSI_NOSLEEP); in cac_cmd()
|
| /openbsd/src/sys/scsi/ |
| D | scsi_base.c | 479 else if (ISSET(flags, SCSI_NOSLEEP)) in scsi_io_get() 609 xs = scsi_xs_io(xsh->link, io, SCSI_NOSLEEP); in scsi_xsh_ioh() 646 if (ISSET(flags, SCSI_NOSLEEP)) in scsi_xs_get() 656 if (ISSET(flags, SCSI_NOSLEEP)) { in scsi_xs_get() 764 (ISSET(flags, SCSI_NOSLEEP) ? PR_NOWAIT : PR_WAITOK)); in scsi_xs_io() 1518 if (ISSET(xs->flags, SCSI_NOSLEEP)) in scsi_xs_sync() 1549 if (!ISSET(xs->flags, SCSI_NOSLEEP)) in scsi_xs_sync_done() 1609 switch (xs->flags & (SCSI_POLL | SCSI_NOSLEEP)) { in scsi_delay() 1613 case SCSI_NOSLEEP: in scsi_delay() 1616 case (SCSI_POLL | SCSI_NOSLEEP): in scsi_delay()
|
| D | sd.c | 1199 SCSI_IGNORE_ILLEGAL_REQUEST | SCSI_NOSLEEP); in sd_interpret_sense() 1335 xs = scsi_xs_get(sc->sc_link, SCSI_NOSLEEP | SCSI_DATA_OUT); in sddump() 1392 rdcap = dma_alloc(sizeof(*rdcap), (ISSET(flags, SCSI_NOSLEEP) ? in sd_read_cap_10() 1424 rdcap = dma_alloc(sizeof(*rdcap), (ISSET(flags, SCSI_NOSLEEP) ? in sd_read_cap_16() 1488 pg = dma_alloc(sizeof(*pg), (ISSET(flags, SCSI_NOSLEEP) ? in sd_thin_pages() 1505 pg = dma_alloc(sizeof(*pg) + len, (ISSET(flags, SCSI_NOSLEEP) ? in sd_thin_pages() 1548 pg = dma_alloc(sizeof(*pg), (ISSET(flags, SCSI_NOSLEEP) ? in sd_vpd_block_limits() 1579 pg = dma_alloc(sizeof(*pg), (ISSET(flags, SCSI_NOSLEEP) ? in sd_vpd_thin()
|
| D | scsiconf.h | 420 #define SCSI_NOSLEEP 0x00001 /* don't sleep */ macro
|
| /openbsd/src/sys/dev/pci/ |
| D | mfii.c | 887 SCSI_DATA_IN|SCSI_NOSLEEP); in mfii_dev_handles_update() 993 NULL, 0, SCSI_NOSLEEP); in mfii_flush_cache() 1022 ccb = scsi_io_get(&sc->sc_iopool, SCSI_NOSLEEP); in mfii_powerdown() 1150 ccb = scsi_io_get(&sc->sc_iopool, SCSI_NOSLEEP); in mfii_aen_register() 1160 &mel, sizeof(mel), SCSI_DATA_IN|SCSI_NOSLEEP); in mfii_aen_register() 1532 sizeof(sc->sc_info), SCSI_DATA_IN|SCSI_NOSLEEP); in mfii_get_info() 1838 flags |= SCSI_NOSLEEP; in mfii_do_mgmt() 1865 ISSET(flags, SCSI_NOSLEEP)) != 0) { in mfii_do_mgmt() 1894 if (ISSET(flags, SCSI_NOSLEEP)) { in mfii_do_mgmt() 2046 ccb = scsi_io_get(&sc->sc_iopool, SCSI_NOSLEEP); in mfii_initialise_firmware() [all …]
|
| D | ips.c | 655 if (ips_getadapterinfo(sc, SCSI_NOSLEEP)) { in ips_attach() 661 if (ips_getdriveinfo(sc, SCSI_NOSLEEP)) { in ips_attach() 668 if (ips_getconf(sc, SCSI_NOSLEEP)) { in ips_attach() 674 (void)ips_getpg5(sc, SCSI_NOSLEEP); in ips_attach() 1334 NULL, (xs->flags & SCSI_NOSLEEP ? BUS_DMA_NOWAIT : 0))) in ips_load_xs() 1413 if (ccb->c_flags & SCSI_NOSLEEP) { in ips_poll()
|
| D | pcscp.c | 527 ((sc->sc_nexus->xs->flags & SCSI_NOSLEEP) ? in pcscp_dma_setup()
|
| D | mpii.c | 776 (xs->flags & SCSI_NOSLEEP) ? BUS_DMA_NOWAIT : BUS_DMA_WAITOK); in mpii_load_xs_sas3() 850 (xs->flags & SCSI_NOSLEEP) ? BUS_DMA_NOWAIT : BUS_DMA_WAITOK); in mpii_load_xs() 2246 ISSET(flags, MPII_PG_POLL) ? SCSI_NOSLEEP : 0); in mpii_req_cfg_header() 2348 ISSET(flags, MPII_PG_POLL) ? SCSI_NOSLEEP : 0); in mpii_req_cfg_page()
|
| /openbsd/src/sys/dev/ata/ |
| D | atascsi.c | 375 xa = scsi_io_get(&ahp->ahp_iopool, SCSI_NOSLEEP); in atascsi_probe() 410 xa = scsi_io_get(&ahp->ahp_iopool, SCSI_NOSLEEP); in atascsi_probe() 1078 if (ISSET(xs->flags, SCSI_NOSLEEP)) { in atascsi_disk_unmap() 1846 xa = scsi_io_get(&ahp->ahp_iopool, SCSI_NOSLEEP); in atascsi_port_identify() 1871 xa = scsi_io_get(&ahp->ahp_iopool, SCSI_NOSLEEP); in atascsi_port_set_features()
|
| /openbsd/src/sys/dev/pv/ |
| D | xbf.c | 459 if (ISSET(xs->flags, SCSI_NOSLEEP)) in xbf_load_cmd() 527 if (ISSET(xs->flags, SCSI_NOSLEEP)) in xbf_bounce_cmd() 736 if (ISSET(xs->flags, SCSI_NOSLEEP)) in xbf_poll_cmd()
|
| /openbsd/src/sys/dev/isa/ |
| D | wds.c | 493 if ((flags & SCSI_NOSLEEP) != 0) in wds_get_buf() 825 scb = scsi_io_get(&sc->sc_iopool, SCSI_NOSLEEP); in wds_inquire_setup_information()
|
| /openbsd/src/sys/dev/ |
| D | vscsi.c | 176 if (ISSET(xs->flags, SCSI_POLL) && ISSET(xs->flags, SCSI_NOSLEEP)) { in vscsi_cmd()
|
| D | softraid_raid6.c | 399 if ((wu_r = sr_scsi_wu_get(sd, SCSI_NOSLEEP)) == NULL){ in sr_raid6_rw()
|
| D | softraid_raid5.c | 404 if ((wu_r = sr_scsi_wu_get(sd, SCSI_NOSLEEP)) == NULL){ in sr_raid5_rw()
|