Lines Matching refs:sub
234 struct tipc_subscription *sub, *tmp;
237 list_for_each_entry_safe(sub, tmp, sub_list, sub_list) {
238 if (!s || !memcmp(s, &sub->evt.s, sizeof(*s))) {
239 tipc_sub_unsubscribe(sub);
365 struct tipc_subscription *sub;
377 sub = tipc_sub_subscribe(srv->net, s, con->conid);
378 if (!sub)
382 list_add(&sub->sub_list, &con->sub_list);
571 struct tipc_subscr sub;
575 sub.seq.type = type;
576 sub.seq.lower = lower;
577 sub.seq.upper = upper;
578 sub.timeout = TIPC_WAIT_FOREVER;
579 sub.filter = filter;
580 *(u64 *)&sub.usr_handle = (u64)port;
587 rc = tipc_conn_rcv_sub(tipc_topsrv(net), con, &sub);