Searched refs:subscriptions (Results 1 – 3 of 3) sorted by relevance
/net/tipc/ |
D | name_table.c | 79 struct list_head subscriptions; member 133 INIT_LIST_HEAD(&service->subscriptions); in tipc_service_create() 252 list_for_each_entry_safe(sub, tmp, &sc->subscriptions, service_list) { in tipc_service_insert_publ() 300 list_add(&sub->service_list, &service->subscriptions); in tipc_service_subscribe() 386 list_for_each_entry_safe(sub, tmp, &sc->subscriptions, service_list) { in tipc_nametbl_remove_publ() 398 if (RB_EMPTY_ROOT(&sc->ranges) && list_empty(&sc->subscriptions)) { in tipc_nametbl_remove_publ() 723 if (RB_EMPTY_ROOT(&sc->ranges) && list_empty(&sc->subscriptions)) { in tipc_nametbl_unsubscribe()
|
/net/netlink/ |
D | af_netlink.c | 605 if (nlk_sk(sk)->subscriptions) { in netlink_remove() 916 netlink_update_subscriptions(struct sock *sk, unsigned int subscriptions) in netlink_update_subscriptions() argument 920 if (nlk->subscriptions && !subscriptions) in netlink_update_subscriptions() 922 else if (!nlk->subscriptions && subscriptions) in netlink_update_subscriptions() 924 nlk->subscriptions = subscriptions; in netlink_update_subscriptions() 1046 netlink_update_subscriptions(sk, nlk->subscriptions + in netlink_bind() 1609 int old, new = !!is_new, subscriptions; in netlink_update_socket_mc() local 1612 subscriptions = nlk->subscriptions - old + new; in netlink_update_socket_mc() 1617 netlink_update_subscriptions(&nlk->sk, subscriptions); in netlink_update_socket_mc()
|
D | af_netlink.h | 30 u32 subscriptions; member
|