Searched refs:scsi_req (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/drivers/block/
H A Dskd_main.c505 skd_prep_rw_cdb(struct skd_scsi_request *scsi_req, skd_prep_rw_cdb() argument
510 scsi_req->cdb[0] = 0x28; skd_prep_rw_cdb()
512 scsi_req->cdb[0] = 0x2a; skd_prep_rw_cdb()
514 scsi_req->cdb[1] = 0; skd_prep_rw_cdb()
515 scsi_req->cdb[2] = (lba & 0xff000000) >> 24; skd_prep_rw_cdb()
516 scsi_req->cdb[3] = (lba & 0xff0000) >> 16; skd_prep_rw_cdb()
517 scsi_req->cdb[4] = (lba & 0xff00) >> 8; skd_prep_rw_cdb()
518 scsi_req->cdb[5] = (lba & 0xff); skd_prep_rw_cdb()
519 scsi_req->cdb[6] = 0; skd_prep_rw_cdb()
520 scsi_req->cdb[7] = (count & 0xff00) >> 8; skd_prep_rw_cdb()
521 scsi_req->cdb[8] = count & 0xff; skd_prep_rw_cdb()
522 scsi_req->cdb[9] = 0; skd_prep_rw_cdb()
526 skd_prep_zerosize_flush_cdb(struct skd_scsi_request *scsi_req, skd_prep_zerosize_flush_cdb() argument
531 scsi_req->cdb[0] = 0x35; skd_prep_zerosize_flush_cdb()
532 scsi_req->cdb[1] = 0; skd_prep_zerosize_flush_cdb()
533 scsi_req->cdb[2] = 0; skd_prep_zerosize_flush_cdb()
534 scsi_req->cdb[3] = 0; skd_prep_zerosize_flush_cdb()
535 scsi_req->cdb[4] = 0; skd_prep_zerosize_flush_cdb()
536 scsi_req->cdb[5] = 0; skd_prep_zerosize_flush_cdb()
537 scsi_req->cdb[6] = 0; skd_prep_zerosize_flush_cdb()
538 scsi_req->cdb[7] = 0; skd_prep_zerosize_flush_cdb()
539 scsi_req->cdb[8] = 0; skd_prep_zerosize_flush_cdb()
540 scsi_req->cdb[9] = 0; skd_prep_zerosize_flush_cdb()
544 skd_prep_discard_cdb(struct skd_scsi_request *scsi_req, skd_prep_discard_cdb() argument
556 scsi_req->cdb[0] = UNMAP; skd_prep_discard_cdb()
557 scsi_req->cdb[8] = len; skd_prep_discard_cdb()
577 struct skd_scsi_request *scsi_req; skd_request_fn() local
729 scsi_req = cmd_ptr; skd_request_fn()
730 scsi_req->hdr.tag = cmdctxt; skd_request_fn()
731 scsi_req->hdr.sg_list_dma_address = be_dmaa; skd_request_fn()
747 skd_prep_discard_cdb(scsi_req, skreq, page, lba, count); skd_request_fn()
750 skd_prep_zerosize_flush_cdb(scsi_req, skreq); skd_request_fn()
754 skd_prep_rw_cdb(scsi_req, data_dir, lba, count); skd_request_fn()
758 scsi_req->cdb[1] |= SKD_FUA_NV; skd_request_fn()
782 scsi_req->hdr.sg_list_len_bytes = skd_request_fn()
1702 struct skd_scsi_request *scsi_req = (struct skd_scsi_request *)&fmh[1]; skd_sg_io_send_fitmsg() local
1712 scsi_req->hdr.sg_list_dma_address = skd_sg_io_send_fitmsg()
1714 scsi_req->hdr.tag = skspcl->req.id; skd_sg_io_send_fitmsg()
1715 scsi_req->hdr.sg_list_len_bytes = skd_sg_io_send_fitmsg()
1717 memcpy(scsi_req->cdb, sksgio->cdb, sizeof(scsi_req->cdb)); skd_sg_io_send_fitmsg()
2676 struct skd_scsi_request *scsi_req = (struct skd_scsi_request *)&fmh[1]; skd_process_scsi_inq() local
2683 skd_do_driver_inq(skdev, skcomp, skerr, scsi_req->cdb, buf); skd_process_scsi_inq()
/linux-4.1.27/drivers/s390/scsi/
H A Dzfcp_aux.c214 adapter->pool.scsi_req = zfcp_allocate_low_mem_buffers()
216 if (!adapter->pool.scsi_req) zfcp_allocate_low_mem_buffers()
253 if (adapter->pool.scsi_req) zfcp_free_low_mem_buffers()
254 mempool_destroy(adapter->pool.scsi_req); zfcp_free_low_mem_buffers()
H A Dzfcp_def.h105 mempool_t *scsi_req; member in struct:zfcp_adapter_mempool
H A Dzfcp_fsf.c2220 sbtype, adapter->pool.scsi_req); zfcp_fsf_fcp_cmnd()
2322 qdio->adapter->pool.scsi_req); zfcp_fsf_fcp_task_mgmt()
/linux-4.1.27/drivers/message/fusion/
H A Dmptctl.c467 SCSIIORequest_t *scsi_req = (SCSIIORequest_t *) mf; mptctl_timeout_expired() local
492 scsi_req->Bus, scsi_req->TargetID); mptctl_timeout_expired()
496 scsi_req->Bus, 0); mptctl_timeout_expired()
504 scsi_req->Bus, 0); mptctl_timeout_expired()

Completed in 257 milliseconds