Lines Matching refs:ua
225 * @ua: the service range the user is binding to
229 static struct publication *tipc_publ_create(struct tipc_uaddr *ua,
238 p->sr = ua->sr;
240 p->scope = ua->scope;
253 * @ua: address representing the service to be bound
258 struct tipc_uaddr *ua)
271 service->type = ua->sr.type;
275 hd = &nt->services[hash(ua->sr.type)];
283 struct tipc_uaddr *ua)
287 service_range_foreach_match(sr, sc, ua->sr.lower, ua->sr.upper) {
289 if (sr->lower == ua->sr.lower && sr->upper == ua->sr.upper)
462 struct tipc_uaddr *ua)
468 service_head = &nt->services[hash(ua->sr.type)];
470 if (service->type == ua->sr.type)
477 struct tipc_uaddr *ua,
484 p = tipc_publ_create(ua, sk, key);
488 sc = tipc_service_find(net, ua);
490 sc = tipc_service_create(net, ua);
498 struct tipc_uaddr *ua,
508 sc = tipc_service_find(net, ua);
513 sr = tipc_service_find_range(sc, ua);
542 ua->sr.type, ua->sr.lower, ua->sr.upper,
551 * @ua: service address to look up
570 struct tipc_uaddr *ua,
576 u32 inst = ua->sa.instance;
587 sc = tipc_service_find(net, ua);
628 bool tipc_nametbl_lookup_group(struct net *net, struct tipc_uaddr *ua,
633 u32 inst = ua->sa.instance;
640 sc = tipc_service_find(net, ua);
652 if (p->scope != ua->scope)
675 void tipc_nametbl_lookup_mcast_sockets(struct net *net, struct tipc_uaddr *ua,
681 u8 scope = ua->scope;
684 sc = tipc_service_find(net, ua);
689 service_range_foreach_match(sr, sc, ua->sr.lower, ua->sr.upper) {
705 void tipc_nametbl_lookup_mcast_nodes(struct net *net, struct tipc_uaddr *ua,
713 sc = tipc_service_find(net, ua);
718 service_range_foreach_match(sr, sc, ua->sr.lower, ua->sr.upper) {
731 struct tipc_uaddr *ua)
739 sc = tipc_service_find(net, ua);
747 if (p->scope != ua->scope)
760 struct publication *tipc_nametbl_publish(struct net *net, struct tipc_uaddr *ua,
776 p = tipc_nametbl_insert_publ(net, ua, sk, key);
794 * @ua: service address/range being unbound
798 void tipc_nametbl_withdraw(struct net *net, struct tipc_uaddr *ua,
809 p = tipc_nametbl_remove_publ(net, ua, sk, key);
832 struct tipc_uaddr ua;
835 tipc_uaddr(&ua, TIPC_SERVICE_RANGE, TIPC_NODE_SCOPE, type,
838 sc = tipc_service_find(sub->net, &ua);
840 sc = tipc_service_create(sub->net, &ua);
862 struct tipc_uaddr ua;
864 tipc_uaddr(&ua, TIPC_SERVICE_RANGE, TIPC_NODE_SCOPE,
867 sc = tipc_service_find(sub->net, &ua);
1056 struct tipc_uaddr ua;
1070 tipc_uaddr(&ua, TIPC_SERVICE_RANGE, TIPC_NODE_SCOPE,
1072 service = tipc_service_find(net, &ua);