Lines Matching refs:fp
166 void fc_fill_hdr(struct fc_frame *fp, const struct fc_frame *in_fp, in fc_fill_hdr() argument
174 fh = __fc_frame_header_get(fp); in fc_fill_hdr()
178 fill = -fr_len(fp) & 3; in fc_fill_hdr()
181 memset(skb_put(fp_skb(fp), fill), 0, fill); in fc_fill_hdr()
184 fr_eof(fp) = FC_EOF_T; in fc_fill_hdr()
186 WARN_ON(fr_len(fp) % 4 != 0); /* no pad to non last frame */ in fc_fill_hdr()
187 fr_eof(fp) = FC_EOF_N; in fc_fill_hdr()
203 fr_seq(fp) = sp; in fc_fill_hdr()
210 fr_sof(fp) = seq_cnt ? FC_SOF_N3 : FC_SOF_I3; in fc_fill_hdr()
211 fr_encaps(fp) = fr_encaps(in_fp); in fc_fill_hdr()
222 void fc_fill_reply_hdr(struct fc_frame *fp, const struct fc_frame *in_fp, in fc_fill_reply_hdr() argument
229 fr_seq(fp) = fr_dev(in_fp)->tt.seq_start_next(sp); in fc_fill_reply_hdr()
230 fc_fill_hdr(fp, in_fp, r_ctl, FC_FCTL_RESP, 0, parm_offset); in fc_fill_reply_hdr()