Searched refs:n_ptr (Results 1 – 6 of 6) sorted by relevance
/linux-4.1.27/net/tipc/ |
D | node.c | 43 static void node_lost_contact(struct tipc_node *n_ptr); 44 static void node_established_contact(struct tipc_node *n_ptr); 115 struct tipc_node *n_ptr, *temp_node; in tipc_node_create() local 118 n_ptr = tipc_node_find(net, addr); in tipc_node_create() 119 if (n_ptr) in tipc_node_create() 121 n_ptr = kzalloc(sizeof(*n_ptr), GFP_ATOMIC); in tipc_node_create() 122 if (!n_ptr) { in tipc_node_create() 126 n_ptr->addr = addr; in tipc_node_create() 127 n_ptr->net = net; in tipc_node_create() 128 kref_init(&n_ptr->kref); in tipc_node_create() [all …]
|
D | bcast.c | 190 void tipc_bclink_acknowledge(struct tipc_node *n_ptr, u32 acked) in tipc_bclink_acknowledge() argument 194 struct net *net = n_ptr->net; in tipc_bclink_acknowledge() 197 if (unlikely(!n_ptr->bclink.recv_permitted)) in tipc_bclink_acknowledge() 225 less_eq(acked, n_ptr->bclink.acked)) in tipc_bclink_acknowledge() 231 if (more(buf_seqno(skb), n_ptr->bclink.acked)) in tipc_bclink_acknowledge() 247 n_ptr->bclink.acked = acked; in tipc_bclink_acknowledge() 255 n_ptr->action_flags |= TIPC_WAKEUP_BCAST_USERS; in tipc_bclink_acknowledge() 265 void tipc_bclink_update_link_state(struct tipc_node *n_ptr, in tipc_bclink_update_link_state() argument 269 struct net *net = n_ptr->net; in tipc_bclink_update_link_state() 273 if (less_eq(last_sent, n_ptr->bclink.last_in)) in tipc_bclink_update_link_state() [all …]
|
D | node.h | 145 void tipc_node_attach_link(struct tipc_node *n_ptr, struct tipc_link *l_ptr); 146 void tipc_node_detach_link(struct tipc_node *n_ptr, struct tipc_link *l_ptr); 147 void tipc_node_link_down(struct tipc_node *n_ptr, struct tipc_link *l_ptr); 148 void tipc_node_link_up(struct tipc_node *n_ptr, struct tipc_link *l_ptr); 149 int tipc_node_active_links(struct tipc_node *n_ptr); 150 int tipc_node_is_up(struct tipc_node *n_ptr);
|
D | link.c | 223 struct tipc_link *tipc_link_create(struct tipc_node *n_ptr, in tipc_link_create() argument 227 struct tipc_net *tn = net_generic(n_ptr->net, tipc_net_id); in tipc_link_create() 232 u32 peer = n_ptr->addr; in tipc_link_create() 234 if (n_ptr->link_cnt >= MAX_BEARERS) { in tipc_link_create() 235 tipc_addr_string_fill(addr_string, n_ptr->addr); in tipc_link_create() 237 n_ptr->link_cnt, addr_string, MAX_BEARERS); in tipc_link_create() 241 if (n_ptr->links[b_ptr->identity]) { in tipc_link_create() 242 tipc_addr_string_fill(addr_string, n_ptr->addr); in tipc_link_create() 263 l_ptr->owner = n_ptr; in tipc_link_create() 291 tipc_node_attach_link(n_ptr, l_ptr); in tipc_link_create() [all …]
|
D | bcast.h | 120 void tipc_bclink_acknowledge(struct tipc_node *n_ptr, u32 acked); 123 u32 tipc_bclink_acks_missing(struct tipc_node *n_ptr);
|
D | link.h | 212 struct tipc_link *tipc_link_create(struct tipc_node *n_ptr,
|