• Home
  • Raw
  • Download

Lines Matching refs:fp

18 static void bnx2fc_logo_resp(struct fc_seq *seq, struct fc_frame *fp,
20 static void bnx2fc_flogi_resp(struct fc_seq *seq, struct fc_frame *fp,
174 int bnx2fc_send_adisc(struct bnx2fc_rport *tgt, struct fc_frame *fp) in bnx2fc_send_adisc() argument
183 fh = fc_frame_header_get(fp); in bnx2fc_send_adisc()
193 adisc = fc_frame_payload_get(fp, sizeof(*adisc)); in bnx2fc_send_adisc()
202 int bnx2fc_send_logo(struct bnx2fc_rport *tgt, struct fc_frame *fp) in bnx2fc_send_logo() argument
211 fh = fc_frame_header_get(fp); in bnx2fc_send_logo()
221 logo = fc_frame_payload_get(fp, sizeof(*logo)); in bnx2fc_send_logo()
230 int bnx2fc_send_rls(struct bnx2fc_rport *tgt, struct fc_frame *fp) in bnx2fc_send_rls() argument
239 fh = fc_frame_header_get(fp); in bnx2fc_send_rls()
248 rls = fc_frame_payload_get(fp, sizeof(*rls)); in bnx2fc_send_rls()
263 struct fc_frame *fp; in bnx2fc_srr_compl() local
330 fp = fc_frame_alloc(NULL, resp_len); in bnx2fc_srr_compl()
331 if (!fp) { in bnx2fc_srr_compl()
336 fh = (struct fc_frame_header *) fc_frame_header_get(fp); in bnx2fc_srr_compl()
340 opcode = fc_frame_payload_op(fp); in bnx2fc_srr_compl()
360 fc_frame_free(fp); in bnx2fc_srr_compl()
381 struct fc_frame *fp; in bnx2fc_rec_compl() local
455 fp = fc_frame_alloc(NULL, resp_len); in bnx2fc_rec_compl()
456 if (!fp) { in bnx2fc_rec_compl()
461 fh = (struct fc_frame_header *) fc_frame_header_get(fp); in bnx2fc_rec_compl()
465 opcode = fc_frame_payload_op(fp); in bnx2fc_rec_compl()
468 rjt = fc_frame_payload_get(fp, sizeof(*rjt)); in bnx2fc_rec_compl()
566 fc_frame_free(fp); in bnx2fc_rec_compl()
849 static void bnx2fc_flogi_resp(struct fc_seq *seq, struct fc_frame *fp, in bnx2fc_flogi_resp() argument
858 if (IS_ERR(fp)) in bnx2fc_flogi_resp()
861 mac = fr_cb(fp)->granted_mac; in bnx2fc_flogi_resp()
863 op = fc_frame_payload_op(fp); in bnx2fc_flogi_resp()
868 fc_frame_free(fp); in bnx2fc_flogi_resp()
872 fcoe_ctlr_recv_flogi(fip, lport, fp); in bnx2fc_flogi_resp()
877 fc_lport_flogi_resp(seq, fp, lport); in bnx2fc_flogi_resp()
880 static void bnx2fc_logo_resp(struct fc_seq *seq, struct fc_frame *fp, in bnx2fc_logo_resp() argument
888 if (!IS_ERR(fp)) in bnx2fc_logo_resp()
890 fc_lport_logo_resp(seq, fp, lport); in bnx2fc_logo_resp()
894 struct fc_frame *fp, unsigned int op, in bnx2fc_elsct_send() argument
903 struct fc_frame_header *fh = fc_frame_header_get(fp); in bnx2fc_elsct_send()
908 return fc_elsct_send(lport, did, fp, op, bnx2fc_flogi_resp, in bnx2fc_elsct_send()
914 return fc_elsct_send(lport, did, fp, op, bnx2fc_logo_resp, in bnx2fc_elsct_send()
917 return fc_elsct_send(lport, did, fp, op, resp, arg, timeout); in bnx2fc_elsct_send()