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
56 ack_at += now; in rxrpc_propose_delay_ACK()
59 rxrpc_reduce_call_timer(call, ack_at, now, in rxrpc_propose_delay_ACK()
120 ktime_t now, max_age, oldest, ack_ts; in rxrpc_resend() local
127 now = ktime_get_real(); in rxrpc_resend()
128 max_age = ktime_sub_us(now, jiffies_to_usecs(call->peer->rto_j)); in rxrpc_resend()
129 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
402 now = jiffies; in rxrpc_input_call_event()
404 if (time_after_eq(now, t)) { in rxrpc_input_call_event()
405 trace_rxrpc_timer(call, rxrpc_timer_exp_normal, now); in rxrpc_input_call_event()
411 time_after_eq(now, t)) { in rxrpc_input_call_event()
412 trace_rxrpc_timer(call, rxrpc_timer_exp_idle, now); in rxrpc_input_call_event()
417 if (time_after_eq(now, t)) { in rxrpc_input_call_event()
418 trace_rxrpc_timer(call, rxrpc_timer_exp_hard, now); in rxrpc_input_call_event()
423 if (time_after_eq(now, t)) { in rxrpc_input_call_event()
424 trace_rxrpc_timer(call, rxrpc_timer_exp_ack, now); in rxrpc_input_call_event()
425 cmpxchg(&call->delay_ack_at, t, now + MAX_JIFFY_OFFSET); in rxrpc_input_call_event()
432 if (time_after_eq(now, t)) { in rxrpc_input_call_event()
433 trace_rxrpc_timer(call, rxrpc_timer_exp_lost_ack, now); in rxrpc_input_call_event()
434 cmpxchg(&call->ack_lost_at, t, now + MAX_JIFFY_OFFSET); in rxrpc_input_call_event()
439 if (time_after_eq(now, t)) { in rxrpc_input_call_event()
440 trace_rxrpc_timer(call, rxrpc_timer_exp_keepalive, now); in rxrpc_input_call_event()
441 cmpxchg(&call->keepalive_at, t, now + MAX_JIFFY_OFFSET); in rxrpc_input_call_event()
447 if (time_after_eq(now, t)) { in rxrpc_input_call_event()
448 trace_rxrpc_timer(call, rxrpc_timer_exp_ping, now); in rxrpc_input_call_event()
449 cmpxchg(&call->ping_at, t, now + MAX_JIFFY_OFFSET); in rxrpc_input_call_event()
455 if (time_after_eq(now, t)) { in rxrpc_input_call_event()
456 trace_rxrpc_timer(call, rxrpc_timer_exp_resend, now); in rxrpc_input_call_event()
457 cmpxchg(&call->resend_at, t, now + MAX_JIFFY_OFFSET); in rxrpc_input_call_event()
528 now = jiffies; in rxrpc_input_call_event()
529 if (time_after_eq(now, next)) in rxrpc_input_call_event()
532 rxrpc_reduce_call_timer(call, next, now, rxrpc_timer_restart); in rxrpc_input_call_event()