Searched refs:mon (Results 1 – 2 of 2) sorted by relevance
153 static struct tipc_peer *get_peer(struct tipc_monitor *mon, u32 addr) in get_peer() argument158 hlist_for_each_entry(peer, &mon->peers[thash], hash) { in get_peer()167 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); in get_self() local169 return mon->self; in get_self()172 static inline bool tipc_mon_is_active(struct net *net, struct tipc_monitor *mon) in tipc_mon_is_active() argument176 return mon->peer_cnt > tn->mon_threshold; in tipc_mon_is_active()215 static void mon_apply_domain(struct tipc_monitor *mon, in mon_apply_domain() argument240 static void mon_update_local_domain(struct tipc_monitor *mon) in mon_update_local_domain() argument242 struct tipc_peer *self = mon->self; in mon_update_local_domain()243 struct tipc_mon_domain *cache = &mon->cache; in mon_update_local_domain()[all …]
2828 struct nlattr *mon[TIPC_NLA_MON_MAX + 1]; in tipc_nl_node_dump_monitor_peer() local2833 err = nla_parse_nested_deprecated(mon, TIPC_NLA_MON_MAX, in tipc_nl_node_dump_monitor_peer()2840 if (!mon[TIPC_NLA_MON_REF]) in tipc_nl_node_dump_monitor_peer()2843 bearer_id = nla_get_u32(mon[TIPC_NLA_MON_REF]); in tipc_nl_node_dump_monitor_peer()