/drivers/md/ |
H A D | dm-kcopyd.c | 212 * Error state of the job. 232 * Set this to ensure you are notified when the job has 239 * These fields are only used if the job has been split 272 * Functions to push and pop a job onto the head of a given job 278 struct kcopyd_job *job = NULL; local 284 job = list_entry(jobs->next, struct kcopyd_job, list); 285 list_del(&job->list); 289 return job; 292 static void push(struct list_head *jobs, struct kcopyd_job *job) argument 303 push_head(struct list_head *jobs, struct kcopyd_job *job) argument 322 run_complete_job(struct kcopyd_job *job) argument 348 struct kcopyd_job *job = (struct kcopyd_job *) context; local 379 run_io_job(struct kcopyd_job *job) argument 400 run_pages_job(struct kcopyd_job *job) argument 426 struct kcopyd_job *job; local 486 dispatch_job(struct kcopyd_job *job) argument 506 struct kcopyd_job *job = sub_job->master_job; local 587 struct kcopyd_job *job; local 644 struct kcopyd_job *job; local 662 struct kcopyd_job *job = j; local [all...] |
/drivers/s390/scsi/ |
H A D | zfcp_fc.c | 821 struct fc_bsg_job *job = data; local 822 struct zfcp_fsf_ct_els *zfcp_ct_els = job->dd_data; 823 struct fc_bsg_reply *jr = job->reply; 825 jr->reply_payload_rcv_len = job->reply_payload.payload_len; 828 job->job_done(job); 831 static struct zfcp_fc_wka_port *zfcp_fc_job_wka_port(struct fc_bsg_job *job) argument 837 preamble_word1 = job->request->rqst_data.r_ct.preamble_word1; 840 adapter = (struct zfcp_adapter *) job->shost->hostdata[0]; 860 struct fc_bsg_job *job local 869 zfcp_fc_exec_els_job(struct fc_bsg_job *job, struct zfcp_adapter *adapter) argument 891 zfcp_fc_exec_ct_job(struct fc_bsg_job *job, struct zfcp_adapter *adapter) argument 914 zfcp_fc_exec_bsg_job(struct fc_bsg_job *job) argument 942 zfcp_fc_timeout_bsg_job(struct fc_bsg_job *job) argument [all...] |
/drivers/scsi/libfc/ |
H A D | fc_lport.c | 137 * @job: The passthrough job 140 * @sg: job->reply_payload.sg_list 141 * @nents: job->reply_payload.sg_cnt 145 struct fc_bsg_job *job; member in struct:fc_bsg_info 1666 struct fc_bsg_job *job = info->job; local 1673 job->reply->result = (PTR_ERR(fp) == -FC_EX_CLOSED) ? 1675 job->reply_len = sizeof(uint32_t); 1676 job 1728 fc_lport_els_request(struct fc_bsg_job *job, struct fc_lport *lport, u32 did, u32 tov) argument 1789 fc_lport_ct_request(struct fc_bsg_job *job, struct fc_lport *lport, u32 did, u32 tov) argument 1845 fc_lport_bsg_request(struct fc_bsg_job *job) argument [all...] |
/drivers/scsi/bfa/ |
H A D | bfad_bsg.c | 2806 bfad_im_bsg_vendor_request(struct fc_bsg_job *job) argument 2808 uint32_t vendor_cmd = job->request->rqst_data.h_vendor.vendor_cmd[0]; 2810 (struct bfad_im_port_s *) job->shost->hostdata[0]; 2816 payload_kbuf = kzalloc(job->request_payload.payload_len, GFP_KERNEL); 2823 sg_copy_to_buffer(job->request_payload.sg_list, 2824 job->request_payload.sg_cnt, payload_kbuf, 2825 job->request_payload.payload_len); 2829 job->request_payload.payload_len); 2833 /* Copy the response data to the job->reply_payload sg_list */ 2834 sg_copy_from_buffer(job 2981 bfad_fcxp_bsg_send(struct fc_bsg_job *job, struct bfad_fcxp *drv_fcxp, bfa_bsg_fcpt_t *bsg_fcpt) argument 3021 bfad_im_bsg_els_ct_request(struct fc_bsg_job *job) argument 3223 bfad_im_bsg_request(struct fc_bsg_job *job) argument 3249 bfad_im_bsg_timeout(struct fc_bsg_job *job) argument [all...] |
/drivers/scsi/lpfc/ |
H A D | lpfc_bsg.c | 67 /* job waiting for this event to finish */ 77 /* job waiting for this iocb to finish */ 90 /* job waiting for this mbox command to finish */ 101 /* job waiting for this iocb to finish */ 167 struct fc_bsg_job *job; local 184 job = iocb->set_job; 185 job->dd_data = NULL; /* so timeout handler does not reply */ 191 pci_unmap_sg(phba->pcidev, job->request_payload.sg_list, 192 job->request_payload.sg_cnt, DMA_TO_DEVICE); 193 pci_unmap_sg(phba->pcidev, job 233 lpfc_bsg_send_mgmt_cmd(struct fc_bsg_job *job) argument 418 struct fc_bsg_job *job; local 490 lpfc_bsg_rport_els(struct fc_bsg_job *job) argument 788 struct fc_bsg_job *job = NULL; local 1016 lpfc_bsg_hba_set_event(struct fc_bsg_job *job) argument 1099 lpfc_bsg_hba_get_event(struct fc_bsg_job *job) argument 1208 struct fc_bsg_job *job; local 1273 lpfc_issue_ct_rsp(struct lpfc_hba *phba, struct fc_bsg_job *job, uint32_t tag, struct lpfc_dmabuf *bmp, int num_entry) argument 1405 lpfc_bsg_send_mgmt_rsp(struct fc_bsg_job *job) argument 1567 lpfc_sli3_bsg_diag_loopback_mode(struct lpfc_hba *phba, struct fc_bsg_job *job) argument 1820 lpfc_sli4_bsg_diag_loopback_mode(struct lpfc_hba *phba, struct fc_bsg_job *job) argument 1971 lpfc_bsg_diag_loopback_mode(struct fc_bsg_job *job) argument 2007 lpfc_sli4_bsg_diag_mode_end(struct fc_bsg_job *job) argument 2084 lpfc_sli4_bsg_link_diag_test(struct fc_bsg_job *job) argument 2787 lpfc_bsg_diag_loopback_run(struct fc_bsg_job *job) argument 3088 lpfc_bsg_get_dfc_rev(struct fc_bsg_job *job) argument 3144 struct fc_bsg_job *job; local 3324 struct fc_bsg_job *job; local 3415 struct fc_bsg_job *job; local 3452 struct fc_bsg_job *job; local 3580 lpfc_bsg_sli_cfg_read_cmd_ext(struct lpfc_hba *phba, struct fc_bsg_job *job, enum nemb_type nemb_tp, struct lpfc_dmabuf *dmabuf) argument 3767 lpfc_bsg_sli_cfg_write_cmd_ext(struct lpfc_hba *phba, struct fc_bsg_job *job, enum nemb_type nemb_tp, struct lpfc_dmabuf *dmabuf) argument 3930 lpfc_bsg_handle_sli_cfg_mbox(struct lpfc_hba *phba, struct fc_bsg_job *job, struct lpfc_dmabuf *dmabuf) argument 4074 lpfc_bsg_read_ebuf_get(struct lpfc_hba *phba, struct fc_bsg_job *job) argument 4142 lpfc_bsg_write_ebuf_set(struct lpfc_hba *phba, struct fc_bsg_job *job, struct lpfc_dmabuf *dmabuf) argument 4267 lpfc_bsg_handle_sli_cfg_ebuf(struct lpfc_hba *phba, struct fc_bsg_job *job, struct lpfc_dmabuf *dmabuf) argument 4312 lpfc_bsg_handle_sli_cfg_ext(struct lpfc_hba *phba, struct fc_bsg_job *job, struct lpfc_dmabuf *dmabuf) argument 4389 lpfc_bsg_issue_mbox(struct lpfc_hba *phba, struct fc_bsg_job *job, struct lpfc_vport *vport) argument 4679 lpfc_bsg_mbox_cmd(struct fc_bsg_job *job) argument 4745 struct fc_bsg_job *job; local 4829 lpfc_menlo_cmd(struct fc_bsg_job *job) argument 5019 lpfc_bsg_hst_vendor(struct fc_bsg_job *job) argument 5072 lpfc_bsg_request(struct fc_bsg_job *job) argument 5107 lpfc_bsg_timeout(struct fc_bsg_job *job) argument [all...] |
/drivers/scsi/ |
H A D | scsi_transport_iscsi.c | 467 * @job: bsg job to be processed 469 static int iscsi_bsg_host_dispatch(struct bsg_job *job) argument 471 struct Scsi_Host *shost = iscsi_job_to_shost(job); 472 struct iscsi_bsg_request *req = job->request; 473 struct iscsi_bsg_reply *reply = job->reply; 479 if (job->request_len < sizeof(uint32_t)) { 501 if (job->request_len < cmdlen) { 506 ret = i->iscsi_transport->bsg_request(job); 512 BUG_ON(job [all...] |
H A D | scsi_transport_fc.c | 3520 * fc_destroy_bsgjob - routine to teardown/delete a fc bsg job 3521 * @job: fc_bsg_job that is to be torn down 3524 fc_destroy_bsgjob(struct fc_bsg_job *job) argument 3528 spin_lock_irqsave(&job->job_lock, flags); 3529 if (job->ref_cnt) { 3530 spin_unlock_irqrestore(&job->job_lock, flags); 3533 spin_unlock_irqrestore(&job->job_lock, flags); 3535 put_device(job->dev); /* release reference for the request */ 3537 kfree(job->request_payload.sg_list); 3538 kfree(job 3548 fc_bsg_jobdone(struct fc_bsg_job *job) argument 3581 struct fc_bsg_job *job = rq->special; local 3600 struct fc_bsg_job *job = (void *) req->special; local 3664 struct fc_bsg_job *job; local 3739 fc_bsg_host_dispatch(struct request_queue *q, struct Scsi_Host *shost, struct fc_bsg_job *job) argument 3838 fc_bsg_rport_dispatch(struct request_queue *q, struct Scsi_Host *shost, struct fc_rport *rport, struct fc_bsg_job *job) argument 3899 struct fc_bsg_job *job; local [all...] |
/drivers/scsi/ibmvscsi/ |
H A D | ibmvfc.c | 1707 * @job: struct fc_bsg_job that timed out 1712 static int ibmvfc_bsg_timeout(struct fc_bsg_job *job) argument 1714 struct ibmvfc_host *vhost = shost_priv(job->shost); 1715 unsigned long port_id = (unsigned long)job->dd_data; 1820 * @job: struct fc_bsg_job to be executed 1825 static int ibmvfc_bsg_request(struct fc_bsg_job *job) argument 1827 struct ibmvfc_host *vhost = shost_priv(job->shost); 1828 struct fc_rport *rport = job->rport; 1833 unsigned int code = job->request->msgcode; 1838 job [all...] |