Searched refs:b_ptr (Results 1 – 6 of 6) sorted by relevance
/linux-4.1.27/net/tipc/ |
D | bearer.c | 74 static void bearer_disable(struct net *net, struct tipc_bearer *b_ptr, 179 struct tipc_bearer *b_ptr; in tipc_bearer_find() local 183 b_ptr = rtnl_dereference(tn->bearer_list[i]); in tipc_bearer_find() 184 if (b_ptr && (!strcmp(b_ptr->name, name))) in tipc_bearer_find() 185 return b_ptr; in tipc_bearer_find() 193 struct tipc_bearer *b_ptr; in tipc_bearer_add_dest() local 196 b_ptr = rcu_dereference_rtnl(tn->bearer_list[bearer_id]); in tipc_bearer_add_dest() 197 if (b_ptr) { in tipc_bearer_add_dest() 198 tipc_bcbearer_sort(net, &b_ptr->nodes, dest, true); in tipc_bearer_add_dest() 199 tipc_disc_add_dest(b_ptr->link_req); in tipc_bearer_add_dest() [all …]
|
D | discover.c | 81 struct tipc_bearer *b_ptr) in tipc_disc_init_msg() argument 85 u32 dest_domain = b_ptr->domain; in tipc_disc_init_msg() 95 b_ptr->media->addr2msg(msg_media_addr(msg), &b_ptr->addr); in tipc_disc_init_msg() 104 static void disc_dupl_alert(struct tipc_bearer *b_ptr, u32 node_addr, in disc_dupl_alert() argument 114 media_addr_str, b_ptr->name); in disc_dupl_alert() 358 int tipc_disc_create(struct net *net, struct tipc_bearer *b_ptr, in tipc_disc_create() argument 372 tipc_disc_init_msg(net, req->buf, DSC_REQ_MSG, b_ptr); in tipc_disc_create() 375 req->bearer_id = b_ptr->identity; in tipc_disc_create() 376 req->domain = b_ptr->domain; in tipc_disc_create() 382 b_ptr->link_req = req; in tipc_disc_create() [all …]
|
D | discover.h | 42 int tipc_disc_create(struct net *net, struct tipc_bearer *b_ptr, 45 void tipc_disc_reset(struct net *net, struct tipc_bearer *b_ptr); 49 struct tipc_bearer *b_ptr);
|
D | bearer.h | 106 struct tipc_bearer *b_ptr, 108 int (*enable_media)(struct net *net, struct tipc_bearer *b_ptr, 110 void (*disable_media)(struct tipc_bearer *b_ptr); 178 void tipc_rcv(struct net *net, struct sk_buff *skb, struct tipc_bearer *b_ptr);
|
D | link.c | 224 struct tipc_bearer *b_ptr, in tipc_link_create() argument 241 if (n_ptr->links[b_ptr->identity]) { in tipc_link_create() 244 b_ptr->name, addr_string); in tipc_link_create() 255 if_name = strchr(b_ptr->name, ':') + 1; in tipc_link_create() 266 l_ptr->bearer_id = b_ptr->identity; in tipc_link_create() 267 link_set_supervision_props(l_ptr, b_ptr->tolerance); in tipc_link_create() 276 msg_set_bearer_id(msg, b_ptr->identity); in tipc_link_create() 278 l_ptr->net_plane = b_ptr->net_plane; in tipc_link_create() 279 l_ptr->advertised_mtu = b_ptr->mtu; in tipc_link_create() 281 l_ptr->priority = b_ptr->priority; in tipc_link_create() [all …]
|
D | link.h | 213 struct tipc_bearer *b_ptr,
|