Lines Matching refs:cursor
233 u8 cursor) in rxrpc_peer_keepalive_dispatch() argument
258 cursor, peer->debug_id, slot, &peer->srx.transport); in rxrpc_peer_keepalive_dispatch()
270 slot += cursor; in rxrpc_peer_keepalive_dispatch()
294 u8 cursor, stop; in rxrpc_peer_keepalive_worker() local
299 cursor = rxnet->peer_keepalive_cursor; in rxrpc_peer_keepalive_worker()
300 _enter("%lld,%u", base - now, cursor); in rxrpc_peer_keepalive_worker()
315 stop = cursor + ARRAY_SIZE(rxnet->peer_keepalive); in rxrpc_peer_keepalive_worker()
316 while (base <= now && (s8)(cursor - stop) < 0) { in rxrpc_peer_keepalive_worker()
317 list_splice_tail_init(&rxnet->peer_keepalive[cursor & mask], in rxrpc_peer_keepalive_worker()
320 cursor++; in rxrpc_peer_keepalive_worker()
327 rxnet->peer_keepalive_cursor = cursor; in rxrpc_peer_keepalive_worker()
328 rxrpc_peer_keepalive_dispatch(rxnet, &collector, base, cursor); in rxrpc_peer_keepalive_worker()
332 cursor = rxnet->peer_keepalive_cursor; in rxrpc_peer_keepalive_worker()
333 stop = cursor + RXRPC_KEEPALIVE_TIME - 1; in rxrpc_peer_keepalive_worker()
334 for (; (s8)(cursor - stop) < 0; cursor++) { in rxrpc_peer_keepalive_worker()
335 if (!list_empty(&rxnet->peer_keepalive[cursor & mask])) in rxrpc_peer_keepalive_worker()