publ 87 net/tipc/name_distr.c struct sk_buff *tipc_named_publish(struct net *net, struct publication *publ) publ 93 net/tipc/name_distr.c if (publ->scope == TIPC_NODE_SCOPE) { publ 94 net/tipc/name_distr.c list_add_tail_rcu(&publ->binding_node, &nt->node_scope); publ 98 net/tipc/name_distr.c list_add_tail(&publ->binding_node, &nt->cluster_scope); publ 107 net/tipc/name_distr.c publ_to_item(item, publ); publ 114 net/tipc/name_distr.c struct sk_buff *tipc_named_withdraw(struct net *net, struct publication *publ) publ 121 net/tipc/name_distr.c list_del(&publ->binding_node); publ 123 net/tipc/name_distr.c if (publ->scope == TIPC_NODE_SCOPE) publ 133 net/tipc/name_distr.c publ_to_item(item, publ); publ 146 net/tipc/name_distr.c struct publication *publ; publ 153 net/tipc/name_distr.c list_for_each_entry(publ, pls, binding_node) { publ 167 net/tipc/name_distr.c publ_to_item(item, publ); publ 207 net/tipc/name_distr.c static void tipc_publ_purge(struct net *net, struct publication *publ, u32 addr) publ 213 net/tipc/name_distr.c p = tipc_nametbl_remove_publ(net, publ->type, publ->lower, publ->upper, publ 214 net/tipc/name_distr.c publ->node, publ->key); publ 219 net/tipc/name_distr.c if (p != publ) { publ 222 net/tipc/name_distr.c publ->type, publ->lower, publ->node, publ->port, publ 223 net/tipc/name_distr.c publ->key); publ 250 net/tipc/name_distr.c struct publication *publ, *tmp; publ 252 net/tipc/name_distr.c list_for_each_entry_safe(publ, tmp, nsub_list, binding_node) publ 253 net/tipc/name_distr.c tipc_publ_purge(net, publ, addr); publ 339 net/tipc/name_distr.c struct publication *publ; publ 344 net/tipc/name_distr.c list_for_each_entry_rcu(publ, &nt->node_scope, binding_node) publ 345 net/tipc/name_distr.c publ->node = self; publ 346 net/tipc/name_distr.c list_for_each_entry_rcu(publ, &nt->cluster_scope, binding_node) publ 347 net/tipc/name_distr.c publ->node = self; publ 70 net/tipc/name_distr.h struct sk_buff *tipc_named_publish(struct net *net, struct publication *publ); publ 71 net/tipc/name_distr.h struct sk_buff *tipc_named_withdraw(struct net *net, struct publication *publ); publ 96 net/tipc/name_table.c struct publication *publ = kzalloc(sizeof(*publ), GFP_ATOMIC); publ 98 net/tipc/name_table.c if (!publ) publ 101 net/tipc/name_table.c publ->type = type; publ 102 net/tipc/name_table.c publ->lower = lower; publ 103 net/tipc/name_table.c publ->upper = upper; publ 104 net/tipc/name_table.c publ->scope = scope; publ 105 net/tipc/name_table.c publ->node = node; publ 106 net/tipc/name_table.c publ->port = port; publ 107 net/tipc/name_table.c publ->key = key; publ 108 net/tipc/name_table.c INIT_LIST_HEAD(&publ->binding_sock); publ 109 net/tipc/name_table.c INIT_LIST_HEAD(&publ->binding_node); publ 110 net/tipc/name_table.c INIT_LIST_HEAD(&publ->local_publ); publ 111 net/tipc/name_table.c INIT_LIST_HEAD(&publ->all_publ); publ 112 net/tipc/name_table.c return publ; publ 870 net/tipc/netlink_compat.c struct nlattr *publ[TIPC_NLA_PUBL_MAX + 1]; publ 888 net/tipc/netlink_compat.c err = nla_parse_nested_deprecated(publ, TIPC_NLA_PUBL_MAX, publ 902 net/tipc/netlink_compat.c (type != nla_get_u32(publ[TIPC_NLA_PUBL_TYPE]))) publ 904 net/tipc/netlink_compat.c if (lowbound && (lowbound > nla_get_u32(publ[TIPC_NLA_PUBL_UPPER]))) publ 906 net/tipc/netlink_compat.c if (upbound && (upbound < nla_get_u32(publ[TIPC_NLA_PUBL_LOWER]))) publ 910 net/tipc/netlink_compat.c nla_get_u32(publ[TIPC_NLA_PUBL_TYPE])); publ 916 net/tipc/netlink_compat.c nla_get_u32(publ[TIPC_NLA_PUBL_LOWER]), publ 917 net/tipc/netlink_compat.c nla_get_u32(publ[TIPC_NLA_PUBL_UPPER])); publ 922 net/tipc/netlink_compat.c node = nla_get_u32(publ[TIPC_NLA_PUBL_NODE]); publ 924 net/tipc/netlink_compat.c tipc_node(node), nla_get_u32(publ[TIPC_NLA_PUBL_REF])); publ 931 net/tipc/netlink_compat.c nla_get_u32(publ[TIPC_NLA_PUBL_KEY]), publ 932 net/tipc/netlink_compat.c scope_str[nla_get_u32(publ[TIPC_NLA_PUBL_SCOPE])]); publ 943 net/tipc/netlink_compat.c struct nlattr *publ[TIPC_NLA_PUBL_MAX + 1]; publ 949 net/tipc/netlink_compat.c err = nla_parse_nested_deprecated(publ, TIPC_NLA_PUBL_MAX, publ 954 net/tipc/netlink_compat.c type = nla_get_u32(publ[TIPC_NLA_PUBL_TYPE]); publ 955 net/tipc/netlink_compat.c lower = nla_get_u32(publ[TIPC_NLA_PUBL_LOWER]); publ 956 net/tipc/netlink_compat.c upper = nla_get_u32(publ[TIPC_NLA_PUBL_UPPER]); publ 2717 net/tipc/socket.c struct publication *publ; publ 2729 net/tipc/socket.c publ = tipc_nametbl_publish(net, seq->type, seq->lower, seq->upper, publ 2731 net/tipc/socket.c if (unlikely(!publ)) publ 2734 net/tipc/socket.c list_add(&publ->binding_sock, &tsk->publications); publ 2744 net/tipc/socket.c struct publication *publ; publ 2751 net/tipc/socket.c list_for_each_entry_safe(publ, safe, &tsk->publications, binding_sock) { publ 2753 net/tipc/socket.c if (publ->scope != scope) publ 2755 net/tipc/socket.c if (publ->type != seq->type) publ 2757 net/tipc/socket.c if (publ->lower != seq->lower) publ 2759 net/tipc/socket.c if (publ->upper != seq->upper) publ 2761 net/tipc/socket.c tipc_nametbl_withdraw(net, publ->type, publ->lower, publ 2762 net/tipc/socket.c publ->upper, publ->key); publ 2766 net/tipc/socket.c tipc_nametbl_withdraw(net, publ->type, publ->lower, publ 2767 net/tipc/socket.c publ->upper, publ->key); publ 3511 net/tipc/socket.c struct publication *publ) publ 3525 net/tipc/socket.c if (nla_put_u32(skb, TIPC_NLA_PUBL_KEY, publ->key)) publ 3527 net/tipc/socket.c if (nla_put_u32(skb, TIPC_NLA_PUBL_TYPE, publ->type)) publ 3529 net/tipc/socket.c if (nla_put_u32(skb, TIPC_NLA_PUBL_LOWER, publ->lower)) publ 3531 net/tipc/socket.c if (nla_put_u32(skb, TIPC_NLA_PUBL_UPPER, publ->upper))