Home
last modified time | relevance | path

Searched refs:r2nm_node (Results 1 – 7 of 7) sorted by relevance

/linux-3.4.99/drivers/staging/ramster/cluster/
Dnodemanager.h42 struct r2nm_node { struct
62 struct r2nm_node *cl_nodes[R2NM_MAX_NODES]; argument
78 struct r2nm_node *r2nm_get_node_by_num(u8 node_num);
79 struct r2nm_node *r2nm_get_node_by_ip(__be32 addr);
80 void r2nm_node_get(struct r2nm_node *node);
81 void r2nm_node_put(struct r2nm_node *node);
Dnodemanager.c42 struct r2nm_node *r2nm_get_node_by_num(u8 node_num) in r2nm_get_node_by_num()
44 struct r2nm_node *node = NULL; in r2nm_get_node_by_num()
76 static struct r2nm_node *r2nm_node_ip_tree_lookup(struct r2nm_cluster *cluster, in r2nm_node_ip_tree_lookup()
83 struct r2nm_node *node, *ret = NULL; in r2nm_node_ip_tree_lookup()
89 node = rb_entry(parent, struct r2nm_node, nd_ip_node); in r2nm_node_ip_tree_lookup()
111 struct r2nm_node *r2nm_get_node_by_ip(__be32 addr) in r2nm_get_node_by_ip()
113 struct r2nm_node *node = NULL; in r2nm_get_node_by_ip()
130 void r2nm_node_put(struct r2nm_node *node) in r2nm_node_put()
136 void r2nm_node_get(struct r2nm_node *node) in r2nm_node_get()
163 static struct r2nm_node *to_r2nm_node(struct config_item *item) in to_r2nm_node()
[all …]
Dtcp.h116 struct r2nm_node;
119 int r2net_start_listening(struct r2nm_node *node);
120 void r2net_stop_listening(struct r2nm_node *node);
121 void r2net_disconnect_node(struct r2nm_node *node);
Dheartbeat.h53 struct r2nm_node;
54 typedef void (r2hb_cb_func)(struct r2nm_node *, int, void *);
Dtcp.c424 static struct r2net_sock_container *sc_alloc(struct r2nm_node *node) in sc_alloc()
1715 struct r2nm_node *node = NULL, *mynode = NULL; in r2net_start_connect()
1853 void r2net_disconnect_node(struct r2nm_node *node) in r2net_disconnect_node()
1871 static void r2net_hb_node_down_cb(struct r2nm_node *node, int node_num, in r2net_hb_node_down_cb()
1883 static void r2net_hb_node_up_cb(struct r2nm_node *node, int node_num, in r2net_hb_node_up_cb()
1939 struct r2nm_node *node = NULL; in r2net_accept_one()
1940 struct r2nm_node *local_node = NULL; in r2net_accept_one()
2138 int r2net_start_listening(struct r2nm_node *node) in r2net_start_listening()
2164 void r2net_stop_listening(struct r2nm_node *node) in r2net_stop_listening()
2179 struct r2nm_node *node = r2nm_get_node_by_num(i); in r2net_stop_listening()
[all …]
Dtcp_internal.h140 struct r2nm_node *sc_node;
/linux-3.4.99/drivers/staging/ramster/
Dr2net.c38 static struct r2nm_node *r2net_target_node;
161 struct r2nm_node *node = NULL; in ramster_remote_async_get()
226 struct r2nm_node *node = NULL; in ramster_remote_put()
289 struct r2nm_node *node = NULL; in ramster_remote_flush()
309 struct r2nm_node *node = NULL; in ramster_remote_flush_object()