Lines Matching refs:fp
73 static inline void fc_fill_fc_hdr(struct fc_frame *fp, enum fc_rctl r_ctl, in fc_fill_fc_hdr() argument
79 fh = fc_frame_header_get(fp); in fc_fill_fc_hdr()
88 static inline void fc_adisc_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_adisc_fill() argument
92 adisc = fc_frame_payload_get(fp, sizeof(*adisc)); in fc_adisc_fill()
104 static inline struct fc_ct_req *fc_ct_hdr_fill(const struct fc_frame *fp, in fc_ct_hdr_fill() argument
113 ct = fc_frame_payload_get(fp, ct_plen); in fc_ct_hdr_fill()
132 u32 fc_id, struct fc_frame *fp, in fc_ct_ns_fill() argument
141 ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_gid_ft), in fc_ct_ns_fill()
147 ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_fid), in fc_ct_ns_fill()
154 ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_rft), in fc_ct_ns_fill()
161 ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_rff_id), in fc_ct_ns_fill()
172 ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_rn_id), in fc_ct_ns_fill()
180 ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_rspn) + len, in fc_ct_ns_fill()
190 ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_rsnn) + len, in fc_ct_ns_fill()
216 u32 fc_id, struct fc_frame *fp, in fc_ct_ms_fill() argument
242 ct = fc_ct_hdr_fill(fp, op, len, FC_FST_MGMT, in fc_ct_ms_fill()
388 ct = fc_ct_hdr_fill(fp, op, len, FC_FST_MGMT, in fc_ct_ms_fill()
479 ct = fc_ct_hdr_fill(fp, op, len, FC_FST_MGMT, in fc_ct_ms_fill()
487 ct = fc_ct_hdr_fill(fp, op, len, FC_FST_MGMT, in fc_ct_ms_fill()
510 u32 fc_id, struct fc_frame *fp, in fc_ct_fill() argument
518 rc = fc_ct_ms_fill(lport, fc_id, fp, op, r_ctl, fh_type); in fc_ct_fill()
523 rc = fc_ct_ns_fill(lport, fc_id, fp, op, r_ctl, fh_type); in fc_ct_fill()
533 static inline void fc_plogi_fill(struct fc_lport *lport, struct fc_frame *fp, in fc_plogi_fill() argument
540 plogi = fc_frame_payload_get(fp, sizeof(*plogi)); in fc_plogi_fill()
566 static inline void fc_flogi_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_flogi_fill() argument
572 flogi = fc_frame_payload_get(fp, sizeof(*flogi)); in fc_flogi_fill()
591 static inline void fc_fdisc_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_fdisc_fill() argument
597 fdisc = fc_frame_payload_get(fp, sizeof(*fdisc)); in fc_fdisc_fill()
614 static inline void fc_logo_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_logo_fill() argument
618 logo = fc_frame_payload_get(fp, sizeof(*logo)); in fc_logo_fill()
628 static inline void fc_rtv_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_rtv_fill() argument
632 rtv = fc_frame_payload_get(fp, sizeof(*rtv)); in fc_rtv_fill()
640 static inline void fc_rec_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_rec_fill() argument
643 struct fc_exch *ep = fc_seq_exch(fr_seq(fp)); in fc_rec_fill()
645 rec = fc_frame_payload_get(fp, sizeof(*rec)); in fc_rec_fill()
656 static inline void fc_prli_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_prli_fill() argument
663 pp = fc_frame_payload_get(fp, sizeof(*pp)); in fc_prli_fill()
676 static inline void fc_scr_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_scr_fill() argument
680 scr = fc_frame_payload_get(fp, sizeof(*scr)); in fc_scr_fill()
691 struct fc_frame *fp, unsigned int op, in fc_els_fill() argument
696 fc_adisc_fill(lport, fp); in fc_els_fill()
700 fc_plogi_fill(lport, fp, ELS_PLOGI); in fc_els_fill()
704 fc_flogi_fill(lport, fp); in fc_els_fill()
708 fc_fdisc_fill(lport, fp); in fc_els_fill()
712 fc_logo_fill(lport, fp); in fc_els_fill()
716 fc_rtv_fill(lport, fp); in fc_els_fill()
720 fc_rec_fill(lport, fp); in fc_els_fill()
724 fc_prli_fill(lport, fp); in fc_els_fill()
728 fc_scr_fill(lport, fp); in fc_els_fill()