Lines Matching refs:lport

86 	struct fc_lport *lport;  in ft_free_cmd()  local
91 lport = fr_dev(fp); in ft_free_cmd()
93 lport->tt.seq_release(fr_seq(fp)); in ft_free_cmd()
120 struct fc_lport *lport; in ft_queue_status() local
128 lport = ep->lp; in ft_queue_status()
130 fp = fc_frame_alloc(lport, len); in ft_queue_status()
161 cmd->seq = lport->tt.seq_start_next(cmd->seq); in ft_queue_status()
165 lport->tt.seq_send(lport, cmd->seq, fp); in ft_queue_status()
166 lport->tt.exch_done(cmd->seq); in ft_queue_status()
185 struct fc_lport *lport; in ft_write_pending() local
195 lport = ep->lp; in ft_write_pending()
196 fp = fc_frame_alloc(lport, sizeof(*txrdy)); in ft_write_pending()
204 cmd->seq = lport->tt.seq_start_next(cmd->seq); in ft_write_pending()
216 if ((ep->xid <= lport->lro_xid) && in ft_write_pending()
229 if (cmd->sg && lport->tt.ddp_target(lport, ep->xid, in ft_write_pending()
235 lport->tt.seq_send(lport, cmd->seq, fp); in ft_write_pending()
292 static void ft_send_resp_status(struct fc_lport *lport, in ft_send_resp_status() argument
309 fp = fc_frame_alloc(lport, len); in ft_send_resp_status()
325 lport->tt.seq_send(lport, sp, fp); in ft_send_resp_status()
326 lport->tt.exch_done(sp); in ft_send_resp_status()
328 lport->tt.frame_send(lport, fp); in ft_send_resp_status()
338 ft_send_resp_status(cmd->sess->tport->lport, in ft_send_resp_code()
443 struct fc_lport *lport = sess->tport->lport; in ft_recv_cmd() local
449 cmd->seq = lport->tt.seq_assign(lport, fp); in ft_recv_cmd()
462 ft_send_resp_status(lport, fp, SAM_STAT_BUSY, 0); in ft_recv_cmd()