Lines Matching refs:fc_exch
132 static void fc_exch_rrq(struct fc_exch *);
258 static inline void fc_exch_hold(struct fc_exch *ep) in fc_exch_hold()
273 static void fc_exch_setup_hdr(struct fc_exch *ep, struct fc_frame *fp, in fc_exch_setup_hdr()
322 static void fc_exch_release(struct fc_exch *ep) in fc_exch_release()
339 static inline void fc_exch_timer_cancel(struct fc_exch *ep) in fc_exch_timer_cancel()
356 static inline void fc_exch_timer_set_locked(struct fc_exch *ep, in fc_exch_timer_set_locked()
377 static void fc_exch_timer_set(struct fc_exch *ep, unsigned int timer_msec) in fc_exch_timer_set()
390 static int fc_exch_done_locked(struct fc_exch *ep) in fc_exch_done_locked()
412 static struct fc_exch fc_quarantine_exch;
423 static inline struct fc_exch *fc_exch_ptr_get(struct fc_exch_pool *pool, in fc_exch_ptr_get()
426 struct fc_exch **exches = (struct fc_exch **)(pool + 1); in fc_exch_ptr_get()
437 struct fc_exch *ep) in fc_exch_ptr_set()
439 ((struct fc_exch **)(pool + 1))[index] = ep; in fc_exch_ptr_set()
446 static void fc_exch_delete(struct fc_exch *ep) in fc_exch_delete()
477 struct fc_exch *ep; in fc_seq_send_locked()
538 struct fc_exch *ep; in fc_seq_send()
557 static struct fc_seq *fc_seq_alloc(struct fc_exch *ep, u8 seq_id) in fc_seq_alloc()
575 struct fc_exch *ep = fc_seq_exch(sp); in fc_seq_start_next_locked()
590 struct fc_exch *ep = fc_seq_exch(sp); in fc_seq_start_next()
609 struct fc_exch *ep = fc_seq_exch(sp); in fc_seq_set_resp()
644 static int fc_exch_abort_locked(struct fc_exch *ep, in fc_exch_abort_locked()
705 struct fc_exch *ep; in fc_seq_exch_abort()
737 static bool fc_invoke_resp(struct fc_exch *ep, struct fc_seq *sp, in fc_invoke_resp()
774 struct fc_exch *ep = container_of(work, struct fc_exch, in fc_exch_timeout()
820 static struct fc_exch *fc_exch_em_alloc(struct fc_lport *lport, in fc_exch_em_alloc()
823 struct fc_exch *ep; in fc_exch_em_alloc()
914 static struct fc_exch *fc_exch_alloc(struct fc_lport *lport, in fc_exch_alloc()
918 struct fc_exch *ep; in fc_exch_alloc()
935 static struct fc_exch *fc_exch_find(struct fc_exch_mgr *mp, u16 xid) in fc_exch_find()
939 struct fc_exch *ep = NULL; in fc_exch_find()
978 struct fc_exch *ep = fc_seq_exch(sp); in fc_exch_done()
999 static struct fc_exch *fc_exch_resp(struct fc_lport *lport, in fc_exch_resp()
1003 struct fc_exch *ep; in fc_exch_resp()
1052 struct fc_exch *ep = NULL; in fc_seq_lookup_recip()
1181 struct fc_exch *ep; in fc_seq_lookup_orig()
1214 static void fc_exch_set_addr(struct fc_exch *ep, in fc_exch_set_addr()
1269 struct fc_exch *ep = fc_seq_exch(sp); in fc_seq_send_last()
1289 struct fc_exch *ep = fc_seq_exch(sp); in fc_seq_send_ack()
1420 static void fc_exch_recv_abts(struct fc_exch *ep, struct fc_frame *rx_fp) in fc_exch_recv_abts()
1523 struct fc_exch *ep = NULL; in fc_exch_recv_req()
1584 struct fc_exch *ep; in fc_exch_recv_seq_resp()
1690 static void fc_exch_abts_resp(struct fc_exch *ep, struct fc_frame *fp) in fc_exch_abts_resp()
1769 struct fc_exch *ep; in fc_exch_recv_bls()
1893 static void fc_exch_reset(struct fc_exch *ep) in fc_exch_reset()
1934 struct fc_exch *ep; in fc_exch_pool_reset()
1935 struct fc_exch *next; in fc_exch_pool_reset()
1996 static struct fc_exch *fc_exch_lookup(struct fc_lport *lport, u32 xid) in fc_exch_lookup()
2016 struct fc_exch *ep; in fc_exch_els_rec()
2099 struct fc_exch *aborted_ep = arg; in fc_exch_rrq_resp()
2179 struct fc_exch *ep; in fc_exch_seq_send()
2239 static void fc_exch_rrq(struct fc_exch *ep) in fc_exch_rrq()
2292 struct fc_exch *ep = NULL; /* request or subject exchange */ in fc_exch_els_rrq()
2490 sizeof(struct fc_exch *); in fc_exch_mgr_alloc()
2514 pool_size = sizeof(*pool) + pool_exch_range * sizeof(struct fc_exch *); in fc_exch_mgr_alloc()
2670 fc_em_cachep = kmem_cache_create("libfc_em", sizeof(struct fc_exch), in fc_setup_exch_mgr()