ioreq 823 drivers/net/wireless/zydas/zd1211rw/zd_chip.h struct zd_ioreq16 ioreq; ioreq 826 drivers/net/wireless/zydas/zd1211rw/zd_chip.h ioreq.addr = addr; ioreq 827 drivers/net/wireless/zydas/zd1211rw/zd_chip.h ioreq.value = value; ioreq 829 drivers/net/wireless/zydas/zd1211rw/zd_chip.h return zd_usb_iowrite16v(&chip->usb, &ioreq, 1); ioreq 841 drivers/net/wireless/zydas/zd1211rw/zd_chip.h struct zd_ioreq32 ioreq; ioreq 843 drivers/net/wireless/zydas/zd1211rw/zd_chip.h ioreq.addr = addr; ioreq 844 drivers/net/wireless/zydas/zd1211rw/zd_chip.h ioreq.value = value; ioreq 846 drivers/net/wireless/zydas/zd1211rw/zd_chip.h return _zd_iowrite32v_locked(chip, &ioreq, 1); ioreq 91 drivers/scsi/csiostor/csio_init.h struct csio_ioreq *ioreq; ioreq 95 drivers/scsi/csiostor/csio_init.h ioreq = csio_get_scsi_ioreq(scsim); ioreq 98 drivers/scsi/csiostor/csio_init.h return ioreq; ioreq 103 drivers/scsi/csiostor/csio_init.h struct csio_ioreq *ioreq) ioreq 108 drivers/scsi/csiostor/csio_init.h csio_put_scsi_ioreq(scsim, ioreq); ioreq 149 drivers/scsi/csiostor/csio_isr.c struct csio_ioreq *ioreq; ioreq 155 drivers/scsi/csiostor/csio_isr.c ioreq = csio_scsi_cmpl_handler(hw, wr, len, flb, NULL, &scsiwr); ioreq 156 drivers/scsi/csiostor/csio_isr.c if (likely(ioreq)) { ioreq 164 drivers/scsi/csiostor/csio_isr.c ioreq, ioreq->wr_status); ioreq 168 drivers/scsi/csiostor/csio_isr.c csio_scsi_closed(ioreq, ioreq 171 drivers/scsi/csiostor/csio_isr.c csio_scsi_aborted(ioreq, ioreq 184 drivers/scsi/csiostor/csio_isr.c cmnd = csio_scsi_cmnd(ioreq); ioreq 186 drivers/scsi/csiostor/csio_isr.c list_del_init(&ioreq->sm.sm_list); ioreq 192 drivers/scsi/csiostor/csio_isr.c csio_hw_to_scsim(hw), ioreq); ioreq 195 drivers/scsi/csiostor/csio_isr.c csio_scsi_completed(ioreq, (struct list_head *)cbfn_q); ioreq 218 drivers/scsi/csiostor/csio_isr.c struct csio_ioreq *ioreq; ioreq 229 drivers/scsi/csiostor/csio_isr.c ioreq = (struct csio_ioreq *)tmp; ioreq 231 drivers/scsi/csiostor/csio_isr.c ioreq->io_cbfn(hw, ioreq); ioreq 233 drivers/scsi/csiostor/csio_isr.c if (unlikely(ioreq->dcopy)) ioreq 234 drivers/scsi/csiostor/csio_isr.c csio_put_scsi_ddp_list_lock(hw, scm, &ioreq->gen_list, ioreq 235 drivers/scsi/csiostor/csio_isr.c ioreq->nsge); ioreq 84 drivers/scsi/csiostor/csio_scsi.c csio_scsi_match_io(struct csio_ioreq *ioreq, struct csio_scsi_level_data *sld) ioreq 86 drivers/scsi/csiostor/csio_scsi.c struct scsi_cmnd *scmnd = csio_scsi_cmnd(ioreq); ioreq 93 drivers/scsi/csiostor/csio_scsi.c return ((ioreq->lnode == sld->lnode) && ioreq 94 drivers/scsi/csiostor/csio_scsi.c (ioreq->rnode == sld->rnode) && ioreq 98 drivers/scsi/csiostor/csio_scsi.c return ((ioreq->lnode == sld->lnode) && ioreq 99 drivers/scsi/csiostor/csio_scsi.c (ioreq->rnode == sld->rnode)); ioreq 101 drivers/scsi/csiostor/csio_scsi.c return (ioreq->lnode == sld->lnode); ioreq 1105 drivers/scsi/csiostor/csio_scsi.c struct csio_ioreq *ioreq = NULL; ioreq 1128 drivers/scsi/csiostor/csio_scsi.c ioreq = (struct csio_ioreq *)((uintptr_t) ioreq 1130 drivers/scsi/csiostor/csio_scsi.c CSIO_DB_ASSERT(virt_addr_valid(ioreq)); ioreq 1132 drivers/scsi/csiostor/csio_scsi.c ioreq->wr_status = status; ioreq 1134 drivers/scsi/csiostor/csio_scsi.c return ioreq; ioreq 1138 drivers/scsi/csiostor/csio_scsi.c ioreq = (struct csio_ioreq *)((uintptr_t) ioreq 1140 drivers/scsi/csiostor/csio_scsi.c CSIO_DB_ASSERT(virt_addr_valid(ioreq)); ioreq 1142 drivers/scsi/csiostor/csio_scsi.c ioreq->wr_status = status; ioreq 1143 drivers/scsi/csiostor/csio_scsi.c return ioreq; ioreq 1162 drivers/scsi/csiostor/csio_scsi.c struct csio_ioreq *ioreq; ioreq 1168 drivers/scsi/csiostor/csio_scsi.c ioreq = (struct csio_ioreq *)tmp; ioreq 1169 drivers/scsi/csiostor/csio_scsi.c csio_scsi_drvcleanup(ioreq); ioreq 1170 drivers/scsi/csiostor/csio_scsi.c list_del_init(&ioreq->sm.sm_list); ioreq 1171 drivers/scsi/csiostor/csio_scsi.c scmnd = csio_scsi_cmnd(ioreq); ioreq 1179 drivers/scsi/csiostor/csio_scsi.c ioreq->io_cbfn(hw, ioreq); ioreq 1182 drivers/scsi/csiostor/csio_scsi.c csio_put_scsi_ioreq(scm, ioreq); ioreq 1192 drivers/scsi/csiostor/csio_scsi.c csio_abrt_cls(struct csio_ioreq *ioreq, struct scsi_cmnd *scmnd) ioreq 1194 drivers/scsi/csiostor/csio_scsi.c struct csio_lnode *ln = ioreq->lnode; ioreq 1200 drivers/scsi/csiostor/csio_scsi.c if (csio_scsi_cmnd(ioreq) != scmnd) { ioreq 1207 drivers/scsi/csiostor/csio_scsi.c rv = csio_do_abrt_cls(hw, ioreq, (ready ? SCSI_ABORT : SCSI_CLOSE)); ioreq 1781 drivers/scsi/csiostor/csio_scsi.c struct csio_ioreq *ioreq = NULL; ioreq 1821 drivers/scsi/csiostor/csio_scsi.c ioreq = csio_get_scsi_ioreq_lock(hw, scsim); ioreq 1822 drivers/scsi/csiostor/csio_scsi.c if (!ioreq) { ioreq 1829 drivers/scsi/csiostor/csio_scsi.c ioreq->nsge = nsge; ioreq 1830 drivers/scsi/csiostor/csio_scsi.c ioreq->lnode = ln; ioreq 1831 drivers/scsi/csiostor/csio_scsi.c ioreq->rnode = rn; ioreq 1832 drivers/scsi/csiostor/csio_scsi.c ioreq->iq_idx = sqset->iq_idx; ioreq 1833 drivers/scsi/csiostor/csio_scsi.c ioreq->eq_idx = sqset->eq_idx; ioreq 1834 drivers/scsi/csiostor/csio_scsi.c ioreq->wr_status = 0; ioreq 1835 drivers/scsi/csiostor/csio_scsi.c ioreq->drv_status = 0; ioreq 1836 drivers/scsi/csiostor/csio_scsi.c csio_scsi_cmnd(ioreq) = (void *)cmnd; ioreq 1837 drivers/scsi/csiostor/csio_scsi.c ioreq->tmo = 0; ioreq 1838 drivers/scsi/csiostor/csio_scsi.c ioreq->datadir = cmnd->sc_data_direction; ioreq 1850 drivers/scsi/csiostor/csio_scsi.c ioreq->io_cbfn = csio_scsi_cbfn; ioreq 1853 drivers/scsi/csiostor/csio_scsi.c cmnd->host_scribble = (unsigned char *)ioreq; ioreq 1858 drivers/scsi/csiostor/csio_scsi.c retval = csio_scsi_start_io(ioreq); ioreq 1863 drivers/scsi/csiostor/csio_scsi.c ioreq, retval); ioreq 1871 drivers/scsi/csiostor/csio_scsi.c csio_put_scsi_ioreq_lock(hw, scsim, ioreq); ioreq 1884 drivers/scsi/csiostor/csio_scsi.c csio_do_abrt_cls(struct csio_hw *hw, struct csio_ioreq *ioreq, bool abort) ioreq 1888 drivers/scsi/csiostor/csio_scsi.c struct csio_lnode *ln = ioreq->lnode; ioreq 1891 drivers/scsi/csiostor/csio_scsi.c ioreq->tmo = CSIO_SCSI_ABRT_TMO_MS; ioreq 1898 drivers/scsi/csiostor/csio_scsi.c ioreq->eq_idx = sqset->eq_idx; ioreq 1901 drivers/scsi/csiostor/csio_scsi.c rv = csio_scsi_abort(ioreq); ioreq 1903 drivers/scsi/csiostor/csio_scsi.c rv = csio_scsi_close(ioreq); ioreq 1911 drivers/scsi/csiostor/csio_scsi.c struct csio_ioreq *ioreq; ioreq 1924 drivers/scsi/csiostor/csio_scsi.c ioreq = (struct csio_ioreq *)cmnd->host_scribble; ioreq 1925 drivers/scsi/csiostor/csio_scsi.c if (!ioreq) ioreq 1934 drivers/scsi/csiostor/csio_scsi.c ioreq, cmnd, *((uint64_t *)cmnd->cmnd), rn->flowid, ioreq 1935 drivers/scsi/csiostor/csio_scsi.c cmnd->device->lun, csio_q_physiqid(hw, ioreq->iq_idx)); ioreq 1937 drivers/scsi/csiostor/csio_scsi.c if (((struct scsi_cmnd *)csio_scsi_cmnd(ioreq)) != cmnd) { ioreq 1945 drivers/scsi/csiostor/csio_scsi.c reinit_completion(&ioreq->cmplobj); ioreq 1947 drivers/scsi/csiostor/csio_scsi.c rv = csio_do_abrt_cls(hw, ioreq, (ready ? SCSI_ABORT : SCSI_CLOSE)); ioreq 1965 drivers/scsi/csiostor/csio_scsi.c wait_for_completion_timeout(&ioreq->cmplobj, msecs_to_jiffies(tmo)); ioreq 1968 drivers/scsi/csiostor/csio_scsi.c if (((struct scsi_cmnd *)csio_scsi_cmnd(ioreq)) == cmnd) { ioreq 1970 drivers/scsi/csiostor/csio_scsi.c csio_err(hw, "Abort timed out -- req: %p\n", ioreq); ioreq 1974 drivers/scsi/csiostor/csio_scsi.c if (ioreq->nsge > 0) ioreq 1978 drivers/scsi/csiostor/csio_scsi.c csio_scsi_cmnd(ioreq) = NULL; ioreq 2064 drivers/scsi/csiostor/csio_scsi.c struct csio_ioreq *ioreq = NULL; ioreq 2107 drivers/scsi/csiostor/csio_scsi.c ioreq = csio_get_scsi_ioreq_lock(hw, scsim); ioreq 2109 drivers/scsi/csiostor/csio_scsi.c if (!ioreq) { ioreq 2116 drivers/scsi/csiostor/csio_scsi.c ioreq->nsge = 0; ioreq 2117 drivers/scsi/csiostor/csio_scsi.c ioreq->lnode = ln; ioreq 2118 drivers/scsi/csiostor/csio_scsi.c ioreq->rnode = rn; ioreq 2119 drivers/scsi/csiostor/csio_scsi.c ioreq->iq_idx = sqset->iq_idx; ioreq 2120 drivers/scsi/csiostor/csio_scsi.c ioreq->eq_idx = sqset->eq_idx; ioreq 2122 drivers/scsi/csiostor/csio_scsi.c csio_scsi_cmnd(ioreq) = cmnd; ioreq 2123 drivers/scsi/csiostor/csio_scsi.c cmnd->host_scribble = (unsigned char *)ioreq; ioreq 2127 drivers/scsi/csiostor/csio_scsi.c ioreq->tmo = CSIO_SCSI_LUNRST_TMO_MS / 1000; ioreq 2134 drivers/scsi/csiostor/csio_scsi.c count = DIV_ROUND_UP((ioreq->tmo + 10) * 1000, CSIO_SCSI_TM_POLL_MS); ioreq 2137 drivers/scsi/csiostor/csio_scsi.c ioreq->io_cbfn = csio_tm_cbfn; ioreq 2141 drivers/scsi/csiostor/csio_scsi.c sld.lnode = ioreq->lnode; ioreq 2142 drivers/scsi/csiostor/csio_scsi.c sld.rnode = ioreq->rnode; ioreq 2147 drivers/scsi/csiostor/csio_scsi.c retval = csio_scsi_start_tm(ioreq); ioreq 2152 drivers/scsi/csiostor/csio_scsi.c ioreq, retval); ioreq 2159 drivers/scsi/csiostor/csio_scsi.c while ((((struct scsi_cmnd *)csio_scsi_cmnd(ioreq)) == cmnd) ioreq 2164 drivers/scsi/csiostor/csio_scsi.c if (((struct scsi_cmnd *)csio_scsi_cmnd(ioreq)) == cmnd) { ioreq 2169 drivers/scsi/csiostor/csio_scsi.c csio_scsi_drvcleanup(ioreq); ioreq 2170 drivers/scsi/csiostor/csio_scsi.c list_del_init(&ioreq->sm.sm_list); ioreq 2215 drivers/scsi/csiostor/csio_scsi.c csio_put_scsi_ioreq_lock(hw, scsim, ioreq); ioreq 2415 drivers/scsi/csiostor/csio_scsi.c struct csio_ioreq *ioreq; ioreq 2431 drivers/scsi/csiostor/csio_scsi.c ioreq = kzalloc(sizeof(struct csio_ioreq), GFP_KERNEL); ioreq 2432 drivers/scsi/csiostor/csio_scsi.c if (!ioreq) { ioreq 2442 drivers/scsi/csiostor/csio_scsi.c dma_buf = &ioreq->dma_buf; ioreq 2449 drivers/scsi/csiostor/csio_scsi.c kfree(ioreq); ioreq 2456 drivers/scsi/csiostor/csio_scsi.c csio_init_state(&ioreq->sm, csio_scsis_uninit); ioreq 2457 drivers/scsi/csiostor/csio_scsi.c INIT_LIST_HEAD(&ioreq->gen_list); ioreq 2458 drivers/scsi/csiostor/csio_scsi.c init_completion(&ioreq->cmplobj); ioreq 2460 drivers/scsi/csiostor/csio_scsi.c list_add_tail(&ioreq->sm.sm_list, &scm->ioreq_freelist); ioreq 2480 drivers/scsi/csiostor/csio_scsi.c ioreq = (struct csio_ioreq *)tmp; ioreq 2482 drivers/scsi/csiostor/csio_scsi.c dma_buf = &ioreq->dma_buf; ioreq 2486 drivers/scsi/csiostor/csio_scsi.c kfree(ioreq); ioreq 2502 drivers/scsi/csiostor/csio_scsi.c struct csio_ioreq *ioreq; ioreq 2511 drivers/scsi/csiostor/csio_scsi.c ioreq = (struct csio_ioreq *)tmp; ioreq 2513 drivers/scsi/csiostor/csio_scsi.c dma_buf = &ioreq->dma_buf; ioreq 2517 drivers/scsi/csiostor/csio_scsi.c kfree(ioreq); ioreq 207 drivers/scsi/csiostor/csio_scsi.h csio_put_scsi_ioreq(struct csio_scsim *scm, struct csio_ioreq *ioreq) ioreq 209 drivers/scsi/csiostor/csio_scsi.h list_add_tail(&ioreq->sm.sm_list, &scm->ioreq_freelist); ioreq 252 drivers/scsi/csiostor/csio_scsi.h csio_scsi_completed(struct csio_ioreq *ioreq, struct list_head *cbfn_q) ioreq 254 drivers/scsi/csiostor/csio_scsi.h csio_post_event(&ioreq->sm, CSIO_SCSIE_COMPLETED); ioreq 255 drivers/scsi/csiostor/csio_scsi.h if (csio_list_deleted(&ioreq->sm.sm_list)) ioreq 256 drivers/scsi/csiostor/csio_scsi.h list_add_tail(&ioreq->sm.sm_list, cbfn_q); ioreq 260 drivers/scsi/csiostor/csio_scsi.h csio_scsi_aborted(struct csio_ioreq *ioreq, struct list_head *cbfn_q) ioreq 262 drivers/scsi/csiostor/csio_scsi.h csio_post_event(&ioreq->sm, CSIO_SCSIE_ABORTED); ioreq 263 drivers/scsi/csiostor/csio_scsi.h list_add_tail(&ioreq->sm.sm_list, cbfn_q); ioreq 267 drivers/scsi/csiostor/csio_scsi.h csio_scsi_closed(struct csio_ioreq *ioreq, struct list_head *cbfn_q) ioreq 269 drivers/scsi/csiostor/csio_scsi.h csio_post_event(&ioreq->sm, CSIO_SCSIE_CLOSED); ioreq 270 drivers/scsi/csiostor/csio_scsi.h list_add_tail(&ioreq->sm.sm_list, cbfn_q); ioreq 274 drivers/scsi/csiostor/csio_scsi.h csio_scsi_drvcleanup(struct csio_ioreq *ioreq) ioreq 276 drivers/scsi/csiostor/csio_scsi.h csio_post_event(&ioreq->sm, CSIO_SCSIE_DRVCLEANUP); ioreq 286 drivers/scsi/csiostor/csio_scsi.h csio_scsi_start_io(struct csio_ioreq *ioreq) ioreq 288 drivers/scsi/csiostor/csio_scsi.h csio_post_event(&ioreq->sm, CSIO_SCSIE_START_IO); ioreq 289 drivers/scsi/csiostor/csio_scsi.h return ioreq->drv_status; ioreq 299 drivers/scsi/csiostor/csio_scsi.h csio_scsi_start_tm(struct csio_ioreq *ioreq) ioreq 301 drivers/scsi/csiostor/csio_scsi.h csio_post_event(&ioreq->sm, CSIO_SCSIE_START_TM); ioreq 302 drivers/scsi/csiostor/csio_scsi.h return ioreq->drv_status; ioreq 312 drivers/scsi/csiostor/csio_scsi.h csio_scsi_abort(struct csio_ioreq *ioreq) ioreq 314 drivers/scsi/csiostor/csio_scsi.h csio_post_event(&ioreq->sm, CSIO_SCSIE_ABORT); ioreq 315 drivers/scsi/csiostor/csio_scsi.h return ioreq->drv_status; ioreq 325 drivers/scsi/csiostor/csio_scsi.h csio_scsi_close(struct csio_ioreq *ioreq) ioreq 327 drivers/scsi/csiostor/csio_scsi.h csio_post_event(&ioreq->sm, CSIO_SCSIE_CLOSE); ioreq 328 drivers/scsi/csiostor/csio_scsi.h return ioreq->drv_status;