Searched refs:bsg_job (Results 1 – 11 of 11) sorted by relevance
/drivers/scsi/qla2xxx/ |
D | qla_bsg.c | 19 struct fc_bsg_job *bsg_job = sp->u.bsg_job; in qla2x00_bsg_job_done() local 21 bsg_job->reply->result = res; in qla2x00_bsg_job_done() 22 bsg_job->job_done(bsg_job); in qla2x00_bsg_job_done() 31 struct fc_bsg_job *bsg_job = sp->u.bsg_job; in qla2x00_bsg_sp_free() local 37 &bsg_job->request->rqst_data.h_vendor.vendor_cmd[1]; in qla2x00_bsg_sp_free() 41 bsg_job->request_payload.sg_list, in qla2x00_bsg_sp_free() 42 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); in qla2x00_bsg_sp_free() 46 bsg_job->reply_payload.sg_list, in qla2x00_bsg_sp_free() 47 bsg_job->reply_payload.sg_cnt, DMA_FROM_DEVICE); in qla2x00_bsg_sp_free() 49 dma_unmap_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, in qla2x00_bsg_sp_free() [all …]
|
D | qla_iocb.c | 2015 struct fc_bsg_job *bsg_job = sp->u.bsg_job; in qla24xx_els_iocb() local 2023 els_iocb->tx_dsd_count = cpu_to_le16(bsg_job->request_payload.sg_cnt); in qla24xx_els_iocb() 2026 els_iocb->rx_dsd_count = cpu_to_le16(bsg_job->reply_payload.sg_cnt); in qla24xx_els_iocb() 2030 bsg_job->request->rqst_data.r_els.els_code : in qla24xx_els_iocb() 2031 bsg_job->request->rqst_data.h_els.command_code; in qla24xx_els_iocb() 2037 cpu_to_le32(bsg_job->reply_payload.payload_len); in qla24xx_els_iocb() 2039 cpu_to_le32(bsg_job->request_payload.payload_len); in qla24xx_els_iocb() 2042 (bsg_job->request_payload.sg_list))); in qla24xx_els_iocb() 2044 (bsg_job->request_payload.sg_list))); in qla24xx_els_iocb() 2046 (bsg_job->request_payload.sg_list)); in qla24xx_els_iocb() [all …]
|
D | qla_isr.c | 1341 struct fc_bsg_job *bsg_job; in qla2x00_ct_entry() local 1349 bsg_job = sp->u.bsg_job; in qla2x00_ct_entry() 1358 bsg_job->reply->reply_data.ctels_reply.status = FC_CTELS_STATUS_OK; in qla2x00_ct_entry() 1359 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_ct_entry() 1364 bsg_job->reply->reply_payload_rcv_len = in qla2x00_ct_entry() 1371 bsg_job->reply->reply_payload_rcv_len); in qla2x00_ct_entry() 1377 bsg_job->reply->reply_payload_rcv_len = 0; in qla2x00_ct_entry() 1383 bsg_job->reply->reply_payload_rcv_len = in qla2x00_ct_entry() 1384 bsg_job->reply_payload.payload_len; in qla2x00_ct_entry() 1385 bsg_job->reply_len = 0; in qla2x00_ct_entry() [all …]
|
D | qla_mr.c | 2187 struct fc_bsg_job *bsg_job; in qlafx00_ioctl_iosb_entry() local 2206 bsg_job = sp->u.bsg_job; in qlafx00_ioctl_iosb_entry() 2222 fw_sts_ptr = ((uint8_t *)bsg_job->req->sense) + in qlafx00_ioctl_iosb_entry() 2227 bsg_job->reply_len = sizeof(struct fc_bsg_reply) + in qlafx00_ioctl_iosb_entry() 2238 res = bsg_job->reply->result = DID_OK << 16; in qlafx00_ioctl_iosb_entry() 2239 bsg_job->reply->reply_payload_rcv_len = in qlafx00_ioctl_iosb_entry() 2240 bsg_job->reply_payload.payload_len; in qlafx00_ioctl_iosb_entry() 3233 struct fc_bsg_job *bsg_job; in qlafx00_fxdisc_iocb() local 3281 bsg_job = sp->u.bsg_job; in qlafx00_fxdisc_iocb() 3283 &bsg_job->request->rqst_data.h_vendor.vendor_cmd[1]; in qlafx00_fxdisc_iocb() [all …]
|
D | qla_def.h | 397 struct fc_bsg_job *bsg_job; member
|
/drivers/scsi/qla4xxx/ |
D | ql4_bsg.c | 13 qla4xxx_read_flash(struct bsg_job *bsg_job) in qla4xxx_read_flash() argument 15 struct Scsi_Host *host = iscsi_job_to_shost(bsg_job); in qla4xxx_read_flash() 17 struct iscsi_bsg_reply *bsg_reply = bsg_job->reply; in qla4xxx_read_flash() 18 struct iscsi_bsg_request *bsg_req = bsg_job->request; in qla4xxx_read_flash() 45 length = bsg_job->reply_payload.payload_len; in qla4xxx_read_flash() 63 sg_copy_from_buffer(bsg_job->reply_payload.sg_list, in qla4xxx_read_flash() 64 bsg_job->reply_payload.sg_cnt, in qla4xxx_read_flash() 69 bsg_job_done(bsg_job, bsg_reply->result, in qla4xxx_read_flash() 78 qla4xxx_update_flash(struct bsg_job *bsg_job) in qla4xxx_update_flash() argument 80 struct Scsi_Host *host = iscsi_job_to_shost(bsg_job); in qla4xxx_update_flash() [all …]
|
D | ql4_glbl.h | 201 int qla4xxx_bsg_request(struct bsg_job *bsg_job); 202 int qla4xxx_process_vendor_specific(struct bsg_job *bsg_job);
|
/drivers/scsi/be2iscsi/ |
D | be_mgmt.h | 114 struct bsg_job *job,
|
D | be_mgmt.c | 483 struct bsg_job *job, in mgmt_vendor_specific_fw_cmd()
|
D | be_main.c | 5178 static int beiscsi_bsg_request(struct bsg_job *job) in beiscsi_bsg_request()
|
/drivers/scsi/ |
D | scsi_transport_iscsi.c | 1462 static int iscsi_bsg_host_dispatch(struct bsg_job *job) in iscsi_bsg_host_dispatch()
|