Lines Matching full:wrap
30 __be16 wrap; member
56 u16 wrap; member
95 curs->wrap++; in smc_curs_add()
153 if (old->wrap != new->wrap) in smc_curs_diff()
167 if (old->wrap > new->wrap || in smc_curs_comp()
168 (old->wrap == new->wrap && old->count > new->count)) in smc_curs_comp()
180 if (old->wrap < new->wrap) in smc_curs_diff_large()
183 (new->wrap - old->wrap - 1) * size, in smc_curs_diff_large()
186 if (old->wrap > new->wrap) /* wrap has switched from 0xffff to 0x0000 */ in smc_curs_diff_large()
189 (new->wrap + 0xffff - old->wrap) * size, in smc_curs_diff_large()
202 peer->wrap = htons(save->wrap); in smc_host_cursor_to_cdc()
232 temp.wrap = ntohs(net.wrap); in smc_cdc_cursor_to_host()
233 if ((old.wrap > temp.wrap) && temp.wrap) in smc_cdc_cursor_to_host()
235 if ((old.wrap == temp.wrap) && in smc_cdc_cursor_to_host()
261 temp.wrap = peer->prod.wrap; in smcd_cdc_msg_to_host()
265 temp.wrap = peer->cons.wrap; in smcd_cdc_msg_to_host()