Home
last modified time | relevance | path

Searched refs:MAX_BEARERS (Results 1 – 6 of 6) sorted by relevance

/net/tipc/
Dbearer.c52 struct tipc_bearer __rcu *bearer_list[MAX_BEARERS + 1];
180 for (i = 0; i < MAX_BEARERS; i++) { in tipc_bearer_find()
197 buf = tipc_cfg_reply_alloc(MAX_BEARERS * TLV_SPACE(TIPC_MAX_BEARER_NAME)); in tipc_bearer_get_names()
202 for (j = 0; j < MAX_BEARERS; j++) { in tipc_bearer_get_names()
295 bearer_id = MAX_BEARERS; in tipc_enable_bearer()
297 for (i = MAX_BEARERS; i-- != 0; ) { in tipc_enable_bearer()
320 if (bearer_id >= MAX_BEARERS) { in tipc_enable_bearer()
322 name, MAX_BEARERS); in tipc_enable_bearer()
389 for (i = 0; i < MAX_BEARERS; i++) { in bearer_disable()
622 for (i = 0; i < MAX_BEARERS; i++) { in tipc_bearer_stop()
Dbcast.c47 #define BCBEARER MAX_BEARERS
80 struct tipc_bcbearer_pair bpairs[MAX_BEARERS];
371 tipc_bearer_send(MAX_BEARERS, buf, NULL); in tipc_bclink_update_link_state()
673 for (bp_index = 0; bp_index < MAX_BEARERS; bp_index++) { in tipc_bcbearer_send()
731 for (b_index = 0; b_index < MAX_BEARERS; b_index++) { in tipc_bcbearer_sort()
861 bcl->bearer_id = MAX_BEARERS; in tipc_bclink_init()
862 rcu_assign_pointer(bearer_list[MAX_BEARERS], &bcbearer->bearer); in tipc_bclink_init()
Dnode.c265 for (i = 0; i < MAX_BEARERS; i++) { in node_select_active_links()
349 for (i = 0; i < MAX_BEARERS; i++) { in tipc_node_detach_link()
393 for (i = 0; i < MAX_BEARERS; i++) { in node_lost_contact()
507 for (i = 0; i < MAX_BEARERS; i++) { in tipc_node_get_links()
536 if ((bearer_id >= MAX_BEARERS) || !node) in tipc_node_get_linkname()
Dnode.h116 struct tipc_link *links[MAX_BEARERS];
Dbearer.h42 #define MAX_BEARERS 2 macro
Dlink.c936 for (i = 0; i < MAX_BEARERS; i++) { in tipc_link_reset_all()
1891 if (bearer_id >= MAX_BEARERS) in tipc_link_tunnel_rcv()
1992 for (i = 0; i < MAX_BEARERS; i++) { in tipc_link_find_owner()