Home
last modified time | relevance | path

Searched refs:mon (Results 1 – 2 of 2) sorted by relevance

/net/tipc/
Dmonitor.c183 static struct tipc_peer *get_peer(struct tipc_monitor *mon, u32 addr) in get_peer() argument
188 hlist_for_each_entry(peer, &mon->peers[thash], hash) { in get_peer()
197 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); in get_self() local
199 return mon->self; in get_self()
202 static inline bool tipc_mon_is_active(struct net *net, struct tipc_monitor *mon) in tipc_mon_is_active() argument
206 return mon->peer_cnt > tn->mon_threshold; in tipc_mon_is_active()
245 static void mon_apply_domain(struct tipc_monitor *mon, in mon_apply_domain() argument
270 static void mon_update_local_domain(struct tipc_monitor *mon) in mon_update_local_domain() argument
272 struct tipc_peer *self = mon->self; in mon_update_local_domain()
273 struct tipc_mon_domain *cache = &mon->cache; in mon_update_local_domain()
[all …]
Dnode.c2874 struct nlattr *mon[TIPC_NLA_MON_MAX + 1]; in tipc_nl_node_dump_monitor_peer() local
2879 err = nla_parse_nested_deprecated(mon, TIPC_NLA_MON_MAX, in tipc_nl_node_dump_monitor_peer()
2886 if (!mon[TIPC_NLA_MON_REF]) in tipc_nl_node_dump_monitor_peer()
2889 bearer_id = nla_get_u32(mon[TIPC_NLA_MON_REF]); in tipc_nl_node_dump_monitor_peer()