Lines Matching defs:nport
25 efc_node_find(struct efc_nport *nport, u32 port_id)
28 return xa_load(&nport->lookup, port_id);
44 struct efc_node *efc_node_alloc(struct efc_nport *nport,
49 struct efc *efc = nport->efc;
52 if (nport->shutting_down) {
73 node->nport = nport;
85 rc = efc_cmd_node_alloc(efc, &node->rnode, port_id, nport);
97 rc = xa_err(xa_store(&nport->lookup, port_id, node, GFP_ATOMIC));
106 kref_get(&nport->ref);
122 struct efc_nport *nport;
127 nport = node->nport;
137 ns = efc_node_find(node->nport, FC_FID_DIR_SERV);
140 if (!node->nport) {
154 xa_erase(&nport->lookup, node->rnode.fc_id);
158 * then post a ALL_CHILD_NODES_FREE event to the nport,
160 * The nport may be free'd as a result of the event.
162 if (xa_empty(&nport->lookup))
163 efc_sm_post_event(&nport->sm, EFC_EVT_ALL_CHILD_NODES_FREE,
166 node->nport = NULL;
169 kref_put(&nport->ref, nport->release);
195 struct efc_nport *nport = node->nport;
196 struct efc_domain *domain = nport->domain;
249 struct efc_nport *nport = node->nport;
255 nport->display_name, portid_display);
313 node_printf(node, "nport.ini=%d node.tgt=%d\n",
314 node->nport->enable_ini, node->targ);
315 if (!pend_frames_empty || (node->nport->enable_ini && node->targ)) {
318 if (node->nport->enable_ini && node->targ) {
399 * nport shutdown, purge pending and