Lines Matching full:lower
52 * @lower: service range lower bound
62 u32 lower; member
99 ((sr)->lower <= (end) && (sr)->upper >= (start)) in RB_DECLARE_CALLBACKS_MAX()
139 * subtree. If not, it has lower > end, then nodes on
155 if (sr->lower <= end &&
184 * subtree. If not, it has lower > end, then any next in service_range_match_next()
204 if (sr->lower <= end) { in service_range_match_next()
222 static struct publication *tipc_publ_create(u32 type, u32 lower, u32 upper, in tipc_publ_create() argument
232 publ->lower = lower; in tipc_publ_create()
272 u32 lower, u32 upper) in tipc_service_find_range() argument
276 service_range_foreach_match(sr, sc, lower, upper) { in tipc_service_find_range()
278 if (sr->lower == lower && sr->upper == upper) in tipc_service_find_range()
286 u32 lower, u32 upper) in tipc_service_create_range() argument
295 if (lower == sr->lower && upper == sr->upper) in tipc_service_create_range()
299 if (lower <= sr->lower) in tipc_service_create_range()
307 sr->lower = lower; in tipc_service_create_range()
319 u32 type, u32 lower, in tipc_service_insert_publ() argument
329 sr = tipc_service_create_range(sc, lower, upper); in tipc_service_insert_publ()
342 p = tipc_publ_create(type, lower, upper, scope, node, port, key); in tipc_service_insert_publ()
353 tipc_sub_report_overlap(sub, p->lower, p->upper, TIPC_PUBLISHED, in tipc_service_insert_publ()
358 pr_warn("Failed to bind to %u,%u,%u, no memory\n", type, lower, upper); in tipc_service_insert_publ()
410 ns.lower = tipc_sub_read(sb, seq.lower); in tipc_service_subscribe()
421 service_range_foreach_match(sr, service, ns.lower, ns.upper) { in tipc_service_subscribe()
437 tipc_sub_report_overlap(sub, p->lower, p->upper, in tipc_service_subscribe()
459 u32 lower, u32 upper, in tipc_nametbl_insert_publ() argument
467 if (scope > TIPC_NODE_SCOPE || lower > upper) { in tipc_nametbl_insert_publ()
469 type, lower, upper, scope); in tipc_nametbl_insert_publ()
479 p = tipc_service_insert_publ(net, sc, type, lower, upper, in tipc_nametbl_insert_publ()
486 u32 lower, u32 upper, in tipc_nametbl_remove_publ() argument
499 sr = tipc_service_find_range(sc, lower, upper); in tipc_nametbl_remove_publ()
509 tipc_sub_report_overlap(sub, lower, upper, TIPC_WITHDRAWN, in tipc_nametbl_remove_publ()
642 void tipc_nametbl_mc_lookup(struct net *net, u32 type, u32 lower, u32 upper, in tipc_nametbl_mc_lookup() argument
655 service_range_foreach_match(sr, sc, lower, upper) { in tipc_nametbl_mc_lookup()
670 void tipc_nametbl_lookup_dst_nodes(struct net *net, u32 type, u32 lower, in tipc_nametbl_lookup_dst_nodes() argument
683 service_range_foreach_match(sr, sc, lower, upper) { in tipc_nametbl_lookup_dst_nodes()
714 tipc_group_add_member(grp, p->node, p->port, p->lower); in tipc_nametbl_build_group()
724 struct publication *tipc_nametbl_publish(struct net *net, u32 type, u32 lower, in tipc_nametbl_publish() argument
741 p = tipc_nametbl_insert_publ(net, type, lower, upper, scope, in tipc_nametbl_publish()
760 int tipc_nametbl_withdraw(struct net *net, u32 type, u32 lower, in tipc_nametbl_withdraw() argument
772 p = tipc_nametbl_remove_publ(net, type, lower, upper, self, key); in tipc_nametbl_withdraw()
780 type, lower, upper, key); in tipc_nametbl_withdraw()
814 tipc_sub_read(s, seq.lower), in tipc_nametbl_subscribe()
961 if (nla_put_u32(msg->skb, TIPC_NLA_PUBL_LOWER, sr->lower)) in __tipc_nl_add_nametable_publ()
1002 if (sr->lower < *last_lower) in __tipc_nl_service_range_list()
1006 *last_lower = sr->lower; in __tipc_nl_service_range_list()