Searched refs:n_ptr (Results 1 - 9 of 9) sorted by relevance
/net/tipc/ |
H A D | node.c | 44 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 D | node.h | 110 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 D | discover.c | 118 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 D | bcast.c | 194 * @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 D | bcast.h | 91 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 D | name_distr.c | 133 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 D | link.c | 289 * @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 D | bearer.c | 443 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 D | link.h | 209 struct tipc_link *tipc_link_create(struct tipc_node *n_ptr,
|
Completed in 84 milliseconds