Lines Matching refs:fp
57 struct fc_frame *fp = NULL; in ft_queue_data_in() local
126 fp = fc_frame_alloc(lport, use_sg ? 0 : frame_len); in ft_queue_data_in()
127 if (!fp) in ft_queue_data_in()
129 to = fc_frame_payload_get(fp, 0); in ft_queue_data_in()
138 fr_max_payload(fp) = cmd->sess->max_frame; in ft_queue_data_in()
146 skb_fill_page_desc(fp_skb(fp), in ft_queue_data_in()
147 skb_shinfo(fp_skb(fp))->nr_frags, in ft_queue_data_in()
149 fr_len(fp) += tlen; in ft_queue_data_in()
150 fp_skb(fp)->data_len += tlen; in ft_queue_data_in()
151 fp_skb(fp)->truesize += in ft_queue_data_in()
171 (skb_shinfo(fp_skb(fp))->nr_frags < FC_FRAME_SG_LEN)) in ft_queue_data_in()
175 fc_fill_fc_hdr(fp, FC_RCTL_DD_SOL_DATA, ep->did, ep->sid, in ft_queue_data_in()
177 error = lport->tt.seq_send(lport, seq, fp); in ft_queue_data_in()
182 __func__, fp, ep->xid, in ft_queue_data_in()
209 void ft_recv_write_data(struct ft_cmd *cmd, struct fc_frame *fp) in ft_recv_write_data() argument
229 fh = fc_frame_header_get(fp); in ft_recv_write_data()
243 buf = fc_frame_payload_get(fp, 1); in ft_recv_write_data()
276 frame_len = fr_len(fp); in ft_recv_write_data()
280 from = fc_frame_payload_get(fp, 0); in ft_recv_write_data()
335 fc_frame_free(fp); in ft_recv_write_data()