Lines Matching refs:node
2 * net/tipc/node_subscr.c: TIPC "node down" subscription handling
40 #include "node.h"
44 * tipc_nodesub_subscribe - create "node down" subscription for specified node
51 node_sub->node = NULL;
55 node_sub->node = tipc_node_find(addr);
56 if (!node_sub->node) {
57 warn("Node subscription rejected, unknown node 0x%x\n", addr);
63 tipc_node_lock(node_sub->node);
64 list_add_tail(&node_sub->nodesub_list, &node_sub->node->nsub);
65 tipc_node_unlock(node_sub->node);
69 * tipc_nodesub_unsubscribe - cancel "node down" subscription (if any)
74 if (!node_sub->node)
77 tipc_node_lock(node_sub->node);
79 tipc_node_unlock(node_sub->node);