• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/libfc/

Lines Matching refs:ema

670 	struct fc_exch_mgr_anchor *ema;
672 list_for_each_entry(ema, &lport->ema_list, ema_list)
673 if (!ema->match || ema->match(fp))
674 return fc_exch_em_alloc(lport, ema->mp);
1167 struct fc_exch_mgr_anchor *ema;
1173 list_for_each_entry(ema, &lport->ema_list, ema_list)
1174 if ((!ema->match || ema->match(fp)) &&
1175 fc_seq_lookup_recip(lport, ema->mp, fp) != FC_RJT_NONE)
1643 struct fc_exch_mgr_anchor *ema;
1646 list_for_each_entry(ema, &lport->ema_list, ema_list) {
1649 per_cpu_ptr(ema->mp->pool, cpu),
1664 struct fc_exch_mgr_anchor *ema;
1666 list_for_each_entry(ema, &lport->ema_list, ema_list)
1667 if (ema->mp->min_xid <= xid && xid <= ema->mp->max_xid)
1668 return fc_exch_find(ema->mp, xid);
1989 struct fc_exch_mgr_anchor *ema;
1991 ema = kmalloc(sizeof(*ema), GFP_ATOMIC);
1992 if (!ema)
1993 return ema;
1995 ema->mp = mp;
1996 ema->match = match;
1998 list_add_tail(&ema->ema_list, &lport->ema_list);
2000 return ema;
2019 * @ema: The exchange manager anchor identifying the EM to be deleted
2021 void fc_exch_mgr_del(struct fc_exch_mgr_anchor *ema)
2024 list_del(&ema->ema_list);
2025 kref_put(&ema->mp->kref, fc_exch_mgr_destroy);
2026 kfree(ema);
2037 struct fc_exch_mgr_anchor *ema, *tmp;
2039 list_for_each_entry(ema, &src->ema_list, ema_list) {
2040 if (!fc_exch_mgr_add(dst, ema->mp, ema->match))
2045 list_for_each_entry_safe(ema, tmp, &dst->ema_list, ema_list)
2046 fc_exch_mgr_del(ema);
2141 struct fc_exch_mgr_anchor *ema, *next;
2144 list_for_each_entry_safe(ema, next, &lport->ema_list, ema_list)
2145 fc_exch_mgr_del(ema);
2157 struct fc_exch_mgr_anchor *ema;
2172 list_for_each_entry(ema, &lport->ema_list, ema_list) {
2173 if ((oxid >= ema->mp->min_xid) &&
2174 (oxid <= ema->mp->max_xid)) {
2187 ema = list_entry(lport->ema_list.prev, typeof(*ema), ema_list);
2199 fc_exch_recv_bls(ema->mp, fp);
2202 fc_exch_recv_seq_resp(ema->mp, fp);
2204 fc_exch_recv_resp(ema->mp, fp);
2206 fc_exch_recv_req(lport, ema->mp, fp);