Lines Matching refs:adisc
483 fc_adisc_x_build(struct fchs_s *fchs, struct fc_adisc_s *adisc, u32 d_id, in fc_adisc_x_build() argument
487 memset(adisc, '\0', sizeof(struct fc_adisc_s)); in fc_adisc_x_build()
489 adisc->els_cmd.els_code = els_code; in fc_adisc_x_build()
496 adisc->orig_HA = 0; in fc_adisc_x_build()
497 adisc->orig_port_name = port_name; in fc_adisc_x_build()
498 adisc->orig_node_name = node_name; in fc_adisc_x_build()
499 adisc->nport_id = (s_id); in fc_adisc_x_build()
505 fc_adisc_build(struct fchs_s *fchs, struct fc_adisc_s *adisc, u32 d_id, in fc_adisc_build() argument
508 return fc_adisc_x_build(fchs, adisc, d_id, s_id, ox_id, port_name, in fc_adisc_build()
513 fc_adisc_acc_build(struct fchs_s *fchs, struct fc_adisc_s *adisc, u32 d_id, in fc_adisc_acc_build() argument
517 return fc_adisc_x_build(fchs, adisc, d_id, s_id, ox_id, port_name, in fc_adisc_acc_build()
522 fc_adisc_rsp_parse(struct fc_adisc_s *adisc, int len, wwn_t port_name, in fc_adisc_rsp_parse() argument
529 if (adisc->els_cmd.els_code != FC_ELS_ACC) in fc_adisc_rsp_parse()
532 if (!wwn_is_equal(adisc->orig_port_name, port_name)) in fc_adisc_rsp_parse()
542 struct fc_adisc_s *adisc = (struct fc_adisc_s *) pld; in fc_adisc_parse() local
544 if (adisc->els_cmd.els_code != FC_ELS_ACC) in fc_adisc_parse()
547 if ((adisc->nport_id == (host_dap)) in fc_adisc_parse()
548 && wwn_is_equal(adisc->orig_port_name, port_name) in fc_adisc_parse()
549 && wwn_is_equal(adisc->orig_node_name, node_name)) in fc_adisc_parse()