Lines Matching refs:cursor
261 u8 cursor) in rxrpc_peer_keepalive_dispatch() argument
286 cursor, peer->debug_id, slot, &peer->srx.transport); in rxrpc_peer_keepalive_dispatch()
298 slot += cursor; in rxrpc_peer_keepalive_dispatch()
322 u8 cursor, stop; in rxrpc_peer_keepalive_worker() local
327 cursor = rxnet->peer_keepalive_cursor; in rxrpc_peer_keepalive_worker()
328 _enter("%lld,%u", base - now, cursor); in rxrpc_peer_keepalive_worker()
343 stop = cursor + ARRAY_SIZE(rxnet->peer_keepalive); in rxrpc_peer_keepalive_worker()
344 while (base <= now && (s8)(cursor - stop) < 0) { in rxrpc_peer_keepalive_worker()
345 list_splice_tail_init(&rxnet->peer_keepalive[cursor & mask], in rxrpc_peer_keepalive_worker()
348 cursor++; in rxrpc_peer_keepalive_worker()
355 rxnet->peer_keepalive_cursor = cursor; in rxrpc_peer_keepalive_worker()
356 rxrpc_peer_keepalive_dispatch(rxnet, &collector, base, cursor); in rxrpc_peer_keepalive_worker()
360 cursor = rxnet->peer_keepalive_cursor; in rxrpc_peer_keepalive_worker()
361 stop = cursor + RXRPC_KEEPALIVE_TIME - 1; in rxrpc_peer_keepalive_worker()
362 for (; (s8)(cursor - stop) < 0; cursor++) { in rxrpc_peer_keepalive_worker()
363 if (!list_empty(&rxnet->peer_keepalive[cursor & mask])) in rxrpc_peer_keepalive_worker()