• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/scsi/libfc/

Lines Matching refs:fc_exch

47  * The three primary structures used here are fc_exch_mgr, fc_exch, and fc_seq.
51 * fc_exch holds state for one exchange and links to its active sequence.
106 #define fc_seq_exch(sp) container_of(sp, struct fc_exch, seq)
126 static void fc_exch_rrq(struct fc_exch *);
187 static inline void fc_exch_hold(struct fc_exch *ep)
202 static void fc_exch_setup_hdr(struct fc_exch *ep, struct fc_frame *fp,
254 static void fc_exch_release(struct fc_exch *ep)
271 static int fc_exch_done_locked(struct fc_exch *ep)
304 static inline struct fc_exch *fc_exch_ptr_get(struct fc_exch_pool *pool,
307 struct fc_exch **exches = (struct fc_exch **)(pool + 1);
318 struct fc_exch *ep)
320 ((struct fc_exch **)(pool + 1))[index] = ep;
327 static void fc_exch_delete(struct fc_exch *ep)
351 static inline void fc_exch_timer_set_locked(struct fc_exch *ep,
369 static void fc_exch_timer_set(struct fc_exch *ep, unsigned int timer_msec)
385 struct fc_exch *ep;
435 static struct fc_seq *fc_seq_alloc(struct fc_exch *ep, u8 seq_id)
453 struct fc_exch *ep = fc_seq_exch(sp);
468 struct fc_exch *ep = fc_seq_exch(sp);
488 struct fc_exch *ep;
541 struct fc_exch *ep = container_of(work, struct fc_exch,
590 * Returns pointer to allocated fc_exch with exch lock held.
592 static struct fc_exch *fc_exch_em_alloc(struct fc_lport *lport,
595 struct fc_exch *ep;
667 static inline struct fc_exch *fc_exch_alloc(struct fc_lport *lport,
683 static struct fc_exch *fc_exch_find(struct fc_exch_mgr *mp, u16 xid)
686 struct fc_exch *ep = NULL;
709 struct fc_exch *ep = fc_seq_exch(sp);
727 static struct fc_exch *fc_exch_resp(struct fc_lport *lport,
731 struct fc_exch *ep;
780 struct fc_exch *ep = NULL;
880 struct fc_exch *ep;
913 static void fc_exch_set_addr(struct fc_exch *ep,
967 struct fc_exch *ep = fc_seq_exch(sp);
987 struct fc_exch *ep = fc_seq_exch(sp);
1111 static void fc_exch_recv_abts(struct fc_exch *ep, struct fc_frame *rx_fp)
1194 struct fc_exch *ep = NULL;
1257 struct fc_exch *ep;
1368 static void fc_exch_abts_resp(struct fc_exch *ep, struct fc_frame *fp)
1452 struct fc_exch *ep;
1560 static void fc_exch_reset(struct fc_exch *ep)
1603 struct fc_exch *ep;
1604 struct fc_exch *next;
1662 static struct fc_exch *fc_exch_lookup(struct fc_lport *lport, u32 xid)
1682 struct fc_exch *ep;
1749 struct fc_exch *aborted_ep = arg;
1812 struct fc_exch *ep;
1866 static void fc_exch_rrq(struct fc_exch *ep)
1918 struct fc_exch *ep = NULL; /* request or subject exchange */
2103 pool_size = sizeof(*pool) + pool_exch_range * sizeof(struct fc_exch *);
2255 fc_em_cachep = kmem_cache_create("libfc_em", sizeof(struct fc_exch),