Lines Matching refs:adisc
454 fc_adisc_x_build(struct fchs_s *fchs, struct fc_adisc_s *adisc, u32 d_id, in fc_adisc_x_build() argument
458 memset(adisc, '\0', sizeof(struct fc_adisc_s)); in fc_adisc_x_build()
460 adisc->els_cmd.els_code = els_code; in fc_adisc_x_build()
467 adisc->orig_HA = 0; in fc_adisc_x_build()
468 adisc->orig_port_name = port_name; in fc_adisc_x_build()
469 adisc->orig_node_name = node_name; in fc_adisc_x_build()
470 adisc->nport_id = (s_id); in fc_adisc_x_build()
476 fc_adisc_build(struct fchs_s *fchs, struct fc_adisc_s *adisc, u32 d_id, in fc_adisc_build() argument
479 return fc_adisc_x_build(fchs, adisc, d_id, s_id, ox_id, port_name, in fc_adisc_build()
484 fc_adisc_acc_build(struct fchs_s *fchs, struct fc_adisc_s *adisc, u32 d_id, in fc_adisc_acc_build() argument
488 return fc_adisc_x_build(fchs, adisc, d_id, s_id, ox_id, port_name, in fc_adisc_acc_build()
493 fc_adisc_rsp_parse(struct fc_adisc_s *adisc, int len, wwn_t port_name, in fc_adisc_rsp_parse() argument
500 if (adisc->els_cmd.els_code != FC_ELS_ACC) in fc_adisc_rsp_parse()
503 if (!wwn_is_equal(adisc->orig_port_name, port_name)) in fc_adisc_rsp_parse()
513 struct fc_adisc_s *adisc = (struct fc_adisc_s *) pld; in fc_adisc_parse() local
515 if (adisc->els_cmd.els_code != FC_ELS_ACC) in fc_adisc_parse()
518 if ((adisc->nport_id == (host_dap)) in fc_adisc_parse()
519 && wwn_is_equal(adisc->orig_port_name, port_name) in fc_adisc_parse()
520 && wwn_is_equal(adisc->orig_node_name, node_name)) in fc_adisc_parse()