Home
last modified time | relevance | path

Searched refs:hba_private (Results 1 – 13 of 13) sorted by relevance

/openbmc/qemu/include/hw/scsi/
H A Dscsi.h32 void *hba_private; member
62 size_t buf_len, void *hba_private);
64 uint8_t *buf, void *hba_private);
131 size_t buf_len, void *hba_private);
208 uint32_t tag, uint32_t lun, void *hba_private);
210 uint8_t *buf, size_t buf_len, void *hba_private);
216 size_t buf_len, void *hba_private);
/openbmc/qemu/hw/scsi/
H A Dscsi-bus.c191 size_t buf_len, void *hba_private) in scsi_bus_parse_cdb() argument
199 rc = bus->info->parse_cdb(dev, cmd, buf, buf_len, hba_private); in scsi_bus_parse_cdb()
205 uint8_t *buf, void *hba_private) in scsi_device_alloc_req() argument
209 return sc->alloc_req(s, tag, lun, buf, hba_private); in scsi_device_alloc_req()
791 req->hba_private = hba_private; in scsi_req_alloc()
846 ret = sc->parse_cdb(d, &cmd, buf, buf_len, hba_private); in scsi_req_new()
865 req = scsi_req_alloc(ops, d, tag, lun, hba_private); in scsi_req_new()
867 req = scsi_device_alloc_req(d, tag, lun, buf, hba_private); in scsi_req_new()
1459 if (bus->info->free_request && req->hba_private) { in scsi_req_unref()
1460 bus->info->free_request(bus, req->hba_private); in scsi_req_unref()
[all …]
H A Dvirtio-scsi.c120 req->sreq->hba_private = NULL; in virtio_scsi_complete_req()
253 VirtIOSCSIReq *req = sreq->hba_private; in virtio_scsi_save_request()
463 VirtIOSCSIReq *cmd_req = r->hba_private; in virtio_scsi_do_tmf()
473 assert(r->hba_private); in virtio_scsi_do_tmf()
515 if (r->hba_private) { in virtio_scsi_do_tmf()
663 VirtIOSCSIReq *req = r->hba_private; in virtio_scsi_command_failed()
708 VirtIOSCSIReq *req = r->hba_private; in virtio_scsi_command_complete()
734 void *hba_private) in virtio_scsi_parse_cdb() argument
736 VirtIOSCSIReq *req = hba_private; in virtio_scsi_parse_cdb()
753 VirtIOSCSIReq *req = r->hba_private; in virtio_scsi_get_sg_list()
[all …]
H A Dmptsas.c263 req->sreq->hba_private = NULL; in mptsas_free_request()
442 MPTSASRequest *cmd_req = r->hba_private; in mptsas_process_scsi_task_mgmt()
452 assert(r->hba_private); in mptsas_process_scsi_task_mgmt()
493 if (r->hba_private) { in mptsas_process_scsi_task_mgmt()
1135 MPTSASRequest *req = sreq->hba_private; in mptsas_get_sg_list()
1143 MPTSASRequest *req = sreq->hba_private; in mptsas_command_complete()
1196 MPTSASRequest *req = sreq->hba_private; in mptsas_request_cancelled()
1218 MPTSASRequest *req = sreq->hba_private; in mptsas_save_request()
H A Dspapr_vscsi.c526 vscsi_req *req = sreq->hba_private; in vscsi_transfer_data()
556 vscsi_req *req = sreq->hba_private; in vscsi_command_complete()
593 vscsi_req *req = sreq->hba_private; in vscsi_request_cancelled()
630 vscsi_req *req = sreq->hba_private; in vscsi_save_request()
857 assert(tmpreq->sreq->hba_private); in vscsi_process_tsk_mgmt()
887 assert(tmpreq->sreq->hba_private); in vscsi_process_tsk_mgmt()
H A Dscsi-generic.c770 uint8_t *buf, void *hba_private) in scsi_new_request() argument
772 return scsi_req_alloc(&scsi_generic_req_ops, d, tag, lun, hba_private); in scsi_new_request()
785 void *hba_private) in scsi_generic_parse_cdb() argument
787 return scsi_bus_parse_cdb(dev, cmd, buf, buf_len, hba_private); in scsi_generic_parse_cdb()
H A Dlsi53c895a.c759 lsi_request *p = req->hba_private; in lsi_request_cancelled()
761 req->hba_private = NULL; in lsi_request_cancelled()
770 lsi_request *p = req->hba_private; in lsi_queue_req()
814 if (req->hba_private == s->current) { in lsi_command_complete()
815 req->hba_private = NULL; in lsi_command_complete()
830 assert(req->hba_private); in lsi_transfer_data()
831 if (s->waiting == LSI_WAIT_RESELECT || req->hba_private != s->current || in lsi_transfer_data()
H A Dvmw_pvscsi.c483 PVSCSIRequest *req = r->hba_private; in pvscsi_get_sg_list()
522 PVSCSIRequest *pvscsi_req = req->hba_private; in pvscsi_command_failed()
560 PVSCSIRequest *pvscsi_req = req->hba_private; in pvscsi_command_complete()
625 PVSCSIRequest *pvscsi_req = req->hba_private; in pvscsi_request_cancelled()
H A Dscsi-disk.c2733 uint8_t *buf, void *hba_private) in scsi_new_request() argument
2745 req = scsi_req_alloc(ops, &s->qdev, tag, lun, hba_private); in scsi_new_request()
3084 void *hba_private) in scsi_block_new_request() argument
3090 hba_private); in scsi_block_new_request()
3093 hba_private); in scsi_block_new_request()
3099 void *hba_private) in scsi_block_parse_cdb() argument
3104 return scsi_bus_parse_cdb(&s->qdev, cmd, buf, buf_len, hba_private); in scsi_block_parse_cdb()
H A Desp.c117 ESPState *s = req->hba_private; in esp_request_cancelled()
937 ESPState *s = req->hba_private; in esp_command_complete()
997 ESPState *s = req->hba_private; in esp_transfer_data()
H A Dmegasas.c602 cmd->req->hba_private = NULL; in megasas_complete_command()
1849 MegasasCmd *cmd = req->hba_private; in megasas_get_sg_list()
1860 MegasasCmd *cmd = req->hba_private; in megasas_xfer_complete()
1894 MegasasCmd *cmd = req->hba_private; in megasas_command_complete()
1929 MegasasCmd *cmd = req->hba_private; in megasas_command_cancelled()
/openbmc/qemu/hw/ufs/
H A Dlu.c64 UfsRequest *req = scsi_req->hba_private; in ufs_scsi_command_complete()
74 scsi_req->hba_private = NULL; in ufs_scsi_command_complete()
80 UfsRequest *req = scsi_req->hba_private; in ufs_get_sg_list()
/openbmc/qemu/hw/usb/
H A Ddev-uas.c589 UASRequest *req = r->hba_private; in usb_uas_scsi_transfer_data()
603 UASRequest *req = r->hba_private; in usb_uas_scsi_command_complete()
616 UASRequest *req = r->hba_private; in usb_uas_scsi_request_cancelled()