Lines Matching refs:frame_len
53 size_t frame_len = 0; in ft_queue_data_in() local
104 if (!frame_len) { in ft_queue_data_in()
110 frame_len = (lport->seq_offload) ? lport->lso_max : in ft_queue_data_in()
112 frame_len = min(frame_len, remaining); in ft_queue_data_in()
113 fp = fc_frame_alloc(lport, use_sg ? 0 : frame_len); in ft_queue_data_in()
118 frame_off += frame_len; in ft_queue_data_in()
127 tlen = min(mem_len, frame_len); in ft_queue_data_in()
153 frame_len -= tlen; in ft_queue_data_in()
156 if (frame_len && in ft_queue_data_in()
205 size_t frame_len; in ft_recv_write_data() local
261 frame_len = fr_len(fp); in ft_recv_write_data()
262 if (frame_len <= sizeof(*fh)) in ft_recv_write_data()
264 frame_len -= sizeof(*fh); in ft_recv_write_data()
268 if (frame_len + rel_off > se_cmd->data_length) in ft_recv_write_data()
269 frame_len = se_cmd->data_length - rel_off; in ft_recv_write_data()
274 BUG_ON(frame_len && !se_cmd->t_data_sg); in ft_recv_write_data()
275 if (frame_len) { in ft_recv_write_data()
282 while (frame_len) { in ft_recv_write_data()
298 tlen = min(mem_len, frame_len); in ft_recv_write_data()
309 frame_len -= tlen; in ft_recv_write_data()