Home
last modified time | relevance | path

Searched refs:subscriptions (Results 1 – 3 of 3) sorted by relevance

/net/netlink/
Daf_netlink.c561 if (nlk_sk(sk)->subscriptions) in netlink_remove()
711 } else if (nlk->subscriptions) { in netlink_release()
836 netlink_update_subscriptions(struct sock *sk, unsigned int subscriptions) in netlink_update_subscriptions() argument
840 if (nlk->subscriptions && !subscriptions) in netlink_update_subscriptions()
842 else if (!nlk->subscriptions && subscriptions) in netlink_update_subscriptions()
844 nlk->subscriptions = subscriptions; in netlink_update_subscriptions()
950 netlink_update_subscriptions(sk, nlk->subscriptions + in netlink_bind()
1473 int old, new = !!is_new, subscriptions; in netlink_update_socket_mc() local
1476 subscriptions = nlk->subscriptions - old + new; in netlink_update_socket_mc()
1481 netlink_update_subscriptions(&nlk->sk, subscriptions); in netlink_update_socket_mc()
Daf_netlink.h31 u32 subscriptions; member
/net/tipc/
Dname_table.c96 struct list_head subscriptions; member
175 INIT_LIST_HEAD(&nseq->subscriptions); in tipc_nameseq_create()
185 if (!seq->first_free && list_empty(&seq->subscriptions)) { in nameseq_delete_empty()
346 list_for_each_entry_safe(s, st, &nseq->subscriptions, nameseq_list) { in tipc_nameseq_insert_publ()
418 list_for_each_entry_safe(s, st, &nseq->subscriptions, nameseq_list) { in tipc_nameseq_remove_publ()
441 list_add(&s->nameseq_list, &nseq->subscriptions); in tipc_nameseq_subscribe()