Lines Matching refs:fc_exch
122 static void fc_exch_rrq(struct fc_exch *);
248 static inline void fc_exch_hold(struct fc_exch *ep) in fc_exch_hold()
263 static void fc_exch_setup_hdr(struct fc_exch *ep, struct fc_frame *fp, in fc_exch_setup_hdr()
312 static void fc_exch_release(struct fc_exch *ep) in fc_exch_release()
329 static inline void fc_exch_timer_cancel(struct fc_exch *ep) in fc_exch_timer_cancel()
346 static inline void fc_exch_timer_set_locked(struct fc_exch *ep, in fc_exch_timer_set_locked()
367 static void fc_exch_timer_set(struct fc_exch *ep, unsigned int timer_msec) in fc_exch_timer_set()
380 static int fc_exch_done_locked(struct fc_exch *ep) in fc_exch_done_locked()
402 static struct fc_exch fc_quarantine_exch;
413 static inline struct fc_exch *fc_exch_ptr_get(struct fc_exch_pool *pool, in fc_exch_ptr_get()
416 struct fc_exch **exches = (struct fc_exch **)(pool + 1); in fc_exch_ptr_get()
427 struct fc_exch *ep) in fc_exch_ptr_set()
429 ((struct fc_exch **)(pool + 1))[index] = ep; in fc_exch_ptr_set()
436 static void fc_exch_delete(struct fc_exch *ep) in fc_exch_delete()
467 struct fc_exch *ep; in fc_seq_send_locked()
528 struct fc_exch *ep; in fc_seq_send()
547 static struct fc_seq *fc_seq_alloc(struct fc_exch *ep, u8 seq_id) in fc_seq_alloc()
565 struct fc_exch *ep = fc_seq_exch(sp); in fc_seq_start_next_locked()
580 struct fc_exch *ep = fc_seq_exch(sp); in fc_seq_start_next()
599 struct fc_exch *ep = fc_seq_exch(sp); in fc_seq_set_resp()
634 static int fc_exch_abort_locked(struct fc_exch *ep, in fc_exch_abort_locked()
695 struct fc_exch *ep; in fc_seq_exch_abort()
730 static bool fc_invoke_resp(struct fc_exch *ep, struct fc_seq *sp, in fc_invoke_resp()
767 struct fc_exch *ep = container_of(work, struct fc_exch, in fc_exch_timeout()
813 static struct fc_exch *fc_exch_em_alloc(struct fc_lport *lport, in fc_exch_em_alloc()
816 struct fc_exch *ep; in fc_exch_em_alloc()
907 static struct fc_exch *fc_exch_alloc(struct fc_lport *lport, in fc_exch_alloc()
911 struct fc_exch *ep; in fc_exch_alloc()
928 static struct fc_exch *fc_exch_find(struct fc_exch_mgr *mp, u16 xid) in fc_exch_find()
932 struct fc_exch *ep = NULL; in fc_exch_find()
971 struct fc_exch *ep = fc_seq_exch(sp); in fc_exch_done()
992 static struct fc_exch *fc_exch_resp(struct fc_lport *lport, in fc_exch_resp()
996 struct fc_exch *ep; in fc_exch_resp()
1045 struct fc_exch *ep = NULL; in fc_seq_lookup_recip()
1174 struct fc_exch *ep; in fc_seq_lookup_orig()
1207 static void fc_exch_set_addr(struct fc_exch *ep, in fc_exch_set_addr()
1262 struct fc_exch *ep = fc_seq_exch(sp); in fc_seq_send_last()
1282 struct fc_exch *ep = fc_seq_exch(sp); in fc_seq_send_ack()
1413 static void fc_exch_recv_abts(struct fc_exch *ep, struct fc_frame *rx_fp) in fc_exch_recv_abts()
1516 struct fc_exch *ep = NULL; in fc_exch_recv_req()
1577 struct fc_exch *ep; in fc_exch_recv_seq_resp()
1689 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()
1940 struct fc_exch *ep; in fc_exch_pool_reset()
1941 struct fc_exch *next; in fc_exch_pool_reset()
2002 static struct fc_exch *fc_exch_lookup(struct fc_lport *lport, u32 xid) in fc_exch_lookup()
2022 struct fc_exch *ep; in fc_exch_els_rec()
2105 struct fc_exch *aborted_ep = arg; in fc_exch_rrq_resp()
2185 struct fc_exch *ep; in fc_exch_seq_send()
2245 static void fc_exch_rrq(struct fc_exch *ep) in fc_exch_rrq()
2298 struct fc_exch *ep = NULL; /* request or subject exchange */ in fc_exch_els_rrq()
2496 sizeof(struct fc_exch *); in fc_exch_mgr_alloc()
2520 pool_size = sizeof(*pool) + pool_exch_range * sizeof(struct fc_exch *); in fc_exch_mgr_alloc()
2676 fc_em_cachep = kmem_cache_create("libfc_em", sizeof(struct fc_exch), in fc_setup_exch_mgr()