Lines Matching refs:ua

229 static struct publication *tipc_publ_create(struct tipc_uaddr *ua,  in tipc_publ_create()  argument
238 p->sr = ua->sr; in tipc_publ_create()
240 p->scope = ua->scope; in tipc_publ_create()
258 struct tipc_uaddr *ua) in tipc_service_create() argument
271 service->type = ua->sr.type; in tipc_service_create()
275 hd = &nt->services[hash(ua->sr.type)]; in tipc_service_create()
283 struct tipc_uaddr *ua) in tipc_service_find_range() argument
287 service_range_foreach_match(sr, sc, ua->sr.lower, ua->sr.upper) { in tipc_service_find_range()
289 if (sr->lower == ua->sr.lower && sr->upper == ua->sr.upper) in tipc_service_find_range()
462 struct tipc_uaddr *ua) in tipc_service_find() argument
468 service_head = &nt->services[hash(ua->sr.type)]; in tipc_service_find()
470 if (service->type == ua->sr.type) in tipc_service_find()
477 struct tipc_uaddr *ua, in tipc_nametbl_insert_publ() argument
484 p = tipc_publ_create(ua, sk, key); in tipc_nametbl_insert_publ()
488 sc = tipc_service_find(net, ua); in tipc_nametbl_insert_publ()
490 sc = tipc_service_create(net, ua); in tipc_nametbl_insert_publ()
498 struct tipc_uaddr *ua, in tipc_nametbl_remove_publ() argument
508 sc = tipc_service_find(net, ua); in tipc_nametbl_remove_publ()
513 sr = tipc_service_find_range(sc, ua); in tipc_nametbl_remove_publ()
542 ua->sr.type, ua->sr.lower, ua->sr.upper, in tipc_nametbl_remove_publ()
570 struct tipc_uaddr *ua, in tipc_nametbl_lookup_anycast() argument
576 u32 inst = ua->sa.instance; in tipc_nametbl_lookup_anycast()
587 sc = tipc_service_find(net, ua); in tipc_nametbl_lookup_anycast()
628 bool tipc_nametbl_lookup_group(struct net *net, struct tipc_uaddr *ua, in tipc_nametbl_lookup_group() argument
633 u32 inst = ua->sa.instance; in tipc_nametbl_lookup_group()
640 sc = tipc_service_find(net, ua); in tipc_nametbl_lookup_group()
652 if (p->scope != ua->scope) in tipc_nametbl_lookup_group()
675 void tipc_nametbl_lookup_mcast_sockets(struct net *net, struct tipc_uaddr *ua, in tipc_nametbl_lookup_mcast_sockets() argument
681 u8 scope = ua->scope; in tipc_nametbl_lookup_mcast_sockets()
684 sc = tipc_service_find(net, ua); in tipc_nametbl_lookup_mcast_sockets()
689 service_range_foreach_match(sr, sc, ua->sr.lower, ua->sr.upper) { in tipc_nametbl_lookup_mcast_sockets()
705 void tipc_nametbl_lookup_mcast_nodes(struct net *net, struct tipc_uaddr *ua, in tipc_nametbl_lookup_mcast_nodes() argument
713 sc = tipc_service_find(net, ua); in tipc_nametbl_lookup_mcast_nodes()
718 service_range_foreach_match(sr, sc, ua->sr.lower, ua->sr.upper) { in tipc_nametbl_lookup_mcast_nodes()
731 struct tipc_uaddr *ua) in tipc_nametbl_build_group() argument
739 sc = tipc_service_find(net, ua); in tipc_nametbl_build_group()
747 if (p->scope != ua->scope) in tipc_nametbl_build_group()
760 struct publication *tipc_nametbl_publish(struct net *net, struct tipc_uaddr *ua, in tipc_nametbl_publish() argument
776 p = tipc_nametbl_insert_publ(net, ua, sk, key); in tipc_nametbl_publish()
798 void tipc_nametbl_withdraw(struct net *net, struct tipc_uaddr *ua, in tipc_nametbl_withdraw() argument
809 p = tipc_nametbl_remove_publ(net, ua, sk, key); in tipc_nametbl_withdraw()
832 struct tipc_uaddr ua; in tipc_nametbl_subscribe() local
835 tipc_uaddr(&ua, TIPC_SERVICE_RANGE, TIPC_NODE_SCOPE, type, in tipc_nametbl_subscribe()
838 sc = tipc_service_find(sub->net, &ua); in tipc_nametbl_subscribe()
840 sc = tipc_service_create(sub->net, &ua); in tipc_nametbl_subscribe()
862 struct tipc_uaddr ua; in tipc_nametbl_unsubscribe() local
864 tipc_uaddr(&ua, TIPC_SERVICE_RANGE, TIPC_NODE_SCOPE, in tipc_nametbl_unsubscribe()
867 sc = tipc_service_find(sub->net, &ua); in tipc_nametbl_unsubscribe()
1056 struct tipc_uaddr ua; in tipc_nl_service_list() local
1070 tipc_uaddr(&ua, TIPC_SERVICE_RANGE, TIPC_NODE_SCOPE, in tipc_nl_service_list()
1072 service = tipc_service_find(net, &ua); in tipc_nl_service_list()