Lines Matching refs:s
126 tipc_subscrp_send_event(sub, sub->evt.s.seq.lower, sub->evt.s.seq.upper, in tipc_subscrp_timeout()
199 static void tipc_subscrp_cancel(struct tipc_subscr *s, in tipc_subscrp_cancel() argument
208 if (!memcmp(s, &sub->evt.s, sizeof(struct tipc_subscr))) { in tipc_subscrp_cancel()
219 static int tipc_subscrp_create(struct net *net, struct tipc_subscr *s, in tipc_subscrp_create() argument
228 swap = !(s->filter & (TIPC_SUB_PORTS | TIPC_SUB_SERVICE)); in tipc_subscrp_create()
231 if (s->filter & htohl(TIPC_SUB_CANCEL, swap)) { in tipc_subscrp_create()
232 s->filter &= ~htohl(TIPC_SUB_CANCEL, swap); in tipc_subscrp_create()
233 tipc_subscrp_cancel(s, subscriber); in tipc_subscrp_create()
253 sub->seq.type = htohl(s->seq.type, swap); in tipc_subscrp_create()
254 sub->seq.lower = htohl(s->seq.lower, swap); in tipc_subscrp_create()
255 sub->seq.upper = htohl(s->seq.upper, swap); in tipc_subscrp_create()
256 sub->timeout = msecs_to_jiffies(htohl(s->timeout, swap)); in tipc_subscrp_create()
257 sub->filter = htohl(s->filter, swap); in tipc_subscrp_create()
270 memcpy(&sub->evt.s, s, sizeof(*s)); in tipc_subscrp_create()