Lines Matching refs:count
31 __be32 count; member
57 u32 count; member
93 curs->count += value; in smc_curs_add()
94 if (curs->count >= size) { in smc_curs_add()
96 curs->count -= size; in smc_curs_add()
155 ((size - old->count) + new->count)); in smc_curs_diff()
157 return max_t(int, 0, (new->count - old->count)); in smc_curs_diff()
168 (old->wrap == new->wrap && old->count > new->count)) in smc_curs_comp()
182 (size - old->count) + new->count + in smc_curs_diff_large()
188 (size - old->count) + new->count + in smc_curs_diff_large()
192 return max_t(int, 0, (new->count - old->count)); in smc_curs_diff_large()
201 peer->count = htonl(save->count); in smc_host_cursor_to_cdc()
231 temp.count = ntohl(net.count); in smc_cdc_cursor_to_host()
236 (old.count > temp.count)) in smc_cdc_cursor_to_host()
262 temp.count = peer->prod.count; in smcd_cdc_msg_to_host()
266 temp.count = peer->cons.count; in smcd_cdc_msg_to_host()