Lines Matching refs:fc_exch
120 static void fc_exch_rrq(struct fc_exch *);
246 static inline void fc_exch_hold(struct fc_exch *ep) in fc_exch_hold()
261 static void fc_exch_setup_hdr(struct fc_exch *ep, struct fc_frame *fp, in fc_exch_setup_hdr()
310 static void fc_exch_release(struct fc_exch *ep) in fc_exch_release()
327 static inline void fc_exch_timer_cancel(struct fc_exch *ep) in fc_exch_timer_cancel()
344 static inline void fc_exch_timer_set_locked(struct fc_exch *ep, in fc_exch_timer_set_locked()
365 static void fc_exch_timer_set(struct fc_exch *ep, unsigned int timer_msec) in fc_exch_timer_set()
378 static int fc_exch_done_locked(struct fc_exch *ep) in fc_exch_done_locked()
400 static struct fc_exch fc_quarantine_exch;
411 static inline struct fc_exch *fc_exch_ptr_get(struct fc_exch_pool *pool, in fc_exch_ptr_get()
414 struct fc_exch **exches = (struct fc_exch **)(pool + 1); in fc_exch_ptr_get()
425 struct fc_exch *ep) in fc_exch_ptr_set()
427 ((struct fc_exch **)(pool + 1))[index] = ep; in fc_exch_ptr_set()
434 static void fc_exch_delete(struct fc_exch *ep) in fc_exch_delete()
465 struct fc_exch *ep; in fc_seq_send_locked()
526 struct fc_exch *ep; in fc_seq_send()
545 static struct fc_seq *fc_seq_alloc(struct fc_exch *ep, u8 seq_id) in fc_seq_alloc()
563 struct fc_exch *ep = fc_seq_exch(sp); in fc_seq_start_next_locked()
578 struct fc_exch *ep = fc_seq_exch(sp); in fc_seq_start_next()
597 struct fc_exch *ep = fc_seq_exch(sp); in fc_seq_set_resp()
632 static int fc_exch_abort_locked(struct fc_exch *ep, in fc_exch_abort_locked()
693 struct fc_exch *ep; in fc_seq_exch_abort()
725 static bool fc_invoke_resp(struct fc_exch *ep, struct fc_seq *sp, in fc_invoke_resp()
762 struct fc_exch *ep = container_of(work, struct fc_exch, in fc_exch_timeout()
808 static struct fc_exch *fc_exch_em_alloc(struct fc_lport *lport, in fc_exch_em_alloc()
811 struct fc_exch *ep; in fc_exch_em_alloc()
902 static struct fc_exch *fc_exch_alloc(struct fc_lport *lport, in fc_exch_alloc()
906 struct fc_exch *ep; in fc_exch_alloc()
923 static struct fc_exch *fc_exch_find(struct fc_exch_mgr *mp, u16 xid) in fc_exch_find()
927 struct fc_exch *ep = NULL; in fc_exch_find()
966 struct fc_exch *ep = fc_seq_exch(sp); in fc_exch_done()
987 static struct fc_exch *fc_exch_resp(struct fc_lport *lport, in fc_exch_resp()
991 struct fc_exch *ep; in fc_exch_resp()
1040 struct fc_exch *ep = NULL; in fc_seq_lookup_recip()
1169 struct fc_exch *ep; in fc_seq_lookup_orig()
1202 static void fc_exch_set_addr(struct fc_exch *ep, in fc_exch_set_addr()
1257 struct fc_exch *ep = fc_seq_exch(sp); in fc_seq_send_last()
1277 struct fc_exch *ep = fc_seq_exch(sp); in fc_seq_send_ack()
1408 static void fc_exch_recv_abts(struct fc_exch *ep, struct fc_frame *rx_fp) in fc_exch_recv_abts()
1511 struct fc_exch *ep = NULL; in fc_exch_recv_req()
1572 struct fc_exch *ep; in fc_exch_recv_seq_resp()
1678 static void fc_exch_abts_resp(struct fc_exch *ep, struct fc_frame *fp) in fc_exch_abts_resp()
1757 struct fc_exch *ep; in fc_exch_recv_bls()
1881 static void fc_exch_reset(struct fc_exch *ep) in fc_exch_reset()
1922 struct fc_exch *ep; in fc_exch_pool_reset()
1923 struct fc_exch *next; in fc_exch_pool_reset()
1984 static struct fc_exch *fc_exch_lookup(struct fc_lport *lport, u32 xid) in fc_exch_lookup()
2004 struct fc_exch *ep; in fc_exch_els_rec()
2087 struct fc_exch *aborted_ep = arg; in fc_exch_rrq_resp()
2167 struct fc_exch *ep; in fc_exch_seq_send()
2227 static void fc_exch_rrq(struct fc_exch *ep) in fc_exch_rrq()
2280 struct fc_exch *ep = NULL; /* request or subject exchange */ in fc_exch_els_rrq()
2478 sizeof(struct fc_exch *); in fc_exch_mgr_alloc()
2502 pool_size = sizeof(*pool) + pool_exch_range * sizeof(struct fc_exch *); in fc_exch_mgr_alloc()
2658 fc_em_cachep = kmem_cache_create("libfc_em", sizeof(struct fc_exch), in fc_setup_exch_mgr()