Lines Matching refs:ct_els

268 	struct zfcp_fsf_ct_els *ct_els = &fc_req->ct_els;  in zfcp_fc_ns_gid_pn_eval()  local
271 if (ct_els->status) in zfcp_fc_ns_gid_pn_eval()
277 ct_els->port->d_id = ntoh24(gid_pn_rsp->gid_pn.fp_fid); in zfcp_fc_ns_gid_pn_eval()
304 fc_req->ct_els.port = port; in zfcp_fc_ns_gid_pn_request()
305 fc_req->ct_els.handler = zfcp_fc_complete; in zfcp_fc_ns_gid_pn_request()
306 fc_req->ct_els.handler_data = &completion; in zfcp_fc_ns_gid_pn_request()
307 fc_req->ct_els.req = &fc_req->sg_req; in zfcp_fc_ns_gid_pn_request()
308 fc_req->ct_els.resp = &fc_req->sg_rsp; in zfcp_fc_ns_gid_pn_request()
316 ret = zfcp_fsf_send_ct(&adapter->gs->ds, &fc_req->ct_els, in zfcp_fc_ns_gid_pn_request()
424 struct zfcp_port *port = fc_req->ct_els.port; in zfcp_fc_adisc_handler()
427 if (fc_req->ct_els.status) { in zfcp_fc_adisc_handler()
463 fc_req->ct_els.port = port; in zfcp_fc_adisc()
464 fc_req->ct_els.req = &fc_req->sg_req; in zfcp_fc_adisc()
465 fc_req->ct_els.resp = &fc_req->sg_rsp; in zfcp_fc_adisc()
471 fc_req->ct_els.handler = zfcp_fc_adisc_handler; in zfcp_fc_adisc()
472 fc_req->ct_els.handler_data = fc_req; in zfcp_fc_adisc()
481 ret = zfcp_fsf_send_els(adapter, port->d_id, &fc_req->ct_els, in zfcp_fc_adisc()
554 struct zfcp_fsf_ct_els *ct_els = &fc_req->ct_els; in zfcp_fc_send_gpn_ft() local
562 ct_els->handler = zfcp_fc_complete; in zfcp_fc_send_gpn_ft()
563 ct_els->handler_data = &completion; in zfcp_fc_send_gpn_ft()
564 ct_els->req = &fc_req->sg_req; in zfcp_fc_send_gpn_ft()
565 ct_els->resp = &fc_req->sg_rsp; in zfcp_fc_send_gpn_ft()
567 ret = zfcp_fsf_send_ct(&adapter->gs->ds, ct_els, NULL, in zfcp_fc_send_gpn_ft()
591 struct zfcp_fsf_ct_els *ct_els = &fc_req->ct_els; in zfcp_fc_eval_gpn_ft() local
601 if (ct_els->status) in zfcp_fc_eval_gpn_ft()
705 struct zfcp_fsf_ct_els *ct_els = &fc_req->ct_els; in zfcp_fc_gspn() local
717 ct_els->handler = zfcp_fc_complete; in zfcp_fc_gspn()
718 ct_els->handler_data = &completion; in zfcp_fc_gspn()
719 ct_els->req = &fc_req->sg_req; in zfcp_fc_gspn()
720 ct_els->resp = &fc_req->sg_rsp; in zfcp_fc_gspn()
722 ret = zfcp_fsf_send_ct(&adapter->gs->ds, ct_els, NULL, in zfcp_fc_gspn()
728 if (ct_els->status) in zfcp_fc_gspn()
729 return ct_els->status; in zfcp_fc_gspn()
750 struct zfcp_fsf_ct_els *ct_els = &fc_req->ct_els; in zfcp_fc_rspn() local
765 ct_els->handler = zfcp_fc_complete; in zfcp_fc_rspn()
766 ct_els->handler_data = &completion; in zfcp_fc_rspn()
767 ct_els->req = &fc_req->sg_req; in zfcp_fc_rspn()
768 ct_els->resp = &fc_req->sg_rsp; in zfcp_fc_rspn()
770 ret = zfcp_fsf_send_ct(&adapter->gs->ds, ct_els, NULL, in zfcp_fc_rspn()
918 struct zfcp_fsf_ct_els *ct_els = job->dd_data; in zfcp_fc_exec_bsg_job() local
926 ct_els->req = job->request_payload.sg_list; in zfcp_fc_exec_bsg_job()
927 ct_els->resp = job->reply_payload.sg_list; in zfcp_fc_exec_bsg_job()
928 ct_els->handler_data = job; in zfcp_fc_exec_bsg_job()