Lines Matching defs:efc

11 #include "efc.h"
15 #define EFC_LOG_ENABLE_ELS_TRACE(efc) \
16 (((efc) != NULL) ? (((efc)->logmask & (1U << 1)) != 0) : 0)
20 if (EFC_LOG_ENABLE_ELS_TRACE(efc)) \
21 efc_log_info(efc, "[%s] %-20s\n", \
26 efc_log_err((struct efc *)els->node->efc,\
43 struct efc *efc;
47 efc = node->efc;
50 efc_log_err(efc, "els io alloc disabled\n");
54 els = mempool_alloc(efc->els_io_pool, GFP_ATOMIC);
56 atomic_add_return(1, &efc->els_io_alloc_failed_count);
69 els->io.req.virt = dma_alloc_coherent(&efc->pci->dev, els->io.req.size,
72 mempool_free(els, efc->els_io_pool);
77 els->io.rsp.virt = dma_alloc_coherent(&efc->pci->dev, els->io.rsp.size,
80 dma_free_coherent(&efc->pci->dev, els->io.req.size,
82 mempool_free(els, efc->els_io_pool);
111 struct efc *efc;
117 efc = node->efc;
133 dma_free_coherent(&efc->pci->dev, els->io.rsp.size,
135 dma_free_coherent(&efc->pci->dev, els->io.req.size,
138 mempool_free(els, efc->els_io_pool);
141 efc_scsi_io_list_empty(node->efc, node);
161 struct efc *efc;
167 efc = node->efc;
188 efc_log_warn(efc,
228 efc_log_err(efc, "LOCAL_REJECT with ext status:%x\n",
236 efc_log_warn(efc, "els req failed status x%x, ext_status x%x\n",
260 struct efc *efc = node->efc;
280 rc = efc->tt.send_els(efc, &els->io);
287 efc_log_err(efc, "efc_els_send failed: %d\n", rc);
296 struct efc *efc;
300 efc = els->node->efc;
307 rc = efc->tt.send_els(efc, &els->io);
313 efc_log_err(efc, "ELS retries exhausted\n");
323 struct efc *efc;
328 efc = node->efc;
342 efc_log_warn(efc, "[%s] %-8s failed status x%x, ext x%x\n",
358 struct efc *efc = node->efc;
380 rc = efc->tt.send_els(efc, &els->io);
396 struct efc *efc = node->efc;
403 efc_log_err(efc, "IO alloc failed\n");
423 struct efc *efc;
426 efc = node->efc;
432 efc_log_err(efc, "IO alloc failed\n");
452 struct efc *efc;
455 efc = node->efc;
461 efc_log_err(efc, "IO alloc failed\n");
480 struct efc *efc = node->efc;
491 efc_log_err(efc, "IO alloc failed\n");
520 struct efc *efc = node->efc;
531 efc_log_err(efc, "IO alloc failed\n");
552 struct efc *efc = node->efc;
564 efc_log_err(efc, "IO alloc failed\n");
588 struct efc *efc = node->efc;
595 efc_log_err(efc, "IO alloc failed\n");
614 struct efc *efc = node->efc;
620 efc_log_err(efc, "els IO alloc failed\n");
644 struct efc *efc = node->efc;
653 efc_log_err(efc, "els IO alloc failed\n");
679 struct efc *efc = node->efc;
687 efc_log_err(efc, "els IO alloc failed\n");
712 struct efc *efc = node->efc;
723 efc_log_err(efc, "els IO alloc failed\n");
754 struct efc *efc = node->efc;
765 efc_log_err(efc, "els IO alloc failed\n");
790 struct efc *efc = node->efc;
798 efc_log_err(efc, "els IO alloc failed\n");
819 struct efc *efc = node->efc;
826 efc_log_err(efc, "els IO alloc failed\n");
846 struct efc *efc = node->efc;
855 efc_log_err(efc, "els IO alloc failed\n");
894 struct efc *efc = node->efc;
905 efc_log_err(efc, "IO alloc failed\n");
931 struct efc *efc = node->efc;
942 efc_log_err(efc, "IO alloc failed\n");
972 struct efc *efc = node->efc;
982 efc_log_err(efc, "IO alloc failed\n");
1027 efc_send_ct_rsp(struct efc *efc, struct efc_node *node, u16 ox_id,
1036 efc_log_err(efc, "IO alloc failed\n");
1066 if (efc->tt.send_els(efc, &els->io)) {
1078 struct efc *efc = node->efc;
1093 return efc->tt.send_bls(efc, FC_RCTL_BA_ACC, &bls);