Lines Matching refs:now
26 unsigned long now = jiffies; in rxrpc_propose_ping() local
27 unsigned long ping_at = now + rxrpc_idle_ack_delay; in rxrpc_propose_ping()
31 rxrpc_reduce_call_timer(call, ping_at, now, in rxrpc_propose_ping()
44 unsigned long now = jiffies, ack_at; in rxrpc_propose_delay_ACK() local
54 ack_at += now; in rxrpc_propose_delay_ACK()
57 rxrpc_reduce_call_timer(call, ack_at, now, in rxrpc_propose_delay_ACK()
119 ktime_t now, max_age, oldest, ack_ts; in rxrpc_resend() local
126 now = ktime_get_real(); in rxrpc_resend()
127 max_age = ktime_sub_us(now, jiffies_to_usecs(call->peer->rto_j)); in rxrpc_resend()
128 oldest = now; in rxrpc_resend()
220 resend_at = nsecs_to_jiffies(ktime_to_ns(ktime_sub(now, oldest))); in rxrpc_resend()
235 ack_ts = ktime_sub(now, call->acks_latest_ts); in rxrpc_resend()
260 unsigned long now = jiffies; in rxrpc_begin_service_reply() local
263 WRITE_ONCE(call->delay_ack_at, now + MAX_JIFFY_OFFSET); in rxrpc_begin_service_reply()
266 trace_rxrpc_timer(call, rxrpc_timer_init_for_send_reply, now); in rxrpc_begin_service_reply()
375 unsigned long now, next, t; in rxrpc_input_call_event() local
401 now = jiffies; in rxrpc_input_call_event()
403 if (time_after_eq(now, t)) { in rxrpc_input_call_event()
404 trace_rxrpc_timer(call, rxrpc_timer_exp_normal, now); in rxrpc_input_call_event()
410 time_after_eq(now, t)) { in rxrpc_input_call_event()
411 trace_rxrpc_timer(call, rxrpc_timer_exp_idle, now); in rxrpc_input_call_event()
416 if (time_after_eq(now, t)) { in rxrpc_input_call_event()
417 trace_rxrpc_timer(call, rxrpc_timer_exp_hard, now); in rxrpc_input_call_event()
422 if (time_after_eq(now, t)) { in rxrpc_input_call_event()
423 trace_rxrpc_timer(call, rxrpc_timer_exp_ack, now); in rxrpc_input_call_event()
424 cmpxchg(&call->delay_ack_at, t, now + MAX_JIFFY_OFFSET); in rxrpc_input_call_event()
430 if (time_after_eq(now, t)) { in rxrpc_input_call_event()
431 trace_rxrpc_timer(call, rxrpc_timer_exp_lost_ack, now); in rxrpc_input_call_event()
432 cmpxchg(&call->ack_lost_at, t, now + MAX_JIFFY_OFFSET); in rxrpc_input_call_event()
437 if (time_after_eq(now, t)) { in rxrpc_input_call_event()
438 trace_rxrpc_timer(call, rxrpc_timer_exp_keepalive, now); in rxrpc_input_call_event()
439 cmpxchg(&call->keepalive_at, t, now + MAX_JIFFY_OFFSET); in rxrpc_input_call_event()
445 if (time_after_eq(now, t)) { in rxrpc_input_call_event()
446 trace_rxrpc_timer(call, rxrpc_timer_exp_ping, now); in rxrpc_input_call_event()
447 cmpxchg(&call->ping_at, t, now + MAX_JIFFY_OFFSET); in rxrpc_input_call_event()
453 if (time_after_eq(now, t)) { in rxrpc_input_call_event()
454 trace_rxrpc_timer(call, rxrpc_timer_exp_resend, now); in rxrpc_input_call_event()
455 cmpxchg(&call->resend_at, t, now + MAX_JIFFY_OFFSET); in rxrpc_input_call_event()
526 now = jiffies; in rxrpc_input_call_event()
527 if (time_after_eq(now, next)) in rxrpc_input_call_event()
530 rxrpc_reduce_call_timer(call, next, now, rxrpc_timer_restart); in rxrpc_input_call_event()