Lines Matching refs:publ
87 struct sk_buff *tipc_named_publish(struct net *net, struct publication *publ)
93 if (publ->scope == TIPC_NODE_SCOPE) {
94 list_add_tail_rcu(&publ->binding_node, &nt->node_scope);
98 list_add_tail(&publ->binding_node, &nt->cluster_scope);
108 publ_to_item(item, publ);
115 struct sk_buff *tipc_named_withdraw(struct net *net, struct publication *publ)
122 list_del(&publ->binding_node);
124 if (publ->scope == TIPC_NODE_SCOPE)
135 publ_to_item(item, publ);
148 struct publication *publ;
156 list_for_each_entry(publ, pls, binding_node) {
173 publ_to_item(item, publ);
224 static void tipc_publ_purge(struct net *net, struct publication *publ, u32 addr)
230 p = tipc_nametbl_remove_publ(net, publ->type, publ->lower, publ->upper,
231 publ->node, publ->key);
236 if (p != publ) {
239 publ->type, publ->lower, publ->node, publ->port,
240 publ->key);
271 struct publication *publ, *tmp;
273 list_for_each_entry_safe(publ, tmp, nsub_list, binding_node)
274 tipc_publ_purge(net, publ, addr);
405 struct publication *publ;
410 list_for_each_entry_rcu(publ, &nt->node_scope, binding_node)
411 publ->node = self;
412 list_for_each_entry_rcu(publ, &nt->cluster_scope, binding_node)
413 publ->node = self;