Searched refs:bcbearer (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/net/tipc/
H A Dbcast.c601 struct tipc_bcbearer *bcbearer = tn->bcbearer; tipc_bcbearer_send() local
621 bcbearer->remains = bclink->bcast_nodes; tipc_bcbearer_send()
624 struct tipc_bearer *p = bcbearer->bpairs[bp_index].primary; tipc_bcbearer_send()
625 struct tipc_bearer *s = bcbearer->bpairs[bp_index].secondary; tipc_bcbearer_send()
634 tipc_nmap_diff(&bcbearer->remains, &b->nodes, tipc_bcbearer_send()
635 &bcbearer->remains_new); tipc_bcbearer_send()
636 if (bcbearer->remains_new.count == bcbearer->remains.count) tipc_bcbearer_send()
651 if (bcbearer->remains_new.count == 0) tipc_bcbearer_send()
654 bcbearer->remains = bcbearer->remains_new; tipc_bcbearer_send()
667 struct tipc_bcbearer *bcbearer = tn->bcbearer; tipc_bcbearer_sort() local
668 struct tipc_bcbearer_pair *bp_temp = bcbearer->bpairs_temp; tipc_bcbearer_sort()
682 memset(bp_temp, 0, sizeof(bcbearer->bpairs_temp)); tipc_bcbearer_sort()
698 bp_curr = bcbearer->bpairs; tipc_bcbearer_sort()
699 memset(bcbearer->bpairs, 0, sizeof(bcbearer->bpairs)); tipc_bcbearer_sort()
872 struct tipc_bcbearer *bcbearer; tipc_bclink_init() local
876 bcbearer = kzalloc(sizeof(*bcbearer), GFP_ATOMIC); tipc_bclink_init()
877 if (!bcbearer) tipc_bclink_init()
882 kfree(bcbearer); tipc_bclink_init()
887 bcbearer->bearer.media = &bcbearer->media; tipc_bclink_init()
888 bcbearer->media.send_msg = tipc_bcbearer_send; tipc_bclink_init()
889 sprintf(bcbearer->media.name, "tipc-broadcast"); tipc_bclink_init()
905 rcu_assign_pointer(tn->bearer_list[MAX_BEARERS], &bcbearer->bearer); tipc_bclink_init()
910 tn->bcbearer = bcbearer; tipc_bclink_init()
926 kfree(tn->bcbearer); tipc_bclink_stop()
H A Dcore.h93 struct tipc_bcbearer *bcbearer; member in struct:tipc_net

Completed in 96 milliseconds