Lines Matching refs:fc_logi_s
29 static struct fc_logi_s plogi_tmpl;
199 struct fc_logi_s *plogi = (struct fc_logi_s *) (pld); in fc_plogi_x_build()
201 memcpy(plogi, &plogi_tmpl, sizeof(struct fc_logi_s)); in fc_plogi_x_build()
219 return sizeof(struct fc_logi_s); in fc_plogi_x_build()
223 fc_flogi_build(struct fchs_s *fchs, struct fc_logi_s *flogi, u32 s_id, in fc_flogi_build()
230 memcpy(flogi, &plogi_tmpl, sizeof(struct fc_logi_s)); in fc_flogi_build()
257 return sizeof(struct fc_logi_s); in fc_flogi_build()
261 fc_flogi_acc_build(struct fchs_s *fchs, struct fc_logi_s *flogi, u32 s_id, in fc_flogi_acc_build()
268 memcpy(flogi, &plogi_tmpl, sizeof(struct fc_logi_s)); in fc_flogi_acc_build()
279 return sizeof(struct fc_logi_s); in fc_flogi_acc_build()
283 fc_fdisc_build(struct fchs_s *fchs, struct fc_logi_s *flogi, u32 s_id, in fc_fdisc_build()
288 memcpy(flogi, &plogi_tmpl, sizeof(struct fc_logi_s)); in fc_fdisc_build()
297 return sizeof(struct fc_logi_s); in fc_fdisc_build()
322 struct fc_logi_s *plogi; in fc_plogi_rsp_parse()
333 plogi = (struct fc_logi_s *) (fchs + 1); in fc_plogi_rsp_parse()
334 if (len < sizeof(struct fc_logi_s)) in fc_plogi_rsp_parse()
355 struct fc_logi_s *plogi = (struct fc_logi_s *) (fchs + 1); in fc_plogi_parse()
529 struct fc_logi_s *pdisc = (struct fc_logi_s *) (fchs + 1); in fc_pdisc_parse()
808 struct fc_logi_s *pdisc = (struct fc_logi_s *) (fchs + 1); in fc_pdisc_build()
810 memcpy(pdisc, &plogi_tmpl, sizeof(struct fc_logi_s)); in fc_pdisc_build()
819 return sizeof(struct fc_logi_s); in fc_pdisc_build()
825 struct fc_logi_s *pdisc = (struct fc_logi_s *) (fchs + 1); in fc_pdisc_rsp_parse()
827 if (len < sizeof(struct fc_logi_s)) in fc_pdisc_rsp_parse()