Searched refs:to_o2nm_node (Results 1 – 1 of 1) sorted by relevance
151 static struct o2nm_node *to_o2nm_node(struct config_item *item) in to_o2nm_node() function158 struct o2nm_node *node = to_o2nm_node(item); in o2nm_node_release()164 return sprintf(page, "%d\n", to_o2nm_node(item)->nd_num); in o2nm_node_num_show()186 struct o2nm_node *node = to_o2nm_node(item); in o2nm_node_num_store()235 return sprintf(page, "%u\n", ntohs(to_o2nm_node(item)->nd_ipv4_port)); in o2nm_node_ipv4_port_show()241 struct o2nm_node *node = to_o2nm_node(item); in o2nm_node_ipv4_port_store()263 return sprintf(page, "%pI4\n", &to_o2nm_node(item)->nd_ipv4_address); in o2nm_node_ipv4_address_show()270 struct o2nm_node *node = to_o2nm_node(item); in o2nm_node_ipv4_address_store()319 return sprintf(page, "%d\n", to_o2nm_node(item)->nd_local); in o2nm_node_local_show()325 struct o2nm_node *node = to_o2nm_node(item); in o2nm_node_local_store()[all …]