bearer_id 226 include/uapi/linux/tipc.h __u32 bearer_id; bearer_id 140 net/tipc/bcast.c void tipc_bcast_inc_bearer_dst_cnt(struct net *net, int bearer_id) bearer_id 145 net/tipc/bcast.c bb->dests[bearer_id]++; bearer_id 150 net/tipc/bcast.c void tipc_bcast_dec_bearer_dst_cnt(struct net *net, int bearer_id) bearer_id 155 net/tipc/bcast.c bb->dests[bearer_id]--; bearer_id 172 net/tipc/bcast.c int bearer_id; bearer_id 181 net/tipc/bcast.c bearer_id = bb->primary_bearer; bearer_id 182 net/tipc/bcast.c if (bearer_id >= 0) { bearer_id 183 net/tipc/bcast.c tipc_bearer_bc_xmit(net, bearer_id, xmitq); bearer_id 189 net/tipc/bcast.c for (bearer_id = 0; bearer_id < MAX_BEARERS; bearer_id++) { bearer_id 190 net/tipc/bcast.c if (!bb->dests[bearer_id]) bearer_id 199 net/tipc/bcast.c tipc_bearer_bc_xmit(net, bearer_id, &_xmitq); bearer_id 85 net/tipc/bcast.h void tipc_bcast_inc_bearer_dst_cnt(struct net *net, int bearer_id); bearer_id 86 net/tipc/bcast.h void tipc_bcast_dec_bearer_dst_cnt(struct net *net, int bearer_id); bearer_id 61 net/tipc/bearer.c static struct tipc_bearer *bearer_get(struct net *net, int bearer_id) bearer_id 65 net/tipc/bearer.c return rcu_dereference(tn->bearer_list[bearer_id]); bearer_id 191 net/tipc/bearer.c int tipc_bearer_get_name(struct net *net, char *name, u32 bearer_id) bearer_id 196 net/tipc/bearer.c if (bearer_id >= MAX_BEARERS) bearer_id 199 net/tipc/bearer.c b = rtnl_dereference(tn->bearer_list[bearer_id]); bearer_id 207 net/tipc/bearer.c void tipc_bearer_add_dest(struct net *net, u32 bearer_id, u32 dest) bearer_id 213 net/tipc/bearer.c b = rcu_dereference(tn->bearer_list[bearer_id]); bearer_id 219 net/tipc/bearer.c void tipc_bearer_remove_dest(struct net *net, u32 bearer_id, u32 dest) bearer_id 225 net/tipc/bearer.c b = rcu_dereference(tn->bearer_list[bearer_id]); bearer_id 244 net/tipc/bearer.c int bearer_id = 0; bearer_id 268 net/tipc/bearer.c while (bearer_id < MAX_BEARERS) { bearer_id 269 net/tipc/bearer.c b = rtnl_dereference(tn->bearer_list[bearer_id]); bearer_id 276 net/tipc/bearer.c bearer_id++; bearer_id 289 net/tipc/bearer.c bearer_id = 0; bearer_id 293 net/tipc/bearer.c if (bearer_id >= MAX_BEARERS) { bearer_id 311 net/tipc/bearer.c b->identity = bearer_id; bearer_id 315 net/tipc/bearer.c b->net_plane = bearer_id + 'A'; bearer_id 326 net/tipc/bearer.c rcu_assign_pointer(tn->bearer_list[bearer_id], b); bearer_id 328 net/tipc/bearer.c tipc_bearer_xmit_skb(net, bearer_id, skb, &b->bcast_addr); bearer_id 330 net/tipc/bearer.c if (tipc_mon_create(net, bearer_id)) { bearer_id 362 net/tipc/bearer.c int bearer_id = b->identity; bearer_id 366 net/tipc/bearer.c tipc_node_delete_links(net, bearer_id); bearer_id 371 net/tipc/bearer.c RCU_INIT_POINTER(tn->bearer_list[bearer_id], NULL); bearer_id 373 net/tipc/bearer.c tipc_mon_delete(net, bearer_id); bearer_id 470 net/tipc/bearer.c bool tipc_bearer_bcast_support(struct net *net, u32 bearer_id) bearer_id 476 net/tipc/bearer.c b = bearer_get(net, bearer_id); bearer_id 483 net/tipc/bearer.c int tipc_bearer_mtu(struct net *net, u32 bearer_id) bearer_id 489 net/tipc/bearer.c b = rcu_dereference(tipc_net(net)->bearer_list[bearer_id]); bearer_id 498 net/tipc/bearer.c void tipc_bearer_xmit_skb(struct net *net, u32 bearer_id, bearer_id 506 net/tipc/bearer.c b = bearer_get(net, bearer_id); bearer_id 516 net/tipc/bearer.c void tipc_bearer_xmit(struct net *net, u32 bearer_id, bearer_id 527 net/tipc/bearer.c b = bearer_get(net, bearer_id); bearer_id 542 net/tipc/bearer.c void tipc_bearer_bc_xmit(struct net *net, u32 bearer_id, bearer_id 552 net/tipc/bearer.c b = bearer_get(net, bearer_id); bearer_id 217 net/tipc/bearer.h void tipc_bearer_add_dest(struct net *net, u32 bearer_id, u32 dest); bearer_id 218 net/tipc/bearer.h void tipc_bearer_remove_dest(struct net *net, u32 bearer_id, u32 dest); bearer_id 220 net/tipc/bearer.h int tipc_bearer_get_name(struct net *net, char *name, u32 bearer_id); bearer_id 225 net/tipc/bearer.h int tipc_bearer_mtu(struct net *net, u32 bearer_id); bearer_id 226 net/tipc/bearer.h bool tipc_bearer_bcast_support(struct net *net, u32 bearer_id); bearer_id 227 net/tipc/bearer.h void tipc_bearer_xmit_skb(struct net *net, u32 bearer_id, bearer_id 230 net/tipc/bearer.h void tipc_bearer_xmit(struct net *net, u32 bearer_id, bearer_id 233 net/tipc/bearer.h void tipc_bearer_bc_xmit(struct net *net, u32 bearer_id, bearer_id 63 net/tipc/discover.c u32 bearer_id; bearer_id 294 net/tipc/discover.c u32 bearer_id; bearer_id 328 net/tipc/discover.c bearer_id = d->bearer_id; bearer_id 332 net/tipc/discover.c tipc_bearer_xmit_skb(net, bearer_id, skb, &maddr); bearer_id 367 net/tipc/discover.c d->bearer_id = b->identity; bearer_id 405 net/tipc/discover.c d->bearer_id = b->identity; bearer_id 134 net/tipc/link.c u32 bearer_id; bearer_id 307 net/tipc/link.c return l->peer_bearer_id << 16 | l->bearer_id; bearer_id 442 net/tipc/link.c bool tipc_link_create(struct net *net, char *if_name, int bearer_id, bearer_id 480 net/tipc/link.c l->bearer_id = bearer_id; bearer_id 785 net/tipc/link.c tipc_mon_get_state(l->net, l->addr, mstate, l->bearer_id); bearer_id 1634 net/tipc/link.c msg_set_bearer_id(hdr, l->bearer_id); bearer_id 1656 net/tipc/link.c tipc_mon_prep(l->net, data + glen, &dlen, mstate, l->bearer_id); bearer_id 2063 net/tipc/link.c &l->mon_state, l->bearer_id); bearer_id 74 net/tipc/link.h bool tipc_link_create(struct net *net, char *if_name, int bearer_id, bearer_id 100 net/tipc/monitor.c static struct tipc_monitor *tipc_monitor(struct net *net, int bearer_id) bearer_id 102 net/tipc/monitor.c return tipc_net(net)->monitors[bearer_id]; bearer_id 165 net/tipc/monitor.c static struct tipc_peer *get_self(struct net *net, int bearer_id) bearer_id 167 net/tipc/monitor.c struct tipc_monitor *mon = tipc_monitor(net, bearer_id); bearer_id 322 net/tipc/monitor.c void tipc_mon_remove_peer(struct net *net, u32 addr, int bearer_id) bearer_id 324 net/tipc/monitor.c struct tipc_monitor *mon = tipc_monitor(net, bearer_id); bearer_id 325 net/tipc/monitor.c struct tipc_peer *self = get_self(net, bearer_id); bearer_id 388 net/tipc/monitor.c void tipc_mon_peer_up(struct net *net, u32 addr, int bearer_id) bearer_id 390 net/tipc/monitor.c struct tipc_monitor *mon = tipc_monitor(net, bearer_id); bearer_id 391 net/tipc/monitor.c struct tipc_peer *self = get_self(net, bearer_id); bearer_id 407 net/tipc/monitor.c void tipc_mon_peer_down(struct net *net, u32 addr, int bearer_id) bearer_id 409 net/tipc/monitor.c struct tipc_monitor *mon = tipc_monitor(net, bearer_id); bearer_id 410 net/tipc/monitor.c struct tipc_peer *self = get_self(net, bearer_id); bearer_id 418 net/tipc/monitor.c pr_warn("Mon: unknown link %x/%u DOWN\n", addr, bearer_id); bearer_id 443 net/tipc/monitor.c struct tipc_mon_state *state, int bearer_id) bearer_id 445 net/tipc/monitor.c struct tipc_monitor *mon = tipc_monitor(net, bearer_id); bearer_id 526 net/tipc/monitor.c struct tipc_mon_state *state, int bearer_id) bearer_id 528 net/tipc/monitor.c struct tipc_monitor *mon = tipc_monitor(net, bearer_id); bearer_id 560 net/tipc/monitor.c int bearer_id) bearer_id 562 net/tipc/monitor.c struct tipc_monitor *mon = tipc_monitor(net, bearer_id); bearer_id 606 net/tipc/monitor.c int tipc_mon_create(struct net *net, int bearer_id) bearer_id 613 net/tipc/monitor.c if (tn->monitors[bearer_id]) bearer_id 625 net/tipc/monitor.c tn->monitors[bearer_id] = mon; bearer_id 641 net/tipc/monitor.c void tipc_mon_delete(struct net *net, int bearer_id) bearer_id 644 net/tipc/monitor.c struct tipc_monitor *mon = tipc_monitor(net, bearer_id); bearer_id 651 net/tipc/monitor.c self = get_self(net, bearer_id); bearer_id 653 net/tipc/monitor.c tn->monitors[bearer_id] = NULL; bearer_id 671 net/tipc/monitor.c int bearer_id; bearer_id 673 net/tipc/monitor.c for (bearer_id = 0; bearer_id < MAX_BEARERS; bearer_id++) { bearer_id 674 net/tipc/monitor.c mon = tipc_monitor(net, bearer_id); bearer_id 757 net/tipc/monitor.c u32 bearer_id, u32 *prev_node) bearer_id 759 net/tipc/monitor.c struct tipc_monitor *mon = tipc_monitor(net, bearer_id); bearer_id 786 net/tipc/monitor.c u32 bearer_id) bearer_id 788 net/tipc/monitor.c struct tipc_monitor *mon = tipc_monitor(net, bearer_id); bearer_id 794 net/tipc/monitor.c ret = tipc_bearer_get_name(net, bearer_name, bearer_id); bearer_id 808 net/tipc/monitor.c if (nla_put_u32(msg->skb, TIPC_NLA_MON_REF, bearer_id)) bearer_id 60 net/tipc/monitor.h int tipc_mon_create(struct net *net, int bearer_id); bearer_id 61 net/tipc/monitor.h void tipc_mon_delete(struct net *net, int bearer_id); bearer_id 63 net/tipc/monitor.h void tipc_mon_peer_up(struct net *net, u32 addr, int bearer_id); bearer_id 64 net/tipc/monitor.h void tipc_mon_peer_down(struct net *net, u32 addr, int bearer_id); bearer_id 66 net/tipc/monitor.h struct tipc_mon_state *state, int bearer_id); bearer_id 68 net/tipc/monitor.h struct tipc_mon_state *state, int bearer_id); bearer_id 71 net/tipc/monitor.h int bearer_id); bearer_id 72 net/tipc/monitor.h void tipc_mon_remove_peer(struct net *net, u32 addr, int bearer_id); bearer_id 77 net/tipc/monitor.h u32 bearer_id); bearer_id 79 net/tipc/monitor.h u32 bearer_id, u32 *prev_node); bearer_id 155 net/tipc/node.c static void __tipc_node_link_down(struct tipc_node *n, int *bearer_id, bearer_id 158 net/tipc/node.c static void tipc_node_link_down(struct tipc_node *n, int bearer_id, bearer_id 179 net/tipc/node.c int bearer_id = n->active_links[sel & 1]; bearer_id 181 net/tipc/node.c if (unlikely(bearer_id == INVALID_BEARER_ID)) bearer_id 184 net/tipc/node.c return n->links[bearer_id].link; bearer_id 190 net/tipc/node.c int bearer_id; bearer_id 197 net/tipc/node.c bearer_id = n->active_links[sel & 1]; bearer_id 198 net/tipc/node.c if (likely(bearer_id != INVALID_BEARER_ID)) bearer_id 199 net/tipc/node.c mtu = n->links[bearer_id].mtu; bearer_id 327 net/tipc/node.c u32 bearer_id; bearer_id 337 net/tipc/node.c bearer_id = link_id & 0xffff; bearer_id 352 net/tipc/node.c tipc_mon_peer_up(net, addr, bearer_id); bearer_id 357 net/tipc/node.c tipc_mon_peer_down(net, addr, bearer_id); bearer_id 369 net/tipc/node.c int bearer_id; bearer_id 380 net/tipc/node.c for (bearer_id = 0; bearer_id < MAX_BEARERS; bearer_id++) { bearer_id 381 net/tipc/node.c l = n->links[bearer_id].link; bearer_id 638 net/tipc/node.c int bearer_id; bearer_id 656 net/tipc/node.c for (bearer_id = 0; remains && (bearer_id < MAX_BEARERS); bearer_id++) { bearer_id 658 net/tipc/node.c le = &n->links[bearer_id]; bearer_id 668 net/tipc/node.c tipc_bearer_xmit(n->net, bearer_id, &xmitq, &le->maddr); bearer_id 670 net/tipc/node.c tipc_node_link_down(n, bearer_id, false); bearer_id 680 net/tipc/node.c static void __tipc_node_link_up(struct tipc_node *n, int bearer_id, bearer_id 686 net/tipc/node.c struct tipc_link *nl = n->links[bearer_id].link; bearer_id 700 net/tipc/node.c n->links[bearer_id].mtu = tipc_link_mtu(nl) - INT_H_SIZE; bearer_id 702 net/tipc/node.c tipc_bearer_add_dest(n->net, bearer_id, n->addr); bearer_id 703 net/tipc/node.c tipc_bcast_inc_bearer_dst_cnt(n->net, bearer_id); bearer_id 714 net/tipc/node.c *slot0 = bearer_id; bearer_id 715 net/tipc/node.c *slot1 = bearer_id; bearer_id 726 net/tipc/node.c *slot0 = bearer_id; bearer_id 727 net/tipc/node.c *slot1 = bearer_id; bearer_id 732 net/tipc/node.c *slot1 = bearer_id; bearer_id 746 net/tipc/node.c static void tipc_node_link_up(struct tipc_node *n, int bearer_id, bearer_id 752 net/tipc/node.c __tipc_node_link_up(n, bearer_id, xmitq); bearer_id 753 net/tipc/node.c maddr = &n->links[bearer_id].maddr; bearer_id 754 net/tipc/node.c tipc_bearer_xmit(n->net, bearer_id, xmitq, maddr); bearer_id 804 net/tipc/node.c static void __tipc_node_link_down(struct tipc_node *n, int *bearer_id, bearer_id 808 net/tipc/node.c struct tipc_link_entry *le = &n->links[*bearer_id]; bearer_id 814 net/tipc/node.c l = n->links[*bearer_id].link; bearer_id 822 net/tipc/node.c tipc_bearer_remove_dest(n->net, *bearer_id, n->addr); bearer_id 856 net/tipc/node.c *maddr = &n->links[*bearer_id].maddr; bearer_id 858 net/tipc/node.c tipc_bcast_dec_bearer_dst_cnt(n->net, *bearer_id); bearer_id 861 net/tipc/node.c tipc_bcast_dec_bearer_dst_cnt(n->net, *bearer_id); bearer_id 864 net/tipc/node.c *bearer_id = n->active_links[0]; bearer_id 865 net/tipc/node.c tnl = n->links[*bearer_id].link; bearer_id 875 net/tipc/node.c *maddr = &n->links[*bearer_id].maddr; bearer_id 878 net/tipc/node.c static void tipc_node_link_down(struct tipc_node *n, int bearer_id, bool delete) bearer_id 880 net/tipc/node.c struct tipc_link_entry *le = &n->links[bearer_id]; bearer_id 883 net/tipc/node.c int old_bearer_id = bearer_id; bearer_id 893 net/tipc/node.c __tipc_node_link_down(n, &bearer_id, &xmitq, &maddr); bearer_id 909 net/tipc/node.c tipc_bearer_xmit(n->net, bearer_id, &xmitq, maddr); bearer_id 1117 net/tipc/node.c void tipc_node_delete_links(struct net *net, int bearer_id) bearer_id 1124 net/tipc/node.c tipc_node_link_down(n, bearer_id, true); bearer_id 1368 net/tipc/node.c int tipc_node_get_linkname(struct net *net, u32 bearer_id, u32 addr, bearer_id 1378 net/tipc/node.c if (bearer_id >= MAX_BEARERS) bearer_id 1382 net/tipc/node.c link = node->links[bearer_id].link; bearer_id 1442 net/tipc/node.c int bearer_id; bearer_id 1459 net/tipc/node.c bearer_id = n->active_links[selector & 1]; bearer_id 1460 net/tipc/node.c if (unlikely(bearer_id == INVALID_BEARER_ID)) { bearer_id 1468 net/tipc/node.c le = &n->links[bearer_id]; bearer_id 1475 net/tipc/node.c tipc_node_link_down(n, bearer_id, false); bearer_id 1477 net/tipc/node.c tipc_bearer_xmit(net, bearer_id, &xmitq, &le->maddr); bearer_id 1555 net/tipc/node.c int bearer_id, struct sk_buff_head *xmitq) bearer_id 1576 net/tipc/node.c ucl = n->links[bearer_id].link; bearer_id 1590 net/tipc/node.c static void tipc_node_bc_rcv(struct net *net, struct sk_buff *skb, int bearer_id) bearer_id 1613 net/tipc/node.c le = &n->links[bearer_id]; bearer_id 1625 net/tipc/node.c tipc_bearer_xmit(net, bearer_id, &xmitq, &le->maddr); bearer_id 1648 net/tipc/node.c int bearer_id, struct sk_buff_head *xmitq) bearer_id 1665 net/tipc/node.c l = n->links[bearer_id].link; bearer_id 1676 net/tipc/node.c if ((pb_id != bearer_id) && n->links[pb_id].link) { bearer_id 1757 net/tipc/node.c __tipc_node_link_up(n, bearer_id, xmitq); bearer_id 1805 net/tipc/node.c int bearer_id = b->identity; bearer_id 1826 net/tipc/node.c return tipc_node_bc_rcv(net, skb, bearer_id); bearer_id 1837 net/tipc/node.c le = &n->links[bearer_id]; bearer_id 1841 net/tipc/node.c tipc_node_bc_sync_rcv(n, hdr, bearer_id, &xmitq); bearer_id 1862 net/tipc/node.c if (tipc_node_check_state(n, skb, bearer_id, &xmitq)) { bearer_id 1872 net/tipc/node.c tipc_node_link_up(n, bearer_id, &xmitq); bearer_id 1875 net/tipc/node.c tipc_node_link_down(n, bearer_id, false); bearer_id 1887 net/tipc/node.c tipc_bearer_xmit(net, bearer_id, &xmitq, &le->maddr); bearer_id 1898 net/tipc/node.c int bearer_id = b->identity; bearer_id 1909 net/tipc/node.c e = &n->links[bearer_id]; bearer_id 1918 net/tipc/node.c tipc_bearer_xmit(net, bearer_id, &xmitq, &e->maddr); bearer_id 2049 net/tipc/node.c unsigned int *bearer_id) bearer_id 2057 net/tipc/node.c *bearer_id = 0; bearer_id 2064 net/tipc/node.c *bearer_id = i; bearer_id 2082 net/tipc/node.c int bearer_id; bearer_id 2109 net/tipc/node.c node = tipc_node_find_by_name(net, name, &bearer_id); bearer_id 2115 net/tipc/node.c link = node->links[bearer_id].link; bearer_id 2153 net/tipc/node.c tipc_bearer_xmit(net, bearer_id, &xmitq, &node->links[bearer_id].maddr); bearer_id 2191 net/tipc/node.c int bearer_id; bearer_id 2195 net/tipc/node.c node = tipc_node_find_by_name(net, name, &bearer_id); bearer_id 2202 net/tipc/node.c link = node->links[bearer_id].link; bearer_id 2226 net/tipc/node.c unsigned int bearer_id; bearer_id 2254 net/tipc/node.c node = tipc_node_find_by_name(net, link_name, &bearer_id); bearer_id 2258 net/tipc/node.c le = &node->links[bearer_id]; bearer_id 2261 net/tipc/node.c link = node->links[bearer_id].link; bearer_id 2454 net/tipc/node.c int bearer_id; bearer_id 2465 net/tipc/node.c for (bearer_id = prev_bearer; bearer_id < MAX_BEARERS; bearer_id++) { bearer_id 2466 net/tipc/node.c err = __tipc_nl_add_monitor(net, &msg, bearer_id); bearer_id 2471 net/tipc/node.c cb->args[0] = bearer_id; bearer_id 2481 net/tipc/node.c u32 bearer_id = cb->args[2]; bearer_id 2507 net/tipc/node.c bearer_id = nla_get_u32(mon[TIPC_NLA_MON_REF]); bearer_id 2509 net/tipc/node.c if (bearer_id >= MAX_BEARERS) bearer_id 2521 net/tipc/node.c err = tipc_nl_add_monitor_peer(net, &msg, bearer_id, &prev_node); bearer_id 2528 net/tipc/node.c cb->args[2] = bearer_id; bearer_id 81 net/tipc/node.h void tipc_node_delete_links(struct net *net, int bearer_id); bearer_id 83 net/tipc/node.h int tipc_node_get_linkname(struct net *net, u32 bearer_id, u32 node, bearer_id 3118 net/tipc/socket.c lnr.bearer_id & 0xffff, lnr.peer,