Home
last modified time | relevance | path

Searched refs:o2nm_node (Results 1 - 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/fs/ocfs2/cluster/
H A Dnodemanager.h27 struct o2nm_node { struct
47 struct o2nm_node *cl_nodes[O2NM_MAX_NODES];
63 struct o2nm_node *o2nm_get_node_by_num(u8 node_num);
64 struct o2nm_node *o2nm_get_node_by_ip(__be32 addr);
65 void o2nm_node_get(struct o2nm_node *node);
66 void o2nm_node_put(struct o2nm_node *node);
H A Dnodemanager.c32 struct o2nm_node *o2nm_get_node_by_num(u8 node_num) in o2nm_get_node_by_num()
34 struct o2nm_node *node = NULL; in o2nm_get_node_by_num()
66 static struct o2nm_node *o2nm_node_ip_tree_lookup(struct o2nm_cluster *cluster, in o2nm_node_ip_tree_lookup()
73 struct o2nm_node *node, *ret = NULL; in o2nm_node_ip_tree_lookup()
79 node = rb_entry(parent, struct o2nm_node, nd_ip_node); in o2nm_node_ip_tree_lookup()
101 struct o2nm_node *o2nm_get_node_by_ip(__be32 addr) in o2nm_get_node_by_ip()
103 struct o2nm_node *node = NULL; in o2nm_get_node_by_ip()
120 void o2nm_node_put(struct o2nm_node *node) in o2nm_node_put()
126 void o2nm_node_get(struct o2nm_node *node) in o2nm_node_get()
153 static struct o2nm_node *to_o2nm_nod
[all...]
H A Dtcp.h97 struct o2nm_node;
100 int o2net_start_listening(struct o2nm_node *node);
101 void o2net_stop_listening(struct o2nm_node *node);
102 void o2net_disconnect_node(struct o2nm_node *node);
H A Dheartbeat.h39 struct o2nm_node;
40 typedef void (o2hb_cb_func)(struct o2nm_node *, int, void *);
H A Dtcp.c412 static struct o2net_sock_container *sc_alloc(struct o2nm_node *node) in sc_alloc()
1552 struct o2nm_node *node = NULL, *mynode = NULL; in o2net_start_connect()
1692 void o2net_disconnect_node(struct o2nm_node *node) in o2net_disconnect_node()
1710 static void o2net_hb_node_down_cb(struct o2nm_node *node, int node_num, in o2net_hb_node_down_cb()
1724 static void o2net_hb_node_up_cb(struct o2nm_node *node, int node_num, in o2net_hb_node_up_cb()
1782 struct o2nm_node *node = NULL; in o2net_accept_one()
1783 struct o2nm_node *local_node = NULL; in o2net_accept_one()
2025 int o2net_start_listening(struct o2nm_node *node) in o2net_start_listening()
2052 void o2net_stop_listening(struct o2nm_node *node) in o2net_stop_listening()
2067 struct o2nm_node *nod in o2net_stop_listening()
[all...]
H A Dtcp_internal.h120 struct o2nm_node *sc_node;
H A Dheartbeat.c179 struct o2nm_node *hn_node;
739 struct o2nm_node *node, in o2hb_fire_callbacks()
792 struct o2nm_node *node, in o2hb_queue_node_event()
813 struct o2nm_node *node; in o2hb_shutdown_slot()
892 struct o2nm_node *node; in o2hb_check_slot()
/kernel/linux/linux-6.6/fs/ocfs2/cluster/
H A Dnodemanager.h25 struct o2nm_node { struct
45 struct o2nm_node *cl_nodes[O2NM_MAX_NODES];
61 struct o2nm_node *o2nm_get_node_by_num(u8 node_num);
62 struct o2nm_node *o2nm_get_node_by_ip(__be32 addr);
63 void o2nm_node_get(struct o2nm_node *node);
64 void o2nm_node_put(struct o2nm_node *node);
H A Dnodemanager.c30 struct o2nm_node *o2nm_get_node_by_num(u8 node_num) in o2nm_get_node_by_num()
32 struct o2nm_node *node = NULL; in o2nm_get_node_by_num()
64 static struct o2nm_node *o2nm_node_ip_tree_lookup(struct o2nm_cluster *cluster, in o2nm_node_ip_tree_lookup()
71 struct o2nm_node *node, *ret = NULL; in o2nm_node_ip_tree_lookup()
77 node = rb_entry(parent, struct o2nm_node, nd_ip_node); in o2nm_node_ip_tree_lookup()
99 struct o2nm_node *o2nm_get_node_by_ip(__be32 addr) in o2nm_get_node_by_ip()
101 struct o2nm_node *node = NULL; in o2nm_get_node_by_ip()
118 void o2nm_node_put(struct o2nm_node *node) in o2nm_node_put()
124 void o2nm_node_get(struct o2nm_node *node) in o2nm_node_get()
151 static struct o2nm_node *to_o2nm_nod
[all...]
H A Dtcp.h95 struct o2nm_node;
98 int o2net_start_listening(struct o2nm_node *node);
99 void o2net_stop_listening(struct o2nm_node *node);
100 void o2net_disconnect_node(struct o2nm_node *node);
H A Dheartbeat.h37 struct o2nm_node;
38 typedef void (o2hb_cb_func)(struct o2nm_node *, int, void *);
H A Dtcp.c411 static struct o2net_sock_container *sc_alloc(struct o2nm_node *node) in sc_alloc()
1553 struct o2nm_node *node = NULL, *mynode = NULL; in o2net_start_connect()
1694 void o2net_disconnect_node(struct o2nm_node *node) in o2net_disconnect_node()
1712 static void o2net_hb_node_down_cb(struct o2nm_node *node, int node_num, in o2net_hb_node_down_cb()
1726 static void o2net_hb_node_up_cb(struct o2nm_node *node, int node_num, in o2net_hb_node_up_cb()
1784 struct o2nm_node *node = NULL; in o2net_accept_one()
1785 struct o2nm_node *local_node = NULL; in o2net_accept_one()
2029 int o2net_start_listening(struct o2nm_node *node) in o2net_start_listening()
2056 void o2net_stop_listening(struct o2nm_node *node) in o2net_stop_listening()
2071 struct o2nm_node *nod in o2net_stop_listening()
[all...]
H A Dtcp_internal.h118 struct o2nm_node *sc_node;
H A Dheartbeat.c177 struct o2nm_node *hn_node;
732 struct o2nm_node *node, in o2hb_fire_callbacks()
785 struct o2nm_node *node, in o2hb_queue_node_event()
806 struct o2nm_node *node; in o2hb_shutdown_slot()
885 struct o2nm_node *node; in o2hb_check_slot()
/kernel/linux/linux-5.10/fs/ocfs2/dlm/
H A Ddlmcommon.h948 void dlm_hb_node_down_cb(struct o2nm_node *node, int idx, void *data);
949 void dlm_hb_node_up_cb(struct o2nm_node *node, int idx, void *data);
H A Ddlmmaster.c42 struct o2nm_node *node,
46 struct o2nm_node *node,
362 struct o2nm_node *node, int idx) in dlm_mle_node_down()
376 struct o2nm_node *node, int idx) in dlm_mle_node_up()
H A Ddlmdomain.c1158 struct o2nm_node *local; in dlm_match_nodes()
1219 struct o2nm_node *node; in dlm_send_nodeinfo()
H A Ddlmrecovery.c2488 void dlm_hb_node_down_cb(struct o2nm_node *node, int idx, void *data) in dlm_hb_node_down_cb()
2509 void dlm_hb_node_up_cb(struct o2nm_node *node, int idx, void *data) in dlm_hb_node_up_cb()
/kernel/linux/linux-6.6/fs/ocfs2/dlm/
H A Ddlmcommon.h942 void dlm_hb_node_down_cb(struct o2nm_node *node, int idx, void *data);
943 void dlm_hb_node_up_cb(struct o2nm_node *node, int idx, void *data);
H A Ddlmmaster.c40 struct o2nm_node *node,
44 struct o2nm_node *node,
360 struct o2nm_node *node, int idx) in dlm_mle_node_down()
374 struct o2nm_node *node, int idx) in dlm_mle_node_up()
H A Ddlmdomain.c1156 struct o2nm_node *local; in dlm_match_nodes()
1217 struct o2nm_node *node; in dlm_send_nodeinfo()
H A Ddlmrecovery.c2479 void dlm_hb_node_down_cb(struct o2nm_node *node, int idx, void *data) in dlm_hb_node_down_cb()
2500 void dlm_hb_node_up_cb(struct o2nm_node *node, int idx, void *data) in dlm_hb_node_up_cb()

Completed in 40 milliseconds