Lines Matching refs:fh
446 struct fc_frame_header *fh; in fc_fcp_recv_data() local
457 fh = fc_frame_header_get(fp); in fc_fcp_recv_data()
458 offset = ntohl(fh->fh_parm_offset); in fc_fcp_recv_data()
460 len = fr_len(fp) - sizeof(*fh); in fc_fcp_recv_data()
498 crc = crc32(~0, (u8 *) fh, sizeof(*fh)); in fc_fcp_recv_data()
710 struct fc_frame_header *fh; in fc_fcp_abts_resp() local
712 fh = fc_frame_header_get(fp); in fc_fcp_abts_resp()
713 switch (fh->fh_r_ctl) { in fc_fcp_abts_resp()
754 struct fc_frame_header *fh; in fc_fcp_recv() local
764 fh = fc_frame_header_get(fp); in fc_fcp_recv()
765 r_ctl = fh->fh_r_ctl; in fc_fcp_recv()
772 if (fh->fh_type == FC_TYPE_BLS) { in fc_fcp_recv()
799 WARN_ON(fr_len(fp) < sizeof(*fh)); /* len may be 0 */ in fc_fcp_recv()
822 struct fc_frame_header *fh; in fc_fcp_resp() local
833 fh = (struct fc_frame_header *)fr_hdr(fp); in fc_fcp_resp()
834 if (unlikely(plen < sizeof(*fh) + sizeof(*fc_rp))) in fc_fcp_resp()
836 plen -= sizeof(*fh); in fc_fcp_resp()
837 fc_rp = (struct fcp_resp *)(fh + 1); in fc_fcp_resp()
1333 struct fc_frame_header *fh; in fc_tm_done() local
1354 fh = fc_frame_header_get(fp); in fc_tm_done()
1355 if (fh->fh_type != FC_TYPE_BLS) in fc_tm_done()
1721 struct fc_frame_header *fh; in fc_fcp_srr_resp() local
1731 fh = fc_frame_header_get(fp); in fc_fcp_srr_resp()
1739 if (fh->fh_type == FC_TYPE_BLS) { in fc_fcp_srr_resp()