Lines Matching refs:bcbearer

106 static struct tipc_bcbearer *bcbearer = &bcast_bearer;  variable
330 tipc_bearer_send(&bcbearer->bearer, buf, NULL); in tipc_bclink_update_link_state()
622 bcbearer->remains = bclink->bcast_nodes; in tipc_bcbearer_send()
625 struct tipc_bearer *p = bcbearer->bpairs[bp_index].primary; in tipc_bcbearer_send()
626 struct tipc_bearer *s = bcbearer->bpairs[bp_index].secondary; in tipc_bcbearer_send()
631 tipc_nmap_diff(&bcbearer->remains, &p->nodes, &bcbearer->remains_new); in tipc_bcbearer_send()
632 if (bcbearer->remains_new.count == bcbearer->remains.count) in tipc_bcbearer_send()
647 bcbearer->bpairs[bp_index].primary = s; in tipc_bcbearer_send()
648 bcbearer->bpairs[bp_index].secondary = p; in tipc_bcbearer_send()
651 if (bcbearer->remains_new.count == 0) in tipc_bcbearer_send()
654 bcbearer->remains = bcbearer->remains_new; in tipc_bcbearer_send()
666 struct tipc_bcbearer_pair *bp_temp = bcbearer->bpairs_temp; in tipc_bcbearer_sort()
675 memset(bp_temp, 0, sizeof(bcbearer->bpairs_temp)); in tipc_bcbearer_sort()
691 bp_curr = bcbearer->bpairs; in tipc_bcbearer_sort()
692 memset(bcbearer->bpairs, 0, sizeof(bcbearer->bpairs)); in tipc_bcbearer_sort()
790 INIT_LIST_HEAD(&bcbearer->bearer.cong_links); in tipc_bclink_init()
791 bcbearer->bearer.media = &bcbearer->media; in tipc_bclink_init()
792 bcbearer->media.send_msg = tipc_bcbearer_send; in tipc_bclink_init()
793 sprintf(bcbearer->media.name, "tipc-broadcast"); in tipc_bclink_init()
801 bcl->b_ptr = &bcbearer->bearer; in tipc_bclink_init()
813 memset(bcbearer, 0, sizeof(*bcbearer)); in tipc_bclink_stop()