Lines Matching refs:fc_exch
131 static void fc_exch_rrq(struct fc_exch *);
257 static inline void fc_exch_hold(struct fc_exch *ep) in fc_exch_hold()
272 static void fc_exch_setup_hdr(struct fc_exch *ep, struct fc_frame *fp, in fc_exch_setup_hdr()
321 static void fc_exch_release(struct fc_exch *ep) in fc_exch_release()
338 static inline void fc_exch_timer_cancel(struct fc_exch *ep) in fc_exch_timer_cancel()
355 static inline void fc_exch_timer_set_locked(struct fc_exch *ep, in fc_exch_timer_set_locked()
374 static void fc_exch_timer_set(struct fc_exch *ep, unsigned int timer_msec) in fc_exch_timer_set()
387 static int fc_exch_done_locked(struct fc_exch *ep) in fc_exch_done_locked()
418 static inline struct fc_exch *fc_exch_ptr_get(struct fc_exch_pool *pool, in fc_exch_ptr_get()
421 struct fc_exch **exches = (struct fc_exch **)(pool + 1); in fc_exch_ptr_get()
432 struct fc_exch *ep) in fc_exch_ptr_set()
434 ((struct fc_exch **)(pool + 1))[index] = ep; in fc_exch_ptr_set()
441 static void fc_exch_delete(struct fc_exch *ep) in fc_exch_delete()
469 struct fc_exch *ep; in fc_seq_send_locked()
531 struct fc_exch *ep; in fc_seq_send()
549 static struct fc_seq *fc_seq_alloc(struct fc_exch *ep, u8 seq_id) in fc_seq_alloc()
567 struct fc_exch *ep = fc_seq_exch(sp); in fc_seq_start_next_locked()
582 struct fc_exch *ep = fc_seq_exch(sp); in fc_seq_start_next()
601 struct fc_exch *ep = fc_seq_exch(sp); in fc_seq_set_resp()
628 static int fc_exch_abort_locked(struct fc_exch *ep, in fc_exch_abort_locked()
686 struct fc_exch *ep; in fc_seq_exch_abort()
718 static bool fc_invoke_resp(struct fc_exch *ep, struct fc_seq *sp, in fc_invoke_resp()
755 struct fc_exch *ep = container_of(work, struct fc_exch, in fc_exch_timeout()
801 static struct fc_exch *fc_exch_em_alloc(struct fc_lport *lport, in fc_exch_em_alloc()
804 struct fc_exch *ep; in fc_exch_em_alloc()
891 static inline struct fc_exch *fc_exch_alloc(struct fc_lport *lport, in fc_exch_alloc()
907 static struct fc_exch *fc_exch_find(struct fc_exch_mgr *mp, u16 xid) in fc_exch_find()
910 struct fc_exch *ep = NULL; in fc_exch_find()
935 struct fc_exch *ep = fc_seq_exch(sp); in fc_exch_done()
955 static struct fc_exch *fc_exch_resp(struct fc_lport *lport, in fc_exch_resp()
959 struct fc_exch *ep; in fc_exch_resp()
1008 struct fc_exch *ep = NULL; in fc_seq_lookup_recip()
1137 struct fc_exch *ep; in fc_seq_lookup_orig()
1170 static void fc_exch_set_addr(struct fc_exch *ep, in fc_exch_set_addr()
1224 struct fc_exch *ep = fc_seq_exch(sp); in fc_seq_send_last()
1244 struct fc_exch *ep = fc_seq_exch(sp); in fc_seq_send_ack()
1368 static void fc_exch_recv_abts(struct fc_exch *ep, struct fc_frame *rx_fp) in fc_exch_recv_abts()
1466 struct fc_exch *ep = NULL; in fc_exch_recv_req()
1527 struct fc_exch *ep; in fc_exch_recv_seq_resp()
1636 static void fc_exch_abts_resp(struct fc_exch *ep, struct fc_frame *fp) in fc_exch_abts_resp()
1715 struct fc_exch *ep; in fc_exch_recv_bls()
1826 static void fc_exch_reset(struct fc_exch *ep) in fc_exch_reset()
1868 struct fc_exch *ep; in fc_exch_pool_reset()
1869 struct fc_exch *next; in fc_exch_pool_reset()
1930 static struct fc_exch *fc_exch_lookup(struct fc_lport *lport, u32 xid) in fc_exch_lookup()
1950 struct fc_exch *ep; in fc_exch_els_rec()
2017 struct fc_exch *aborted_ep = arg; in fc_exch_rrq_resp()
2080 struct fc_exch *ep; in fc_exch_seq_send()
2139 static void fc_exch_rrq(struct fc_exch *ep) in fc_exch_rrq()
2191 struct fc_exch *ep = NULL; /* request or subject exchange */ in fc_exch_els_rrq()
2386 sizeof(struct fc_exch *); in fc_exch_mgr_alloc()
2410 pool_size = sizeof(*pool) + pool_exch_range * sizeof(struct fc_exch *); in fc_exch_mgr_alloc()
2593 fc_em_cachep = kmem_cache_create("libfc_em", sizeof(struct fc_exch), in fc_setup_exch_mgr()