Lines Matching defs:cursor
305 u8 cursor)
328 cursor, peer->debug_id, slot, &peer->srx.transport);
340 slot += cursor;
362 u8 cursor, stop;
367 cursor = rxnet->peer_keepalive_cursor;
368 _enter("%lld,%u", base - now, cursor);
376 * Everything in the bucket at the cursor is processed this
377 * second; the bucket at cursor + 1 goes at now + 1s and so
383 stop = cursor + ARRAY_SIZE(rxnet->peer_keepalive);
384 while (base <= now && (s8)(cursor - stop) < 0) {
385 list_splice_tail_init(&rxnet->peer_keepalive[cursor & mask],
388 cursor++;
395 rxnet->peer_keepalive_cursor = cursor;
396 rxrpc_peer_keepalive_dispatch(rxnet, &collector, base, cursor);
400 cursor = rxnet->peer_keepalive_cursor;
401 stop = cursor + RXRPC_KEEPALIVE_TIME - 1;
402 for (; (s8)(cursor - stop) < 0; cursor++) {
403 if (!list_empty(&rxnet->peer_keepalive[cursor & mask]))