Lines Matching refs:swap
60 static u32 htohl(u32 in, int swap) in htohl() argument
62 return swap ? swab32(in) : in; in htohl()
75 sub->evt.event = htohl(event, sub->swap); in subscr_send_event()
76 sub->evt.found_lower = htohl(found_lower, sub->swap); in subscr_send_event()
77 sub->evt.found_upper = htohl(found_upper, sub->swap); in subscr_send_event()
78 sub->evt.port.ref = htohl(port_ref, sub->swap); in subscr_send_event()
79 sub->evt.port.node = htohl(node, sub->swap); in subscr_send_event()
236 int swap; in subscr_subscribe() local
239 swap = !(s->filter & (TIPC_SUB_PORTS | TIPC_SUB_SERVICE)); in subscr_subscribe()
242 if (s->filter & htohl(TIPC_SUB_CANCEL, swap)) { in subscr_subscribe()
243 s->filter &= ~htohl(TIPC_SUB_CANCEL, swap); in subscr_subscribe()
264 sub->seq.type = htohl(s->seq.type, swap); in subscr_subscribe()
265 sub->seq.lower = htohl(s->seq.lower, swap); in subscr_subscribe()
266 sub->seq.upper = htohl(s->seq.upper, swap); in subscr_subscribe()
267 sub->timeout = msecs_to_jiffies(htohl(s->timeout, swap)); in subscr_subscribe()
268 sub->filter = htohl(s->filter, swap); in subscr_subscribe()
278 sub->swap = swap; in subscr_subscribe()