Searched refs:publ (Results 1 – 5 of 5) sorted by relevance
/linux-4.4.14/net/tipc/ |
D | name_distr.c | 115 struct sk_buff *tipc_named_publish(struct net *net, struct publication *publ) in tipc_named_publish() argument 121 list_add_tail_rcu(&publ->local_list, in tipc_named_publish() 122 &tn->nametbl->publ_list[publ->scope]); in tipc_named_publish() 124 if (publ->scope == TIPC_NODE_SCOPE) in tipc_named_publish() 134 publ_to_item(item, publ); in tipc_named_publish() 141 struct sk_buff *tipc_named_withdraw(struct net *net, struct publication *publ) in tipc_named_withdraw() argument 146 list_del(&publ->local_list); in tipc_named_withdraw() 148 if (publ->scope == TIPC_NODE_SCOPE) in tipc_named_withdraw() 158 publ_to_item(item, publ); in tipc_named_withdraw() 171 struct publication *publ; in named_distribute() local [all …]
|
D | name_table.c | 124 struct publication *publ = kzalloc(sizeof(*publ), GFP_ATOMIC); in publ_create() local 125 if (publ == NULL) { in publ_create() 130 publ->type = type; in publ_create() 131 publ->lower = lower; in publ_create() 132 publ->upper = upper; in publ_create() 133 publ->scope = scope; in publ_create() 134 publ->node = node; in publ_create() 135 publ->ref = port_ref; in publ_create() 136 publ->key = key; in publ_create() 137 INIT_LIST_HEAD(&publ->pport_list); in publ_create() [all …]
|
D | netlink_compat.c | 757 struct nlattr *publ[TIPC_NLA_PUBL_MAX + 1]; in tipc_nl_compat_name_table_dump() local 765 nla_parse_nested(publ, TIPC_NLA_PUBL_MAX, nt[TIPC_NLA_NAME_TABLE_PUBL], in tipc_nl_compat_name_table_dump() 776 (type != nla_get_u32(publ[TIPC_NLA_PUBL_TYPE]))) in tipc_nl_compat_name_table_dump() 778 if (lowbound && (lowbound > nla_get_u32(publ[TIPC_NLA_PUBL_UPPER]))) in tipc_nl_compat_name_table_dump() 780 if (upbound && (upbound < nla_get_u32(publ[TIPC_NLA_PUBL_LOWER]))) in tipc_nl_compat_name_table_dump() 784 nla_get_u32(publ[TIPC_NLA_PUBL_TYPE])); in tipc_nl_compat_name_table_dump() 790 nla_get_u32(publ[TIPC_NLA_PUBL_LOWER]), in tipc_nl_compat_name_table_dump() 791 nla_get_u32(publ[TIPC_NLA_PUBL_UPPER])); in tipc_nl_compat_name_table_dump() 796 node = nla_get_u32(publ[TIPC_NLA_PUBL_NODE]); in tipc_nl_compat_name_table_dump() 798 tipc_node(node), nla_get_u32(publ[TIPC_NLA_PUBL_REF])); in tipc_nl_compat_name_table_dump() [all …]
|
D | name_distr.h | 70 struct sk_buff *tipc_named_publish(struct net *net, struct publication *publ); 71 struct sk_buff *tipc_named_withdraw(struct net *net, struct publication *publ);
|
D | socket.c | 2185 struct publication *publ; in tipc_sk_publish() local 2194 publ = tipc_nametbl_publish(net, seq->type, seq->lower, seq->upper, in tipc_sk_publish() 2196 if (unlikely(!publ)) in tipc_sk_publish() 2199 list_add(&publ->pport_list, &tsk->publications); in tipc_sk_publish() 2209 struct publication *publ; in tipc_sk_withdraw() local 2213 list_for_each_entry_safe(publ, safe, &tsk->publications, pport_list) { in tipc_sk_withdraw() 2215 if (publ->scope != scope) in tipc_sk_withdraw() 2217 if (publ->type != seq->type) in tipc_sk_withdraw() 2219 if (publ->lower != seq->lower) in tipc_sk_withdraw() 2221 if (publ->upper != seq->upper) in tipc_sk_withdraw() [all …]
|