Home
last modified time | relevance | path

Searched refs:publ (Results 1 – 4 of 4) sorted by relevance

/net/tipc/
Dname_table.c126 struct publication *publ = kzalloc(sizeof(*publ), GFP_ATOMIC); in publ_create() local
127 if (publ == NULL) { in publ_create()
132 publ->type = type; in publ_create()
133 publ->lower = lower; in publ_create()
134 publ->upper = upper; in publ_create()
135 publ->scope = scope; in publ_create()
136 publ->node = node; in publ_create()
137 publ->ref = port_ref; in publ_create()
138 publ->key = key; in publ_create()
139 INIT_LIST_HEAD(&publ->local_list); in publ_create()
[all …]
Dname_distr.c144 struct sk_buff *tipc_named_publish(struct publication *publ) in tipc_named_publish() argument
149 list_add_tail(&publ->local_list, &publ_lists[publ->scope]->list); in tipc_named_publish()
150 publ_lists[publ->scope]->size++; in tipc_named_publish()
152 if (publ->scope == TIPC_NODE_SCOPE) in tipc_named_publish()
162 publ_to_item(item, publ); in tipc_named_publish()
169 struct sk_buff *tipc_named_withdraw(struct publication *publ) in tipc_named_withdraw() argument
174 list_del(&publ->local_list); in tipc_named_withdraw()
175 publ_lists[publ->scope]->size--; in tipc_named_withdraw()
177 if (publ->scope == TIPC_NODE_SCOPE) in tipc_named_withdraw()
187 publ_to_item(item, publ); in tipc_named_withdraw()
[all …]
Dsocket.c2156 struct publication *publ; in tipc_sk_publish() local
2165 publ = tipc_nametbl_publish(seq->type, seq->lower, seq->upper, in tipc_sk_publish()
2167 if (unlikely(!publ)) in tipc_sk_publish()
2170 list_add(&publ->pport_list, &tsk->publications); in tipc_sk_publish()
2179 struct publication *publ; in tipc_sk_withdraw() local
2183 list_for_each_entry_safe(publ, safe, &tsk->publications, pport_list) { in tipc_sk_withdraw()
2185 if (publ->scope != scope) in tipc_sk_withdraw()
2187 if (publ->type != seq->type) in tipc_sk_withdraw()
2189 if (publ->lower != seq->lower) in tipc_sk_withdraw()
2191 if (publ->upper != seq->upper) in tipc_sk_withdraw()
[all …]
Dname_distr.h70 struct sk_buff *tipc_named_publish(struct publication *publ);
71 struct sk_buff *tipc_named_withdraw(struct publication *publ);