Searched refs:n_ptr (Results 1 - 9 of 9) sorted by relevance

/net/tipc/
H A Dnode.c44 static void node_lost_contact(struct tipc_node *n_ptr);
45 static void node_established_contact(struct tipc_node *n_ptr);
94 struct tipc_node *n_ptr, *temp_node; local
98 n_ptr = tipc_node_find(addr);
99 if (n_ptr) {
101 return n_ptr;
104 n_ptr = kzalloc(sizeof(*n_ptr), GFP_ATOMIC);
105 if (!n_ptr) {
111 n_ptr
133 tipc_node_delete(struct tipc_node *n_ptr) argument
147 tipc_node_link_up(struct tipc_node *n_ptr, struct tipc_link *l_ptr) argument
179 node_select_active_links(struct tipc_node *n_ptr) argument
206 tipc_node_link_down(struct tipc_node *n_ptr, struct tipc_link *l_ptr) argument
233 tipc_node_active_links(struct tipc_node *n_ptr) argument
238 tipc_node_redundant_links(struct tipc_node *n_ptr) argument
243 tipc_node_is_up(struct tipc_node *n_ptr) argument
248 tipc_node_attach_link(struct tipc_node *n_ptr, struct tipc_link *l_ptr) argument
255 tipc_node_detach_link(struct tipc_node *n_ptr, struct tipc_link *l_ptr) argument
262 node_established_contact(struct tipc_node *n_ptr) argument
272 struct tipc_node *n_ptr; local
284 node_lost_contact(struct tipc_node *n_ptr) argument
334 struct tipc_node *n_ptr; local
383 struct tipc_node *n_ptr; local
[all...]
H A Dnode.h110 void tipc_node_delete(struct tipc_node *n_ptr);
111 void tipc_node_attach_link(struct tipc_node *n_ptr, struct tipc_link *l_ptr);
112 void tipc_node_detach_link(struct tipc_node *n_ptr, struct tipc_link *l_ptr);
113 void tipc_node_link_down(struct tipc_node *n_ptr, struct tipc_link *l_ptr);
114 void tipc_node_link_up(struct tipc_node *n_ptr, struct tipc_link *l_ptr);
115 int tipc_node_active_links(struct tipc_node *n_ptr);
116 int tipc_node_redundant_links(struct tipc_node *n_ptr);
117 int tipc_node_is_up(struct tipc_node *n_ptr);
121 static inline void tipc_node_lock(struct tipc_node *n_ptr) argument
123 spin_lock_bh(&n_ptr
126 tipc_node_unlock(struct tipc_node *n_ptr) argument
[all...]
H A Ddiscover.c118 struct tipc_node *n_ptr; local
155 n_ptr = tipc_node_find(orig);
156 if (!n_ptr) {
157 n_ptr = tipc_node_create(orig);
158 if (!n_ptr)
161 tipc_node_lock(n_ptr);
164 link = n_ptr->links[b_ptr->identity];
185 if (signature != n_ptr->signature) {
186 if (n_ptr->working_links == 0) {
191 curr_link = n_ptr
[all...]
H A Dbcast.c194 * @n_ptr: node that sent acknowledgement info
199 void tipc_bclink_acknowledge(struct tipc_node *n_ptr, u32 acked) argument
230 less_eq(acked, n_ptr->bclink.acked))
235 while (crs && less_eq(buf_seqno(crs), n_ptr->bclink.acked))
259 n_ptr->bclink.acked = acked;
278 void tipc_bclink_update_link_state(struct tipc_node *n_ptr, u32 last_sent) argument
284 if (less_eq(last_sent, n_ptr->bclink.last_in))
289 bclink_update_last_sent(n_ptr, last_sent);
291 if (n_ptr->bclink.last_sent == n_ptr
343 struct tipc_node *n_ptr = tipc_node_find(msg_destnode(msg)); local
565 tipc_bclink_acks_missing(struct tipc_node *n_ptr) argument
[all...]
H A Dbcast.h91 void tipc_bclink_acknowledge(struct tipc_node *n_ptr, u32 acked);
95 u32 tipc_bclink_acks_missing(struct tipc_node *n_ptr);
96 void tipc_bclink_update_link_state(struct tipc_node *n_ptr, u32 last_sent);
H A Dname_distr.c133 struct tipc_node *n_ptr; local
135 list_for_each_entry(n_ptr, &tipc_node_list, list) {
136 if (tipc_node_active_links(n_ptr)) {
140 msg_set_destnode(buf_msg(buf_copy), n_ptr->addr);
141 tipc_link_send(buf_copy, n_ptr->addr, n_ptr->addr);
236 struct tipc_node *n_ptr; local
244 n_ptr = tipc_node_find(node);
245 if (n_ptr) {
246 tipc_node_lock(n_ptr);
[all...]
H A Dlink.c289 * @n_ptr: pointer to associated node
295 struct tipc_link *tipc_link_create(struct tipc_node *n_ptr, argument
303 u32 peer = n_ptr->addr;
305 if (n_ptr->link_cnt >= 2) {
306 tipc_addr_string_fill(addr_string, n_ptr->addr);
311 if (n_ptr->links[b_ptr->identity]) {
312 tipc_addr_string_fill(addr_string, n_ptr->addr);
333 l_ptr->owner = n_ptr;
358 tipc_node_attach_link(n_ptr, l_ptr);
928 struct tipc_node *n_ptr; local
1000 struct tipc_node *n_ptr; local
1068 struct tipc_node *n_ptr; local
1421 struct tipc_node *n_ptr; local
1462 struct tipc_node *n_ptr; local
1617 struct tipc_node *n_ptr; local
2961 struct tipc_node *n_ptr; local
[all...]
H A Dbearer.c443 struct tipc_node *n_ptr = l_ptr->owner; local
445 spin_lock_bh(&n_ptr->lock);
447 spin_unlock_bh(&n_ptr->lock);
H A Dlink.h209 struct tipc_link *tipc_link_create(struct tipc_node *n_ptr,

Completed in 84 milliseconds