bsg_job 39 block/bsg-lib.c struct bsg_job *job = blk_mq_rq_to_pdu(rq); bsg_job 78 block/bsg-lib.c struct bsg_job *job = blk_mq_rq_to_pdu(rq); bsg_job 127 block/bsg-lib.c struct bsg_job *job = blk_mq_rq_to_pdu(rq); bsg_job 150 block/bsg-lib.c struct bsg_job *job = container_of(kref, struct bsg_job, kref); bsg_job 161 block/bsg-lib.c void bsg_job_put(struct bsg_job *job) bsg_job 167 block/bsg-lib.c int bsg_job_get(struct bsg_job *job) bsg_job 181 block/bsg-lib.c void bsg_job_done(struct bsg_job *job, int result, bsg_job 196 block/bsg-lib.c struct bsg_job *job = blk_mq_rq_to_pdu(rq); bsg_job 223 block/bsg-lib.c struct bsg_job *job = blk_mq_rq_to_pdu(req); bsg_job 293 block/bsg-lib.c struct bsg_job *job = blk_mq_rq_to_pdu(req); bsg_job 304 block/bsg-lib.c struct bsg_job *job = blk_mq_rq_to_pdu(req); bsg_job 316 block/bsg-lib.c struct bsg_job *job = blk_mq_rq_to_pdu(req); bsg_job 382 block/bsg-lib.c set->cmd_size = sizeof(struct bsg_job) + dd_job_size; bsg_job 2212 drivers/message/fusion/mptsas.c static void mptsas_smp_handler(struct bsg_job *job, struct Scsi_Host *shost, bsg_job 103 drivers/s390/scsi/zfcp_ext.h extern int zfcp_fc_exec_bsg_job(struct bsg_job *); bsg_job 104 drivers/s390/scsi/zfcp_ext.h extern int zfcp_fc_timeout_bsg_job(struct bsg_job *); bsg_job 948 drivers/s390/scsi/zfcp_fc.c struct bsg_job *job = data; bsg_job 958 drivers/s390/scsi/zfcp_fc.c static struct zfcp_fc_wka_port *zfcp_fc_job_wka_port(struct bsg_job *job) bsg_job 991 drivers/s390/scsi/zfcp_fc.c struct bsg_job *job = data; bsg_job 1000 drivers/s390/scsi/zfcp_fc.c static int zfcp_fc_exec_els_job(struct bsg_job *job, bsg_job 1023 drivers/s390/scsi/zfcp_fc.c static int zfcp_fc_exec_ct_job(struct bsg_job *job, bsg_job 1046 drivers/s390/scsi/zfcp_fc.c int zfcp_fc_exec_bsg_job(struct bsg_job *job) bsg_job 1076 drivers/s390/scsi/zfcp_fc.c int zfcp_fc_timeout_bsg_job(struct bsg_job *job) bsg_job 4814 drivers/scsi/be2iscsi/be_main.c static int beiscsi_bsg_request(struct bsg_job *job) bsg_job 35 drivers/scsi/be2iscsi/be_mgmt.c struct bsg_job *job, bsg_job 36 drivers/scsi/be2iscsi/be_mgmt.h struct bsg_job *job, bsg_job 3123 drivers/scsi/bfa/bfad_bsg.c bfad_im_bsg_vendor_request(struct bsg_job *job) bsg_job 3302 drivers/scsi/bfa/bfad_bsg.c bfad_fcxp_bsg_send(struct bsg_job *job, struct bfad_fcxp *drv_fcxp, bsg_job 3342 drivers/scsi/bfa/bfad_bsg.c bfad_im_bsg_els_ct_request(struct bsg_job *job) bsg_job 3551 drivers/scsi/bfa/bfad_bsg.c bfad_im_bsg_request(struct bsg_job *job) bsg_job 3579 drivers/scsi/bfa/bfad_bsg.c bfad_im_bsg_timeout(struct bsg_job *job) bsg_job 182 drivers/scsi/bfa/bfad_im.h int bfad_im_bsg_request(struct bsg_job *job); bsg_job 183 drivers/scsi/bfa/bfad_im.h int bfad_im_bsg_timeout(struct bsg_job *job); bsg_job 1696 drivers/scsi/ibmvscsi/ibmvfc.c static int ibmvfc_bsg_timeout(struct bsg_job *job) bsg_job 1809 drivers/scsi/ibmvscsi/ibmvfc.c static int ibmvfc_bsg_request(struct bsg_job *job) bsg_job 140 drivers/scsi/libfc/fc_lport.c struct bsg_job *job; bsg_job 1876 drivers/scsi/libfc/fc_lport.c struct bsg_job *job = info->job; bsg_job 1936 drivers/scsi/libfc/fc_lport.c static int fc_lport_els_request(struct bsg_job *job, bsg_job 1996 drivers/scsi/libfc/fc_lport.c static int fc_lport_ct_request(struct bsg_job *job, bsg_job 2054 drivers/scsi/libfc/fc_lport.c int fc_lport_bsg_request(struct bsg_job *job) bsg_job 2135 drivers/scsi/libsas/sas_expander.c void sas_smp_handler(struct bsg_job *job, struct Scsi_Host *shost, bsg_job 225 drivers/scsi/libsas/sas_host_smp.c void sas_smp_host_handler(struct bsg_job *job, struct Scsi_Host *shost) bsg_job 74 drivers/scsi/libsas/sas_internal.h void sas_smp_handler(struct bsg_job *job, struct Scsi_Host *shost, bsg_job 97 drivers/scsi/libsas/sas_internal.h extern void sas_smp_host_handler(struct bsg_job *job, struct Scsi_Host *shost); bsg_job 99 drivers/scsi/libsas/sas_internal.h static inline void sas_smp_host_handler(struct bsg_job *job, bsg_job 104 drivers/scsi/lpfc/lpfc_bsg.c struct bsg_job *set_job; /* job waiting for this iocb to finish */ bsg_job 304 drivers/scsi/lpfc/lpfc_bsg.c struct bsg_job *job; bsg_job 388 drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_send_mgmt_cmd(struct bsg_job *job) bsg_job 581 drivers/scsi/lpfc/lpfc_bsg.c struct bsg_job *job; bsg_job 662 drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_rport_els(struct bsg_job *job) bsg_job 933 drivers/scsi/lpfc/lpfc_bsg.c struct bsg_job *job = NULL; bsg_job 1206 drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_hba_set_event(struct bsg_job *job) bsg_job 1289 drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_hba_get_event(struct bsg_job *job) bsg_job 1401 drivers/scsi/lpfc/lpfc_bsg.c struct bsg_job *job; bsg_job 1481 drivers/scsi/lpfc/lpfc_bsg.c lpfc_issue_ct_rsp(struct lpfc_hba *phba, struct bsg_job *job, uint32_t tag, bsg_job 1626 drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_send_mgmt_rsp(struct bsg_job *job) bsg_job 1791 drivers/scsi/lpfc/lpfc_bsg.c lpfc_sli3_bsg_diag_loopback_mode(struct lpfc_hba *phba, struct bsg_job *job) bsg_job 2060 drivers/scsi/lpfc/lpfc_bsg.c lpfc_sli4_bsg_diag_loopback_mode(struct lpfc_hba *phba, struct bsg_job *job) bsg_job 2278 drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_diag_loopback_mode(struct bsg_job *job) bsg_job 2314 drivers/scsi/lpfc/lpfc_bsg.c lpfc_sli4_bsg_diag_mode_end(struct bsg_job *job) bsg_job 2393 drivers/scsi/lpfc/lpfc_bsg.c lpfc_sli4_bsg_link_diag_test(struct bsg_job *job) bsg_job 3099 drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_diag_loopback_run(struct bsg_job *job) bsg_job 3403 drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_get_dfc_rev(struct bsg_job *job) bsg_job 3458 drivers/scsi/lpfc/lpfc_bsg.c struct bsg_job *job; bsg_job 3634 drivers/scsi/lpfc/lpfc_bsg.c static struct bsg_job * bsg_job 3638 drivers/scsi/lpfc/lpfc_bsg.c struct bsg_job *job; bsg_job 3729 drivers/scsi/lpfc/lpfc_bsg.c struct bsg_job *job; bsg_job 3769 drivers/scsi/lpfc/lpfc_bsg.c struct bsg_job *job; bsg_job 3901 drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_sli_cfg_read_cmd_ext(struct lpfc_hba *phba, struct bsg_job *job, bsg_job 4089 drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_sli_cfg_write_cmd_ext(struct lpfc_hba *phba, struct bsg_job *job, bsg_job 4256 drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_handle_sli_cfg_mbox(struct lpfc_hba *phba, struct bsg_job *job, bsg_job 4405 drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_read_ebuf_get(struct lpfc_hba *phba, struct bsg_job *job) bsg_job 4475 drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_write_ebuf_set(struct lpfc_hba *phba, struct bsg_job *job, bsg_job 4601 drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_handle_sli_cfg_ebuf(struct lpfc_hba *phba, struct bsg_job *job, bsg_job 4646 drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_handle_sli_cfg_ext(struct lpfc_hba *phba, struct bsg_job *job, bsg_job 4724 drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_issue_mbox(struct lpfc_hba *phba, struct bsg_job *job, bsg_job 5017 drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_mbox_cmd(struct bsg_job *job) bsg_job 5086 drivers/scsi/lpfc/lpfc_bsg.c struct bsg_job *job; bsg_job 5177 drivers/scsi/lpfc/lpfc_bsg.c lpfc_menlo_cmd(struct bsg_job *job) bsg_job 5341 drivers/scsi/lpfc/lpfc_bsg.c lpfc_forced_link_speed(struct bsg_job *job) bsg_job 5412 drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_get_ras_config(struct bsg_job *job) bsg_job 5467 drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_set_ras_config(struct bsg_job *job) bsg_job 5550 drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_get_ras_lwpd(struct bsg_job *job) bsg_job 5611 drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_get_ras_fwlog(struct bsg_job *job) bsg_job 5689 drivers/scsi/lpfc/lpfc_bsg.c lpfc_get_trunk_info(struct bsg_job *job) bsg_job 5766 drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_hst_vendor(struct bsg_job *job) bsg_job 5839 drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_request(struct bsg_job *job) bsg_job 5876 drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_timeout(struct bsg_job *job) bsg_job 471 drivers/scsi/lpfc/lpfc_crtn.h int lpfc_bsg_request(struct bsg_job *); bsg_job 472 drivers/scsi/lpfc/lpfc_crtn.h int lpfc_bsg_timeout(struct bsg_job *); bsg_job 1833 drivers/scsi/mpt3sas/mpt3sas_transport.c _transport_smp_handler(struct bsg_job *job, struct Scsi_Host *shost, bsg_job 17 drivers/scsi/qla2xxx/qla_bsg.c struct bsg_job *bsg_job = sp->u.bsg_job; bsg_job 18 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 21 drivers/scsi/qla2xxx/qla_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 29 drivers/scsi/qla2xxx/qla_bsg.c struct bsg_job *bsg_job = sp->u.bsg_job; bsg_job 30 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_request *bsg_request = bsg_job->request; bsg_job 39 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_list, bsg_job 40 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); bsg_job 44 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_list, bsg_job 45 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, DMA_FROM_DEVICE); bsg_job 47 drivers/scsi/qla2xxx/qla_bsg.c dma_unmap_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, bsg_job 48 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); bsg_job 50 drivers/scsi/qla2xxx/qla_bsg.c dma_unmap_sg(&ha->pdev->dev, bsg_job->reply_payload.sg_list, bsg_job 51 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, DMA_FROM_DEVICE); bsg_job 116 drivers/scsi/qla2xxx/qla_bsg.c qla24xx_proc_fcp_prio_cfg_cmd(struct bsg_job *bsg_job) bsg_job 118 drivers/scsi/qla2xxx/qla_bsg.c struct Scsi_Host *host = fc_bsg_to_shost(bsg_job); bsg_job 119 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_request *bsg_request = bsg_job->request; bsg_job 120 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 172 drivers/scsi/qla2xxx/qla_bsg.c len = bsg_job->reply_payload.payload_len; bsg_job 182 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_list, bsg_job 183 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, ha->fcp_prio_cfg, bsg_job 189 drivers/scsi/qla2xxx/qla_bsg.c len = bsg_job->request_payload.payload_len; bsg_job 209 drivers/scsi/qla2xxx/qla_bsg.c sg_copy_to_buffer(bsg_job->request_payload.sg_list, bsg_job 210 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, ha->fcp_prio_cfg, bsg_job 239 drivers/scsi/qla2xxx/qla_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 245 drivers/scsi/qla2xxx/qla_bsg.c qla2x00_process_els(struct bsg_job *bsg_job) bsg_job 247 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_request *bsg_request = bsg_job->request; bsg_job 260 drivers/scsi/qla2xxx/qla_bsg.c rport = fc_bsg_to_rport(bsg_job); bsg_job 267 drivers/scsi/qla2xxx/qla_bsg.c host = fc_bsg_to_shost(bsg_job); bsg_job 288 drivers/scsi/qla2xxx/qla_bsg.c if (bsg_job->request_payload.sg_cnt > 1 || bsg_job 289 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt > 1) { bsg_job 293 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, bsg_job 294 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt); bsg_job 337 drivers/scsi/qla2xxx/qla_bsg.c dma_map_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, bsg_job 338 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); bsg_job 340 drivers/scsi/qla2xxx/qla_bsg.c dma_unmap_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, bsg_job 341 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); bsg_job 346 drivers/scsi/qla2xxx/qla_bsg.c rsp_sg_cnt = dma_map_sg(&ha->pdev->dev, bsg_job->reply_payload.sg_list, bsg_job 347 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, DMA_FROM_DEVICE); bsg_job 349 drivers/scsi/qla2xxx/qla_bsg.c dma_unmap_sg(&ha->pdev->dev, bsg_job->reply_payload.sg_list, bsg_job 350 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, DMA_FROM_DEVICE); bsg_job 355 drivers/scsi/qla2xxx/qla_bsg.c if ((req_sg_cnt != bsg_job->request_payload.sg_cnt) || bsg_job 356 drivers/scsi/qla2xxx/qla_bsg.c (rsp_sg_cnt != bsg_job->reply_payload.sg_cnt)) { bsg_job 360 drivers/scsi/qla2xxx/qla_bsg.c "dma_reply_sg_cnt:%x.\n", bsg_job->request_payload.sg_cnt, bsg_job 361 drivers/scsi/qla2xxx/qla_bsg.c req_sg_cnt, bsg_job->reply_payload.sg_cnt, rsp_sg_cnt); bsg_job 379 drivers/scsi/qla2xxx/qla_bsg.c sp->u.bsg_job = bsg_job; bsg_job 400 drivers/scsi/qla2xxx/qla_bsg.c dma_unmap_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, bsg_job 401 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); bsg_job 402 drivers/scsi/qla2xxx/qla_bsg.c dma_unmap_sg(&ha->pdev->dev, bsg_job->reply_payload.sg_list, bsg_job 403 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, DMA_FROM_DEVICE); bsg_job 428 drivers/scsi/qla2xxx/qla_bsg.c qla2x00_process_ct(struct bsg_job *bsg_job) bsg_job 431 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_request *bsg_request = bsg_job->request; bsg_job 432 drivers/scsi/qla2xxx/qla_bsg.c struct Scsi_Host *host = fc_bsg_to_shost(bsg_job); bsg_job 442 drivers/scsi/qla2xxx/qla_bsg.c dma_map_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, bsg_job 443 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); bsg_job 451 drivers/scsi/qla2xxx/qla_bsg.c rsp_sg_cnt = dma_map_sg(&ha->pdev->dev, bsg_job->reply_payload.sg_list, bsg_job 452 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, DMA_FROM_DEVICE); bsg_job 460 drivers/scsi/qla2xxx/qla_bsg.c if ((req_sg_cnt != bsg_job->request_payload.sg_cnt) || bsg_job 461 drivers/scsi/qla2xxx/qla_bsg.c (rsp_sg_cnt != bsg_job->reply_payload.sg_cnt)) { bsg_job 464 drivers/scsi/qla2xxx/qla_bsg.c "dma_reply_sg_cnt: %x\n", bsg_job->request_payload.sg_cnt, bsg_job 465 drivers/scsi/qla2xxx/qla_bsg.c req_sg_cnt, bsg_job->reply_payload.sg_cnt, rsp_sg_cnt); bsg_job 526 drivers/scsi/qla2xxx/qla_bsg.c sp->u.bsg_job = bsg_job; bsg_job 550 drivers/scsi/qla2xxx/qla_bsg.c dma_unmap_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, bsg_job 551 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); bsg_job 552 drivers/scsi/qla2xxx/qla_bsg.c dma_unmap_sg(&ha->pdev->dev, bsg_job->reply_payload.sg_list, bsg_job 553 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, DMA_FROM_DEVICE); bsg_job 706 drivers/scsi/qla2xxx/qla_bsg.c qla2x00_process_loopback(struct bsg_job *bsg_job) bsg_job 708 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_request *bsg_request = bsg_job->request; bsg_job 709 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 710 drivers/scsi/qla2xxx/qla_bsg.c struct Scsi_Host *host = fc_bsg_to_shost(bsg_job); bsg_job 735 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_list, bsg_job->request_payload.sg_cnt, bsg_job 745 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_list, bsg_job->reply_payload.sg_cnt, bsg_job 755 drivers/scsi/qla2xxx/qla_bsg.c if ((elreq.req_sg_cnt != bsg_job->request_payload.sg_cnt) || bsg_job 756 drivers/scsi/qla2xxx/qla_bsg.c (elreq.rsp_sg_cnt != bsg_job->reply_payload.sg_cnt)) { bsg_job 761 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, elreq.req_sg_cnt, bsg_job 762 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, elreq.rsp_sg_cnt); bsg_job 766 drivers/scsi/qla2xxx/qla_bsg.c req_data_len = rsp_data_len = bsg_job->request_payload.payload_len; bsg_job 786 drivers/scsi/qla2xxx/qla_bsg.c sg_copy_to_buffer(bsg_job->request_payload.sg_list, bsg_job 787 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, req_data, req_data_len); bsg_job 914 drivers/scsi/qla2xxx/qla_bsg.c sg_copy_from_buffer(bsg_job->reply_payload.sg_list, bsg_job 915 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, rsp_data, bsg_job 919 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_len = sizeof(struct fc_bsg_reply) + bsg_job 921 drivers/scsi/qla2xxx/qla_bsg.c fw_sts_ptr = bsg_job->reply + sizeof(struct fc_bsg_reply); bsg_job 922 drivers/scsi/qla2xxx/qla_bsg.c memcpy(bsg_job->reply + sizeof(struct fc_bsg_reply), response, bsg_job 935 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_list, bsg_job 936 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, DMA_FROM_DEVICE); bsg_job 939 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_list, bsg_job 940 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); bsg_job 942 drivers/scsi/qla2xxx/qla_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 948 drivers/scsi/qla2xxx/qla_bsg.c qla84xx_reset(struct bsg_job *bsg_job) bsg_job 950 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_request *bsg_request = bsg_job->request; bsg_job 951 drivers/scsi/qla2xxx/qla_bsg.c struct Scsi_Host *host = fc_bsg_to_shost(bsg_job); bsg_job 952 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 976 drivers/scsi/qla2xxx/qla_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 984 drivers/scsi/qla2xxx/qla_bsg.c qla84xx_updatefw(struct bsg_job *bsg_job) bsg_job 986 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_request *bsg_request = bsg_job->request; bsg_job 987 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 988 drivers/scsi/qla2xxx/qla_bsg.c struct Scsi_Host *host = fc_bsg_to_shost(bsg_job); bsg_job 1007 drivers/scsi/qla2xxx/qla_bsg.c sg_cnt = dma_map_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, bsg_job 1008 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); bsg_job 1015 drivers/scsi/qla2xxx/qla_bsg.c if (sg_cnt != bsg_job->request_payload.sg_cnt) { bsg_job 1019 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, sg_cnt); bsg_job 1024 drivers/scsi/qla2xxx/qla_bsg.c data_len = bsg_job->request_payload.payload_len; bsg_job 1034 drivers/scsi/qla2xxx/qla_bsg.c sg_copy_to_buffer(bsg_job->request_payload.sg_list, bsg_job 1035 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, fw_buf, data_len); bsg_job 1074 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_len = sizeof(struct fc_bsg_reply); bsg_job 1084 drivers/scsi/qla2xxx/qla_bsg.c dma_unmap_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, bsg_job 1085 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); bsg_job 1088 drivers/scsi/qla2xxx/qla_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 1094 drivers/scsi/qla2xxx/qla_bsg.c qla84xx_mgmt_cmd(struct bsg_job *bsg_job) bsg_job 1096 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_request *bsg_request = bsg_job->request; bsg_job 1097 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 1098 drivers/scsi/qla2xxx/qla_bsg.c struct Scsi_Host *host = fc_bsg_to_shost(bsg_job); bsg_job 1130 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_list, bsg_job 1131 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, DMA_FROM_DEVICE); bsg_job 1141 drivers/scsi/qla2xxx/qla_bsg.c if (sg_cnt != bsg_job->reply_payload.sg_cnt) { bsg_job 1145 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, sg_cnt); bsg_job 1150 drivers/scsi/qla2xxx/qla_bsg.c data_len = bsg_job->reply_payload.payload_len; bsg_job 1180 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_list, bsg_job 1181 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); bsg_job 1192 drivers/scsi/qla2xxx/qla_bsg.c if (sg_cnt != bsg_job->request_payload.sg_cnt) { bsg_job 1196 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, sg_cnt); bsg_job 1201 drivers/scsi/qla2xxx/qla_bsg.c data_len = bsg_job->request_payload.payload_len; bsg_job 1211 drivers/scsi/qla2xxx/qla_bsg.c sg_copy_to_buffer(bsg_job->request_payload.sg_list, bsg_job 1212 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, mgmt_b, data_len); bsg_job 1255 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_len = sizeof(struct fc_bsg_reply); bsg_job 1261 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.payload_len; bsg_job 1263 drivers/scsi/qla2xxx/qla_bsg.c sg_copy_from_buffer(bsg_job->reply_payload.sg_list, bsg_job 1264 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, mgmt_b, bsg_job 1274 drivers/scsi/qla2xxx/qla_bsg.c dma_unmap_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, bsg_job 1275 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); bsg_job 1277 drivers/scsi/qla2xxx/qla_bsg.c dma_unmap_sg(&ha->pdev->dev, bsg_job->reply_payload.sg_list, bsg_job 1278 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, DMA_FROM_DEVICE); bsg_job 1284 drivers/scsi/qla2xxx/qla_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 1290 drivers/scsi/qla2xxx/qla_bsg.c qla24xx_iidma(struct bsg_job *bsg_job) bsg_job 1292 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_request *bsg_request = bsg_job->request; bsg_job 1293 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 1294 drivers/scsi/qla2xxx/qla_bsg.c struct Scsi_Host *host = fc_bsg_to_shost(bsg_job); bsg_job 1360 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_len = sizeof(struct fc_bsg_reply) + bsg_job 1371 drivers/scsi/qla2xxx/qla_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 1379 drivers/scsi/qla2xxx/qla_bsg.c qla2x00_optrom_setup(struct bsg_job *bsg_job, scsi_qla_host_t *vha, bsg_job 1382 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_request *bsg_request = bsg_job->request; bsg_job 1418 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.payload_len); bsg_job 1423 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.payload_len > ha->optrom_size ? bsg_job 1425 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.payload_len; bsg_job 1429 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.payload_len > ha->optrom_size ? bsg_job 1431 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.payload_len; bsg_job 1449 drivers/scsi/qla2xxx/qla_bsg.c qla2x00_read_optrom(struct bsg_job *bsg_job) bsg_job 1451 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 1452 drivers/scsi/qla2xxx/qla_bsg.c struct Scsi_Host *host = fc_bsg_to_shost(bsg_job); bsg_job 1461 drivers/scsi/qla2xxx/qla_bsg.c rval = qla2x00_optrom_setup(bsg_job, vha, 0); bsg_job 1470 drivers/scsi/qla2xxx/qla_bsg.c sg_copy_from_buffer(bsg_job->reply_payload.sg_list, bsg_job 1471 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, ha->optrom_buffer, bsg_job 1480 drivers/scsi/qla2xxx/qla_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 1486 drivers/scsi/qla2xxx/qla_bsg.c qla2x00_update_optrom(struct bsg_job *bsg_job) bsg_job 1488 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 1489 drivers/scsi/qla2xxx/qla_bsg.c struct Scsi_Host *host = fc_bsg_to_shost(bsg_job); bsg_job 1495 drivers/scsi/qla2xxx/qla_bsg.c rval = qla2x00_optrom_setup(bsg_job, vha, 1); bsg_job 1504 drivers/scsi/qla2xxx/qla_bsg.c sg_copy_to_buffer(bsg_job->request_payload.sg_list, bsg_job 1505 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, ha->optrom_buffer, bsg_job 1516 drivers/scsi/qla2xxx/qla_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 1522 drivers/scsi/qla2xxx/qla_bsg.c qla2x00_update_fru_versions(struct bsg_job *bsg_job) bsg_job 1524 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 1525 drivers/scsi/qla2xxx/qla_bsg.c struct Scsi_Host *host = fc_bsg_to_shost(bsg_job); bsg_job 1542 drivers/scsi/qla2xxx/qla_bsg.c sg_copy_to_buffer(bsg_job->request_payload.sg_list, bsg_job 1543 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, list, sizeof(bsg)); bsg_job 1566 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_len = sizeof(struct fc_bsg_reply); bsg_job 1568 drivers/scsi/qla2xxx/qla_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 1575 drivers/scsi/qla2xxx/qla_bsg.c qla2x00_read_fru_status(struct bsg_job *bsg_job) bsg_job 1577 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 1578 drivers/scsi/qla2xxx/qla_bsg.c struct Scsi_Host *host = fc_bsg_to_shost(bsg_job); bsg_job 1593 drivers/scsi/qla2xxx/qla_bsg.c sg_copy_to_buffer(bsg_job->request_payload.sg_list, bsg_job 1594 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, sr, sizeof(*sr)); bsg_job 1607 drivers/scsi/qla2xxx/qla_bsg.c sg_copy_from_buffer(bsg_job->reply_payload.sg_list, bsg_job 1608 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, sr, sizeof(*sr)); bsg_job 1616 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_len = sizeof(struct fc_bsg_reply); bsg_job 1619 drivers/scsi/qla2xxx/qla_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 1626 drivers/scsi/qla2xxx/qla_bsg.c qla2x00_write_fru_status(struct bsg_job *bsg_job) bsg_job 1628 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 1629 drivers/scsi/qla2xxx/qla_bsg.c struct Scsi_Host *host = fc_bsg_to_shost(bsg_job); bsg_job 1644 drivers/scsi/qla2xxx/qla_bsg.c sg_copy_to_buffer(bsg_job->request_payload.sg_list, bsg_job 1645 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, sr, sizeof(*sr)); bsg_job 1664 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_len = sizeof(struct fc_bsg_reply); bsg_job 1666 drivers/scsi/qla2xxx/qla_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 1673 drivers/scsi/qla2xxx/qla_bsg.c qla2x00_write_i2c(struct bsg_job *bsg_job) bsg_job 1675 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 1676 drivers/scsi/qla2xxx/qla_bsg.c struct Scsi_Host *host = fc_bsg_to_shost(bsg_job); bsg_job 1691 drivers/scsi/qla2xxx/qla_bsg.c sg_copy_to_buffer(bsg_job->request_payload.sg_list, bsg_job 1692 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, i2c, sizeof(*i2c)); bsg_job 1710 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_len = sizeof(struct fc_bsg_reply); bsg_job 1712 drivers/scsi/qla2xxx/qla_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 1719 drivers/scsi/qla2xxx/qla_bsg.c qla2x00_read_i2c(struct bsg_job *bsg_job) bsg_job 1721 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 1722 drivers/scsi/qla2xxx/qla_bsg.c struct Scsi_Host *host = fc_bsg_to_shost(bsg_job); bsg_job 1737 drivers/scsi/qla2xxx/qla_bsg.c sg_copy_to_buffer(bsg_job->request_payload.sg_list, bsg_job 1738 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, i2c, sizeof(*i2c)); bsg_job 1750 drivers/scsi/qla2xxx/qla_bsg.c sg_copy_from_buffer(bsg_job->reply_payload.sg_list, bsg_job 1751 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, i2c, sizeof(*i2c)); bsg_job 1759 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_len = sizeof(struct fc_bsg_reply); bsg_job 1762 drivers/scsi/qla2xxx/qla_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 1769 drivers/scsi/qla2xxx/qla_bsg.c qla24xx_process_bidir_cmd(struct bsg_job *bsg_job) bsg_job 1771 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 1772 drivers/scsi/qla2xxx/qla_bsg.c struct Scsi_Host *host = fc_bsg_to_shost(bsg_job); bsg_job 1857 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_list, bsg_job 1858 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, bsg_job 1867 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_list, bsg_job->reply_payload.sg_cnt, bsg_job 1875 drivers/scsi/qla2xxx/qla_bsg.c if ((req_sg_cnt != bsg_job->request_payload.sg_cnt) || bsg_job 1876 drivers/scsi/qla2xxx/qla_bsg.c (rsp_sg_cnt != bsg_job->reply_payload.sg_cnt)) { bsg_job 1881 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, req_sg_cnt, bsg_job 1882 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, rsp_sg_cnt); bsg_job 1887 drivers/scsi/qla2xxx/qla_bsg.c req_data_len = bsg_job->request_payload.payload_len; bsg_job 1888 drivers/scsi/qla2xxx/qla_bsg.c rsp_data_len = bsg_job->reply_payload.payload_len; bsg_job 1907 drivers/scsi/qla2xxx/qla_bsg.c sp->u.bsg_job = bsg_job; bsg_job 1925 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_list, bsg_job 1926 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, DMA_FROM_DEVICE); bsg_job 1929 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_list, bsg_job 1930 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); bsg_job 1937 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_len = sizeof(struct fc_bsg_reply); bsg_job 1940 drivers/scsi/qla2xxx/qla_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 1947 drivers/scsi/qla2xxx/qla_bsg.c qlafx00_mgmt_cmd(struct bsg_job *bsg_job) bsg_job 1949 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_request *bsg_request = bsg_job->request; bsg_job 1950 drivers/scsi/qla2xxx/qla_bsg.c struct Scsi_Host *host = fc_bsg_to_shost(bsg_job); bsg_job 1977 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_list, bsg_job 1978 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); bsg_job 1989 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_list, bsg_job 1990 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, DMA_FROM_DEVICE); bsg_job 2001 drivers/scsi/qla2xxx/qla_bsg.c "dma_reply_sg_cnt: %x\n", bsg_job->request_payload.sg_cnt, bsg_job 2002 drivers/scsi/qla2xxx/qla_bsg.c req_sg_cnt, bsg_job->reply_payload.sg_cnt, rsp_sg_cnt); bsg_job 2033 drivers/scsi/qla2xxx/qla_bsg.c sp->u.bsg_job = bsg_job; bsg_job 2057 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_list, bsg_job 2058 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, DMA_FROM_DEVICE); bsg_job 2062 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_list, bsg_job 2063 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); bsg_job 2070 drivers/scsi/qla2xxx/qla_bsg.c qla26xx_serdes_op(struct bsg_job *bsg_job) bsg_job 2072 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 2073 drivers/scsi/qla2xxx/qla_bsg.c struct Scsi_Host *host = fc_bsg_to_shost(bsg_job); bsg_job 2080 drivers/scsi/qla2xxx/qla_bsg.c sg_copy_to_buffer(bsg_job->request_payload.sg_list, bsg_job 2081 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, &sr, sizeof(sr)); bsg_job 2090 drivers/scsi/qla2xxx/qla_bsg.c sg_copy_from_buffer(bsg_job->reply_payload.sg_list, bsg_job 2091 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, &sr, sizeof(sr)); bsg_job 2104 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_len = sizeof(struct fc_bsg_reply); bsg_job 2106 drivers/scsi/qla2xxx/qla_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 2112 drivers/scsi/qla2xxx/qla_bsg.c qla8044_serdes_op(struct bsg_job *bsg_job) bsg_job 2114 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 2115 drivers/scsi/qla2xxx/qla_bsg.c struct Scsi_Host *host = fc_bsg_to_shost(bsg_job); bsg_job 2122 drivers/scsi/qla2xxx/qla_bsg.c sg_copy_to_buffer(bsg_job->request_payload.sg_list, bsg_job 2123 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, &sr, sizeof(sr)); bsg_job 2132 drivers/scsi/qla2xxx/qla_bsg.c sg_copy_from_buffer(bsg_job->reply_payload.sg_list, bsg_job 2133 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, &sr, sizeof(sr)); bsg_job 2146 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_len = sizeof(struct fc_bsg_reply); bsg_job 2148 drivers/scsi/qla2xxx/qla_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 2154 drivers/scsi/qla2xxx/qla_bsg.c qla27xx_get_flash_upd_cap(struct bsg_job *bsg_job) bsg_job 2156 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 2157 drivers/scsi/qla2xxx/qla_bsg.c struct Scsi_Host *host = fc_bsg_to_shost(bsg_job); bsg_job 2171 drivers/scsi/qla2xxx/qla_bsg.c sg_copy_from_buffer(bsg_job->reply_payload.sg_list, bsg_job 2172 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, &cap, sizeof(cap)); bsg_job 2178 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_len = sizeof(struct fc_bsg_reply); bsg_job 2180 drivers/scsi/qla2xxx/qla_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 2186 drivers/scsi/qla2xxx/qla_bsg.c qla27xx_set_flash_upd_cap(struct bsg_job *bsg_job) bsg_job 2188 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 2189 drivers/scsi/qla2xxx/qla_bsg.c struct Scsi_Host *host = fc_bsg_to_shost(bsg_job); bsg_job 2199 drivers/scsi/qla2xxx/qla_bsg.c sg_copy_to_buffer(bsg_job->request_payload.sg_list, bsg_job 2200 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, &cap, sizeof(cap)); bsg_job 2224 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_len = sizeof(struct fc_bsg_reply); bsg_job 2226 drivers/scsi/qla2xxx/qla_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 2232 drivers/scsi/qla2xxx/qla_bsg.c qla27xx_get_bbcr_data(struct bsg_job *bsg_job) bsg_job 2234 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 2235 drivers/scsi/qla2xxx/qla_bsg.c struct Scsi_Host *host = fc_bsg_to_shost(bsg_job); bsg_job 2277 drivers/scsi/qla2xxx/qla_bsg.c sg_copy_from_buffer(bsg_job->reply_payload.sg_list, bsg_job 2278 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, &bbcr, sizeof(bbcr)); bsg_job 2283 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_len = sizeof(struct fc_bsg_reply); bsg_job 2285 drivers/scsi/qla2xxx/qla_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 2291 drivers/scsi/qla2xxx/qla_bsg.c qla2x00_get_priv_stats(struct bsg_job *bsg_job) bsg_job 2293 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_request *bsg_request = bsg_job->request; bsg_job 2294 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 2295 drivers/scsi/qla2xxx/qla_bsg.c struct Scsi_Host *host = fc_bsg_to_shost(bsg_job); bsg_job 2330 drivers/scsi/qla2xxx/qla_bsg.c sg_copy_from_buffer(bsg_job->reply_payload.sg_list, bsg_job 2331 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, stats, sizeof(*stats)); bsg_job 2338 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_len = sizeof(*bsg_reply); bsg_job 2340 drivers/scsi/qla2xxx/qla_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 2350 drivers/scsi/qla2xxx/qla_bsg.c qla2x00_do_dport_diagnostics(struct bsg_job *bsg_job) bsg_job 2352 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 2353 drivers/scsi/qla2xxx/qla_bsg.c struct Scsi_Host *host = fc_bsg_to_shost(bsg_job); bsg_job 2369 drivers/scsi/qla2xxx/qla_bsg.c sg_copy_to_buffer(bsg_job->request_payload.sg_list, bsg_job 2370 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->request_payload.sg_cnt, dd, sizeof(*dd)); bsg_job 2375 drivers/scsi/qla2xxx/qla_bsg.c sg_copy_from_buffer(bsg_job->reply_payload.sg_list, bsg_job 2376 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, dd, sizeof(*dd)); bsg_job 2383 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_len = sizeof(*bsg_reply); bsg_job 2385 drivers/scsi/qla2xxx/qla_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 2394 drivers/scsi/qla2xxx/qla_bsg.c qla2x00_get_flash_image_status(struct bsg_job *bsg_job) bsg_job 2396 drivers/scsi/qla2xxx/qla_bsg.c scsi_qla_host_t *vha = shost_priv(fc_bsg_to_shost(bsg_job)); bsg_job 2397 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 2419 drivers/scsi/qla2xxx/qla_bsg.c sg_copy_from_buffer(bsg_job->reply_payload.sg_list, bsg_job 2420 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, ®ions, sizeof(regions)); bsg_job 2425 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_len = sizeof(struct fc_bsg_reply); bsg_job 2426 drivers/scsi/qla2xxx/qla_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 2433 drivers/scsi/qla2xxx/qla_bsg.c qla2x00_process_vendor_specific(struct bsg_job *bsg_job) bsg_job 2435 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_request *bsg_request = bsg_job->request; bsg_job 2439 drivers/scsi/qla2xxx/qla_bsg.c return qla2x00_process_loopback(bsg_job); bsg_job 2442 drivers/scsi/qla2xxx/qla_bsg.c return qla84xx_reset(bsg_job); bsg_job 2445 drivers/scsi/qla2xxx/qla_bsg.c return qla84xx_updatefw(bsg_job); bsg_job 2448 drivers/scsi/qla2xxx/qla_bsg.c return qla84xx_mgmt_cmd(bsg_job); bsg_job 2451 drivers/scsi/qla2xxx/qla_bsg.c return qla24xx_iidma(bsg_job); bsg_job 2454 drivers/scsi/qla2xxx/qla_bsg.c return qla24xx_proc_fcp_prio_cfg_cmd(bsg_job); bsg_job 2457 drivers/scsi/qla2xxx/qla_bsg.c return qla2x00_read_optrom(bsg_job); bsg_job 2460 drivers/scsi/qla2xxx/qla_bsg.c return qla2x00_update_optrom(bsg_job); bsg_job 2463 drivers/scsi/qla2xxx/qla_bsg.c return qla2x00_update_fru_versions(bsg_job); bsg_job 2466 drivers/scsi/qla2xxx/qla_bsg.c return qla2x00_read_fru_status(bsg_job); bsg_job 2469 drivers/scsi/qla2xxx/qla_bsg.c return qla2x00_write_fru_status(bsg_job); bsg_job 2472 drivers/scsi/qla2xxx/qla_bsg.c return qla2x00_write_i2c(bsg_job); bsg_job 2475 drivers/scsi/qla2xxx/qla_bsg.c return qla2x00_read_i2c(bsg_job); bsg_job 2478 drivers/scsi/qla2xxx/qla_bsg.c return qla24xx_process_bidir_cmd(bsg_job); bsg_job 2481 drivers/scsi/qla2xxx/qla_bsg.c return qlafx00_mgmt_cmd(bsg_job); bsg_job 2484 drivers/scsi/qla2xxx/qla_bsg.c return qla26xx_serdes_op(bsg_job); bsg_job 2487 drivers/scsi/qla2xxx/qla_bsg.c return qla8044_serdes_op(bsg_job); bsg_job 2490 drivers/scsi/qla2xxx/qla_bsg.c return qla27xx_get_flash_upd_cap(bsg_job); bsg_job 2493 drivers/scsi/qla2xxx/qla_bsg.c return qla27xx_set_flash_upd_cap(bsg_job); bsg_job 2496 drivers/scsi/qla2xxx/qla_bsg.c return qla27xx_get_bbcr_data(bsg_job); bsg_job 2500 drivers/scsi/qla2xxx/qla_bsg.c return qla2x00_get_priv_stats(bsg_job); bsg_job 2503 drivers/scsi/qla2xxx/qla_bsg.c return qla2x00_do_dport_diagnostics(bsg_job); bsg_job 2506 drivers/scsi/qla2xxx/qla_bsg.c return qla2x00_get_flash_image_status(bsg_job); bsg_job 2514 drivers/scsi/qla2xxx/qla_bsg.c qla24xx_bsg_request(struct bsg_job *bsg_job) bsg_job 2516 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_request *bsg_request = bsg_job->request; bsg_job 2517 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 2527 drivers/scsi/qla2xxx/qla_bsg.c rport = fc_bsg_to_rport(bsg_job); bsg_job 2531 drivers/scsi/qla2xxx/qla_bsg.c host = fc_bsg_to_shost(bsg_job); bsg_job 2548 drivers/scsi/qla2xxx/qla_bsg.c ret = qla2x00_process_els(bsg_job); bsg_job 2551 drivers/scsi/qla2xxx/qla_bsg.c ret = qla2x00_process_ct(bsg_job); bsg_job 2554 drivers/scsi/qla2xxx/qla_bsg.c ret = qla2x00_process_vendor_specific(bsg_job); bsg_job 2567 drivers/scsi/qla2xxx/qla_bsg.c qla24xx_bsg_timeout(struct bsg_job *bsg_job) bsg_job 2569 drivers/scsi/qla2xxx/qla_bsg.c struct fc_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 2570 drivers/scsi/qla2xxx/qla_bsg.c scsi_qla_host_t *vha = shost_priv(fc_bsg_to_shost(bsg_job)); bsg_job 2590 drivers/scsi/qla2xxx/qla_bsg.c && (sp->u.bsg_job == bsg_job)) { bsg_job 619 drivers/scsi/qla2xxx/qla_def.h struct bsg_job *bsg_job; bsg_job 850 drivers/scsi/qla2xxx/qla_gbl.h extern int qla24xx_bsg_request(struct bsg_job *); bsg_job 851 drivers/scsi/qla2xxx/qla_gbl.h extern int qla24xx_bsg_timeout(struct bsg_job *); bsg_job 2887 drivers/scsi/qla2xxx/qla_iocb.c struct bsg_job *bsg_job = sp->u.bsg_job; bsg_job 2888 drivers/scsi/qla2xxx/qla_iocb.c struct fc_bsg_request *bsg_request = bsg_job->request; bsg_job 2896 drivers/scsi/qla2xxx/qla_iocb.c els_iocb->tx_dsd_count = cpu_to_le16(bsg_job->request_payload.sg_cnt); bsg_job 2899 drivers/scsi/qla2xxx/qla_iocb.c els_iocb->rx_dsd_count = cpu_to_le16(bsg_job->reply_payload.sg_cnt); bsg_job 2910 drivers/scsi/qla2xxx/qla_iocb.c cpu_to_le32(bsg_job->reply_payload.payload_len); bsg_job 2912 drivers/scsi/qla2xxx/qla_iocb.c cpu_to_le32(bsg_job->request_payload.payload_len); bsg_job 2914 drivers/scsi/qla2xxx/qla_iocb.c put_unaligned_le64(sg_dma_address(bsg_job->request_payload.sg_list), bsg_job 2917 drivers/scsi/qla2xxx/qla_iocb.c (bsg_job->request_payload.sg_list)); bsg_job 2919 drivers/scsi/qla2xxx/qla_iocb.c put_unaligned_le64(sg_dma_address(bsg_job->reply_payload.sg_list), bsg_job 2922 drivers/scsi/qla2xxx/qla_iocb.c (bsg_job->reply_payload.sg_list)); bsg_job 2937 drivers/scsi/qla2xxx/qla_iocb.c struct bsg_job *bsg_job = sp->u.bsg_job; bsg_job 2949 drivers/scsi/qla2xxx/qla_iocb.c cpu_to_le16(bsg_job->request_payload.sg_cnt); bsg_job 2951 drivers/scsi/qla2xxx/qla_iocb.c cpu_to_le16(bsg_job->request_payload.sg_cnt + 1); bsg_job 2953 drivers/scsi/qla2xxx/qla_iocb.c cpu_to_le32(bsg_job->request_payload.payload_len); bsg_job 2955 drivers/scsi/qla2xxx/qla_iocb.c cpu_to_le32(bsg_job->reply_payload.payload_len); bsg_job 2957 drivers/scsi/qla2xxx/qla_iocb.c put_unaligned_le64(sg_dma_address(bsg_job->request_payload.sg_list), bsg_job 2961 drivers/scsi/qla2xxx/qla_iocb.c put_unaligned_le64(sg_dma_address(bsg_job->reply_payload.sg_list), bsg_job 2968 drivers/scsi/qla2xxx/qla_iocb.c tot_dsds = bsg_job->reply_payload.sg_cnt; bsg_job 2970 drivers/scsi/qla2xxx/qla_iocb.c for_each_sg(bsg_job->reply_payload.sg_list, sg, tot_dsds, index) { bsg_job 3004 drivers/scsi/qla2xxx/qla_iocb.c struct bsg_job *bsg_job = sp->u.bsg_job; bsg_job 3017 drivers/scsi/qla2xxx/qla_iocb.c cmd_dsds = bsg_job->request_payload.sg_cnt; bsg_job 3018 drivers/scsi/qla2xxx/qla_iocb.c rsp_dsds = bsg_job->reply_payload.sg_cnt; bsg_job 3024 drivers/scsi/qla2xxx/qla_iocb.c cpu_to_le32(bsg_job->request_payload.payload_len); bsg_job 3030 drivers/scsi/qla2xxx/qla_iocb.c for_each_sg(bsg_job->request_payload.sg_list, sg, cmd_dsds, index) { bsg_job 3050 drivers/scsi/qla2xxx/qla_iocb.c for_each_sg(bsg_job->reply_payload.sg_list, sg, rsp_dsds, index) { bsg_job 3648 drivers/scsi/qla2xxx/qla_iocb.c struct bsg_job *bsg_job = sp->u.bsg_job; bsg_job 3657 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->wr_dseg_count = cpu_to_le16(bsg_job->request_payload.sg_cnt); bsg_job 3658 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->rd_dseg_count = cpu_to_le16(bsg_job->reply_payload.sg_cnt); bsg_job 3662 drivers/scsi/qla2xxx/qla_iocb.c req_data_len = rsp_data_len = bsg_job->request_payload.payload_len; bsg_job 3681 drivers/scsi/qla2xxx/qla_iocb.c for_each_sg(bsg_job->request_payload.sg_list, sg, bsg_job 3682 drivers/scsi/qla2xxx/qla_iocb.c bsg_job->request_payload.sg_cnt, index) { bsg_job 3703 drivers/scsi/qla2xxx/qla_iocb.c for_each_sg(bsg_job->reply_payload.sg_list, sg, bsg_job 3704 drivers/scsi/qla2xxx/qla_iocb.c bsg_job->reply_payload.sg_cnt, index) { bsg_job 1482 drivers/scsi/qla2xxx/qla_isr.c struct bsg_job *bsg_job; bsg_job 1493 drivers/scsi/qla2xxx/qla_isr.c bsg_job = sp->u.bsg_job; bsg_job 1494 drivers/scsi/qla2xxx/qla_isr.c bsg_reply = bsg_job->reply; bsg_job 1505 drivers/scsi/qla2xxx/qla_isr.c bsg_job->reply_len = sizeof(struct fc_bsg_reply); bsg_job 1529 drivers/scsi/qla2xxx/qla_isr.c bsg_job->reply_payload.payload_len; bsg_job 1530 drivers/scsi/qla2xxx/qla_isr.c bsg_job->reply_len = 0; bsg_job 1554 drivers/scsi/qla2xxx/qla_isr.c struct bsg_job *bsg_job; bsg_job 1633 drivers/scsi/qla2xxx/qla_isr.c bsg_job = sp->u.bsg_job; bsg_job 1634 drivers/scsi/qla2xxx/qla_isr.c bsg_reply = bsg_job->reply; bsg_job 1636 drivers/scsi/qla2xxx/qla_isr.c bsg_job->reply_len = sizeof(struct fc_bsg_reply) + sizeof(fw_status); bsg_job 1662 drivers/scsi/qla2xxx/qla_isr.c memcpy(bsg_job->reply + sizeof(struct fc_bsg_reply), bsg_job 1669 drivers/scsi/qla2xxx/qla_isr.c bsg_reply->reply_payload_rcv_len = bsg_job->reply_payload.payload_len; bsg_job 1670 drivers/scsi/qla2xxx/qla_isr.c bsg_job->reply_len = 0; bsg_job 2263 drivers/scsi/qla2xxx/qla_isr.c struct bsg_job *bsg_job = NULL; bsg_job 2289 drivers/scsi/qla2xxx/qla_isr.c bsg_job = sp->u.bsg_job; bsg_job 2290 drivers/scsi/qla2xxx/qla_isr.c bsg_request = bsg_job->request; bsg_job 2291 drivers/scsi/qla2xxx/qla_isr.c bsg_reply = bsg_job->reply; bsg_job 2306 drivers/scsi/qla2xxx/qla_isr.c bsg_job->reply_payload.payload_len; bsg_job 2394 drivers/scsi/qla2xxx/qla_isr.c bsg_job->reply_len = sizeof(struct fc_bsg_reply); bsg_job 2213 drivers/scsi/qla2xxx/qla_mr.c struct bsg_job *bsg_job; bsg_job 2233 drivers/scsi/qla2xxx/qla_mr.c bsg_job = sp->u.bsg_job; bsg_job 2234 drivers/scsi/qla2xxx/qla_mr.c bsg_reply = bsg_job->reply; bsg_job 2250 drivers/scsi/qla2xxx/qla_mr.c fw_sts_ptr = bsg_job->reply + sizeof(struct fc_bsg_reply); bsg_job 2253 drivers/scsi/qla2xxx/qla_mr.c bsg_job->reply_len = sizeof(struct fc_bsg_reply) + bsg_job 2265 drivers/scsi/qla2xxx/qla_mr.c bsg_job->reply_payload.payload_len; bsg_job 3251 drivers/scsi/qla2xxx/qla_mr.c struct bsg_job *bsg_job; bsg_job 3297 drivers/scsi/qla2xxx/qla_mr.c bsg_job = sp->u.bsg_job; bsg_job 3298 drivers/scsi/qla2xxx/qla_mr.c bsg_request = bsg_job->request; bsg_job 3320 drivers/scsi/qla2xxx/qla_mr.c cpu_to_le16(bsg_job->request_payload.sg_cnt); bsg_job 3322 drivers/scsi/qla2xxx/qla_mr.c bsg_job->request_payload.sg_cnt; bsg_job 3325 drivers/scsi/qla2xxx/qla_mr.c for_each_sg(bsg_job->request_payload.sg_list, sg, bsg_job 3376 drivers/scsi/qla2xxx/qla_mr.c cpu_to_le16(bsg_job->reply_payload.sg_cnt); bsg_job 3377 drivers/scsi/qla2xxx/qla_mr.c tot_dsds = bsg_job->reply_payload.sg_cnt; bsg_job 3381 drivers/scsi/qla2xxx/qla_mr.c for_each_sg(bsg_job->reply_payload.sg_list, sg, bsg_job 13 drivers/scsi/qla4xxx/ql4_bsg.c qla4xxx_read_flash(struct bsg_job *bsg_job) bsg_job 15 drivers/scsi/qla4xxx/ql4_bsg.c struct Scsi_Host *host = iscsi_job_to_shost(bsg_job); bsg_job 17 drivers/scsi/qla4xxx/ql4_bsg.c struct iscsi_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 18 drivers/scsi/qla4xxx/ql4_bsg.c struct iscsi_bsg_request *bsg_req = bsg_job->request; bsg_job 45 drivers/scsi/qla4xxx/ql4_bsg.c length = bsg_job->reply_payload.payload_len; bsg_job 63 drivers/scsi/qla4xxx/ql4_bsg.c sg_copy_from_buffer(bsg_job->reply_payload.sg_list, bsg_job 64 drivers/scsi/qla4xxx/ql4_bsg.c bsg_job->reply_payload.sg_cnt, bsg_job 69 drivers/scsi/qla4xxx/ql4_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 78 drivers/scsi/qla4xxx/ql4_bsg.c qla4xxx_update_flash(struct bsg_job *bsg_job) bsg_job 80 drivers/scsi/qla4xxx/ql4_bsg.c struct Scsi_Host *host = iscsi_job_to_shost(bsg_job); bsg_job 82 drivers/scsi/qla4xxx/ql4_bsg.c struct iscsi_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 83 drivers/scsi/qla4xxx/ql4_bsg.c struct iscsi_bsg_request *bsg_req = bsg_job->request; bsg_job 110 drivers/scsi/qla4xxx/ql4_bsg.c length = bsg_job->request_payload.payload_len; bsg_job 123 drivers/scsi/qla4xxx/ql4_bsg.c sg_copy_to_buffer(bsg_job->request_payload.sg_list, bsg_job 124 drivers/scsi/qla4xxx/ql4_bsg.c bsg_job->request_payload.sg_cnt, flash, length); bsg_job 134 drivers/scsi/qla4xxx/ql4_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 143 drivers/scsi/qla4xxx/ql4_bsg.c qla4xxx_get_acb_state(struct bsg_job *bsg_job) bsg_job 145 drivers/scsi/qla4xxx/ql4_bsg.c struct Scsi_Host *host = iscsi_job_to_shost(bsg_job); bsg_job 147 drivers/scsi/qla4xxx/ql4_bsg.c struct iscsi_bsg_request *bsg_req = bsg_job->request; bsg_job 148 drivers/scsi/qla4xxx/ql4_bsg.c struct iscsi_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 169 drivers/scsi/qla4xxx/ql4_bsg.c if (bsg_job->reply_payload.payload_len < sizeof(status)) { bsg_job 171 drivers/scsi/qla4xxx/ql4_bsg.c __func__, bsg_job->reply_payload.payload_len); bsg_job 187 drivers/scsi/qla4xxx/ql4_bsg.c sg_copy_from_buffer(bsg_job->reply_payload.sg_list, bsg_job 188 drivers/scsi/qla4xxx/ql4_bsg.c bsg_job->reply_payload.sg_cnt, bsg_job 193 drivers/scsi/qla4xxx/ql4_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 200 drivers/scsi/qla4xxx/ql4_bsg.c qla4xxx_read_nvram(struct bsg_job *bsg_job) bsg_job 202 drivers/scsi/qla4xxx/ql4_bsg.c struct Scsi_Host *host = iscsi_job_to_shost(bsg_job); bsg_job 204 drivers/scsi/qla4xxx/ql4_bsg.c struct iscsi_bsg_request *bsg_req = bsg_job->request; bsg_job 205 drivers/scsi/qla4xxx/ql4_bsg.c struct iscsi_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 229 drivers/scsi/qla4xxx/ql4_bsg.c len = bsg_job->reply_payload.payload_len; bsg_job 258 drivers/scsi/qla4xxx/ql4_bsg.c sg_copy_from_buffer(bsg_job->reply_payload.sg_list, bsg_job 259 drivers/scsi/qla4xxx/ql4_bsg.c bsg_job->reply_payload.sg_cnt, bsg_job 264 drivers/scsi/qla4xxx/ql4_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 272 drivers/scsi/qla4xxx/ql4_bsg.c qla4xxx_update_nvram(struct bsg_job *bsg_job) bsg_job 274 drivers/scsi/qla4xxx/ql4_bsg.c struct Scsi_Host *host = iscsi_job_to_shost(bsg_job); bsg_job 276 drivers/scsi/qla4xxx/ql4_bsg.c struct iscsi_bsg_request *bsg_req = bsg_job->request; bsg_job 277 drivers/scsi/qla4xxx/ql4_bsg.c struct iscsi_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 300 drivers/scsi/qla4xxx/ql4_bsg.c len = bsg_job->request_payload.payload_len; bsg_job 322 drivers/scsi/qla4xxx/ql4_bsg.c sg_copy_to_buffer(bsg_job->request_payload.sg_list, bsg_job 323 drivers/scsi/qla4xxx/ql4_bsg.c bsg_job->request_payload.sg_cnt, nvram, len); bsg_job 333 drivers/scsi/qla4xxx/ql4_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 341 drivers/scsi/qla4xxx/ql4_bsg.c qla4xxx_restore_defaults(struct bsg_job *bsg_job) bsg_job 343 drivers/scsi/qla4xxx/ql4_bsg.c struct Scsi_Host *host = iscsi_job_to_shost(bsg_job); bsg_job 345 drivers/scsi/qla4xxx/ql4_bsg.c struct iscsi_bsg_request *bsg_req = bsg_job->request; bsg_job 346 drivers/scsi/qla4xxx/ql4_bsg.c struct iscsi_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 378 drivers/scsi/qla4xxx/ql4_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 385 drivers/scsi/qla4xxx/ql4_bsg.c qla4xxx_bsg_get_acb(struct bsg_job *bsg_job) bsg_job 387 drivers/scsi/qla4xxx/ql4_bsg.c struct Scsi_Host *host = iscsi_job_to_shost(bsg_job); bsg_job 389 drivers/scsi/qla4xxx/ql4_bsg.c struct iscsi_bsg_request *bsg_req = bsg_job->request; bsg_job 390 drivers/scsi/qla4xxx/ql4_bsg.c struct iscsi_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 413 drivers/scsi/qla4xxx/ql4_bsg.c len = bsg_job->reply_payload.payload_len; bsg_job 436 drivers/scsi/qla4xxx/ql4_bsg.c sg_copy_from_buffer(bsg_job->reply_payload.sg_list, bsg_job 437 drivers/scsi/qla4xxx/ql4_bsg.c bsg_job->reply_payload.sg_cnt, bsg_job 442 drivers/scsi/qla4xxx/ql4_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 449 drivers/scsi/qla4xxx/ql4_bsg.c static void ql4xxx_execute_diag_cmd(struct bsg_job *bsg_job) bsg_job 451 drivers/scsi/qla4xxx/ql4_bsg.c struct Scsi_Host *host = iscsi_job_to_shost(bsg_job); bsg_job 453 drivers/scsi/qla4xxx/ql4_bsg.c struct iscsi_bsg_request *bsg_req = bsg_job->request; bsg_job 454 drivers/scsi/qla4xxx/ql4_bsg.c struct iscsi_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 494 drivers/scsi/qla4xxx/ql4_bsg.c bsg_job->reply_len = sizeof(struct iscsi_bsg_reply) + sizeof(mbox_sts); bsg_job 503 drivers/scsi/qla4xxx/ql4_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 653 drivers/scsi/qla4xxx/ql4_bsg.c static void qla4xxx_execute_diag_loopback_cmd(struct bsg_job *bsg_job) bsg_job 655 drivers/scsi/qla4xxx/ql4_bsg.c struct Scsi_Host *host = iscsi_job_to_shost(bsg_job); bsg_job 657 drivers/scsi/qla4xxx/ql4_bsg.c struct iscsi_bsg_request *bsg_req = bsg_job->request; bsg_job 658 drivers/scsi/qla4xxx/ql4_bsg.c struct iscsi_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 722 drivers/scsi/qla4xxx/ql4_bsg.c bsg_job->reply_len = sizeof(struct iscsi_bsg_reply) + sizeof(mbox_sts); bsg_job 749 drivers/scsi/qla4xxx/ql4_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 753 drivers/scsi/qla4xxx/ql4_bsg.c static int qla4xxx_execute_diag_test(struct bsg_job *bsg_job) bsg_job 755 drivers/scsi/qla4xxx/ql4_bsg.c struct Scsi_Host *host = iscsi_job_to_shost(bsg_job); bsg_job 757 drivers/scsi/qla4xxx/ql4_bsg.c struct iscsi_bsg_request *bsg_req = bsg_job->request; bsg_job 775 drivers/scsi/qla4xxx/ql4_bsg.c ql4xxx_execute_diag_cmd(bsg_job); bsg_job 784 drivers/scsi/qla4xxx/ql4_bsg.c qla4xxx_execute_diag_loopback_cmd(bsg_job); bsg_job 796 drivers/scsi/qla4xxx/ql4_bsg.c ql4xxx_execute_diag_cmd(bsg_job); bsg_job 810 drivers/scsi/qla4xxx/ql4_bsg.c int qla4xxx_process_vendor_specific(struct bsg_job *bsg_job) bsg_job 812 drivers/scsi/qla4xxx/ql4_bsg.c struct iscsi_bsg_reply *bsg_reply = bsg_job->reply; bsg_job 813 drivers/scsi/qla4xxx/ql4_bsg.c struct iscsi_bsg_request *bsg_req = bsg_job->request; bsg_job 814 drivers/scsi/qla4xxx/ql4_bsg.c struct Scsi_Host *host = iscsi_job_to_shost(bsg_job); bsg_job 819 drivers/scsi/qla4xxx/ql4_bsg.c return qla4xxx_read_flash(bsg_job); bsg_job 822 drivers/scsi/qla4xxx/ql4_bsg.c return qla4xxx_update_flash(bsg_job); bsg_job 825 drivers/scsi/qla4xxx/ql4_bsg.c return qla4xxx_get_acb_state(bsg_job); bsg_job 828 drivers/scsi/qla4xxx/ql4_bsg.c return qla4xxx_read_nvram(bsg_job); bsg_job 831 drivers/scsi/qla4xxx/ql4_bsg.c return qla4xxx_update_nvram(bsg_job); bsg_job 834 drivers/scsi/qla4xxx/ql4_bsg.c return qla4xxx_restore_defaults(bsg_job); bsg_job 837 drivers/scsi/qla4xxx/ql4_bsg.c return qla4xxx_bsg_get_acb(bsg_job); bsg_job 840 drivers/scsi/qla4xxx/ql4_bsg.c return qla4xxx_execute_diag_test(bsg_job); bsg_job 847 drivers/scsi/qla4xxx/ql4_bsg.c bsg_job_done(bsg_job, bsg_reply->result, bsg_job 857 drivers/scsi/qla4xxx/ql4_bsg.c int qla4xxx_bsg_request(struct bsg_job *bsg_job) bsg_job 859 drivers/scsi/qla4xxx/ql4_bsg.c struct iscsi_bsg_request *bsg_req = bsg_job->request; bsg_job 860 drivers/scsi/qla4xxx/ql4_bsg.c struct Scsi_Host *host = iscsi_job_to_shost(bsg_job); bsg_job 865 drivers/scsi/qla4xxx/ql4_bsg.c return qla4xxx_process_vendor_specific(bsg_job); bsg_job 200 drivers/scsi/qla4xxx/ql4_glbl.h int qla4xxx_bsg_request(struct bsg_job *bsg_job); bsg_job 201 drivers/scsi/qla4xxx/ql4_glbl.h int qla4xxx_process_vendor_specific(struct bsg_job *bsg_job); bsg_job 3557 drivers/scsi/scsi_transport_fc.c struct bsg_job *job = blk_mq_rq_to_pdu(req); bsg_job 3590 drivers/scsi/scsi_transport_fc.c static int fc_bsg_host_dispatch(struct Scsi_Host *shost, struct bsg_job *job) bsg_job 3683 drivers/scsi/scsi_transport_fc.c static int fc_bsg_rport_dispatch(struct Scsi_Host *shost, struct bsg_job *job) bsg_job 3733 drivers/scsi/scsi_transport_fc.c static int fc_bsg_dispatch(struct bsg_job *job) bsg_job 3756 drivers/scsi/scsi_transport_fc.c static int fc_bsg_dispatch_prep(struct bsg_job *job) bsg_job 1484 drivers/scsi/scsi_transport_iscsi.c static int iscsi_bsg_host_dispatch(struct bsg_job *job) bsg_job 172 drivers/scsi/scsi_transport_sas.c static int sas_smp_dispatch(struct bsg_job *job) bsg_job 1432 drivers/scsi/smartpqi/smartpqi.h void pqi_sas_smp_handler(struct bsg_job *job, struct Scsi_Host *shost, bsg_job 451 drivers/scsi/smartpqi/smartpqi_sas_transport.c struct bsg_job *job) bsg_job 496 drivers/scsi/smartpqi/smartpqi_sas_transport.c struct bmic_csmi_smp_passthru_buffer *smp_buf, struct bsg_job *job, bsg_job 511 drivers/scsi/smartpqi/smartpqi_sas_transport.c void pqi_sas_smp_handler(struct bsg_job *job, struct Scsi_Host *shost, bsg_job 43 drivers/scsi/ufs/ufs_bsg.c static int ufs_bsg_alloc_desc_buffer(struct ufs_hba *hba, struct bsg_job *job, bsg_job 81 drivers/scsi/ufs/ufs_bsg.c static int ufs_bsg_request(struct bsg_job *job) bsg_job 39 include/linux/blkdev.h struct bsg_job; bsg_job 20 include/linux/bsg-lib.h typedef int (bsg_job_fn) (struct bsg_job *); bsg_job 29 include/linux/bsg-lib.h struct bsg_job { bsg_job 65 include/linux/bsg-lib.h void bsg_job_done(struct bsg_job *job, int result, bsg_job 70 include/linux/bsg-lib.h void bsg_job_put(struct bsg_job *job); bsg_job 71 include/linux/bsg-lib.h int __must_check bsg_job_get(struct bsg_job *job); bsg_job 904 include/scsi/libfc.h int fc_lport_bsg_request(struct bsg_job *); bsg_job 651 include/scsi/scsi_transport_fc.h int (*bsg_request)(struct bsg_job *); bsg_job 652 include/scsi/scsi_transport_fc.h int (*bsg_timeout)(struct bsg_job *); bsg_job 806 include/scsi/scsi_transport_fc.h static inline struct Scsi_Host *fc_bsg_to_shost(struct bsg_job *job) bsg_job 813 include/scsi/scsi_transport_fc.h static inline struct fc_rport *fc_bsg_to_rport(struct bsg_job *job) bsg_job 28 include/scsi/scsi_transport_iscsi.h struct bsg_job; bsg_job 135 include/scsi/scsi_transport_iscsi.h int (*bsg_request)(struct bsg_job *job); bsg_job 182 include/scsi/scsi_transport_sas.h void (*smp_handler)(struct bsg_job *, struct Scsi_Host *,