• Home
  • Raw
  • Download

Lines Matching refs:addr

67 static unsigned int tipc_hashfn(u32 addr)  in tipc_hashfn()  argument
69 return addr & (NODE_HTABLE_SIZE - 1); in tipc_hashfn()
75 struct tipc_node *tipc_node_find(u32 addr) in tipc_node_find() argument
79 if (unlikely(!in_own_cluster_exact(addr))) in tipc_node_find()
83 hlist_for_each_entry_rcu(node, &node_htable[tipc_hashfn(addr)], hash) { in tipc_node_find()
84 if (node->addr == addr) { in tipc_node_find()
93 struct tipc_node *tipc_node_create(u32 addr) in tipc_node_create() argument
106 n_ptr->addr = addr; in tipc_node_create()
114 hlist_add_head_rcu(&n_ptr->hash, &node_htable[tipc_hashfn(addr)]); in tipc_node_create()
117 if (n_ptr->addr < temp_node->addr) in tipc_node_create()
320 if (n_ptr->addr == tipc_own_addr) { in tipc_node_link_down()
365 tipc_bclink_add_node(n_ptr->addr); in node_established_contact()
374 tipc_addr_string_fill(addr_string, n_ptr->addr)); in node_lost_contact()
386 tipc_bclink_remove_node(n_ptr->addr); in node_lost_contact()
449 if (!tipc_in_scope(domain, n_ptr->addr)) in tipc_node_get_nodes()
451 node_info.addr = htonl(n_ptr->addr); in tipc_node_get_nodes()
504 if (!tipc_in_scope(domain, n_ptr->addr)) in tipc_node_get_links()
510 link_info.dest = htonl(n_ptr->addr); in tipc_node_get_links()
531 int tipc_node_get_linkname(u32 bearer_id, u32 addr, char *linkname, size_t len) in tipc_node_get_linkname() argument
534 struct tipc_node *node = tipc_node_find(addr); in tipc_node_get_linkname()
554 u32 addr = 0; in tipc_node_unlock() local
563 addr = node->addr; in tipc_node_unlock()
594 tipc_named_node_up(addr); in tipc_node_unlock()
597 tipc_nametbl_publish(TIPC_LINK_STATE, addr, addr, in tipc_node_unlock()
598 TIPC_NODE_SCOPE, link_id, addr); in tipc_node_unlock()
601 tipc_nametbl_withdraw(TIPC_LINK_STATE, addr, in tipc_node_unlock()
602 link_id, addr); in tipc_node_unlock()