Lines Matching refs:fc_exch

121 static void fc_exch_rrq(struct fc_exch *);
247 static inline void fc_exch_hold(struct fc_exch *ep) in fc_exch_hold()
262 static void fc_exch_setup_hdr(struct fc_exch *ep, struct fc_frame *fp, in fc_exch_setup_hdr()
311 static void fc_exch_release(struct fc_exch *ep) in fc_exch_release()
328 static inline void fc_exch_timer_cancel(struct fc_exch *ep) in fc_exch_timer_cancel()
345 static inline void fc_exch_timer_set_locked(struct fc_exch *ep, in fc_exch_timer_set_locked()
366 static void fc_exch_timer_set(struct fc_exch *ep, unsigned int timer_msec) in fc_exch_timer_set()
379 static int fc_exch_done_locked(struct fc_exch *ep) in fc_exch_done_locked()
401 static struct fc_exch fc_quarantine_exch;
412 static inline struct fc_exch *fc_exch_ptr_get(struct fc_exch_pool *pool, in fc_exch_ptr_get()
415 struct fc_exch **exches = (struct fc_exch **)(pool + 1); in fc_exch_ptr_get()
426 struct fc_exch *ep) in fc_exch_ptr_set()
428 ((struct fc_exch **)(pool + 1))[index] = ep; in fc_exch_ptr_set()
435 static void fc_exch_delete(struct fc_exch *ep) in fc_exch_delete()
466 struct fc_exch *ep; in fc_seq_send_locked()
527 struct fc_exch *ep; in fc_seq_send()
546 static struct fc_seq *fc_seq_alloc(struct fc_exch *ep, u8 seq_id) in fc_seq_alloc()
564 struct fc_exch *ep = fc_seq_exch(sp); in fc_seq_start_next_locked()
579 struct fc_exch *ep = fc_seq_exch(sp); in fc_seq_start_next()
598 struct fc_exch *ep = fc_seq_exch(sp); in fc_seq_set_resp()
633 static int fc_exch_abort_locked(struct fc_exch *ep, in fc_exch_abort_locked()
694 struct fc_exch *ep; in fc_seq_exch_abort()
729 static bool fc_invoke_resp(struct fc_exch *ep, struct fc_seq *sp, in fc_invoke_resp()
766 struct fc_exch *ep = container_of(work, struct fc_exch, in fc_exch_timeout()
812 static struct fc_exch *fc_exch_em_alloc(struct fc_lport *lport, in fc_exch_em_alloc()
815 struct fc_exch *ep; in fc_exch_em_alloc()
905 static struct fc_exch *fc_exch_alloc(struct fc_lport *lport, in fc_exch_alloc()
909 struct fc_exch *ep; in fc_exch_alloc()
926 static struct fc_exch *fc_exch_find(struct fc_exch_mgr *mp, u16 xid) in fc_exch_find()
930 struct fc_exch *ep = NULL; in fc_exch_find()
969 struct fc_exch *ep = fc_seq_exch(sp); in fc_exch_done()
990 static struct fc_exch *fc_exch_resp(struct fc_lport *lport, in fc_exch_resp()
994 struct fc_exch *ep; in fc_exch_resp()
1043 struct fc_exch *ep = NULL; in fc_seq_lookup_recip()
1172 struct fc_exch *ep; in fc_seq_lookup_orig()
1205 static void fc_exch_set_addr(struct fc_exch *ep, in fc_exch_set_addr()
1260 struct fc_exch *ep = fc_seq_exch(sp); in fc_seq_send_last()
1280 struct fc_exch *ep = fc_seq_exch(sp); in fc_seq_send_ack()
1411 static void fc_exch_recv_abts(struct fc_exch *ep, struct fc_frame *rx_fp) in fc_exch_recv_abts()
1514 struct fc_exch *ep = NULL; in fc_exch_recv_req()
1575 struct fc_exch *ep; in fc_exch_recv_seq_resp()
1687 static void fc_exch_abts_resp(struct fc_exch *ep, struct fc_frame *fp) in fc_exch_abts_resp()
1767 struct fc_exch *ep; in fc_exch_recv_bls()
1891 static void fc_exch_reset(struct fc_exch *ep) in fc_exch_reset()
1938 struct fc_exch *ep; in fc_exch_pool_reset()
1939 struct fc_exch *next; in fc_exch_pool_reset()
2000 static struct fc_exch *fc_exch_lookup(struct fc_lport *lport, u32 xid) in fc_exch_lookup()
2020 struct fc_exch *ep; in fc_exch_els_rec()
2103 struct fc_exch *aborted_ep = arg; in fc_exch_rrq_resp()
2183 struct fc_exch *ep; in fc_exch_seq_send()
2243 static void fc_exch_rrq(struct fc_exch *ep) in fc_exch_rrq()
2296 struct fc_exch *ep = NULL; /* request or subject exchange */ in fc_exch_els_rrq()
2494 sizeof(struct fc_exch *); in fc_exch_mgr_alloc()
2518 pool_size = sizeof(*pool) + pool_exch_range * sizeof(struct fc_exch *); in fc_exch_mgr_alloc()
2674 fc_em_cachep = kmem_cache_create("libfc_em", sizeof(struct fc_exch), in fc_setup_exch_mgr()