Home
last modified time | relevance | path

Searched refs:jiffies (Results 1 – 25 of 248) sorted by relevance

12345678910

/net/netfilter/
Dnft_last.c12 unsigned long jiffies; member
45 last->jiffies = jiffies - (unsigned long)last_jiffies; in nft_last_init()
62 if (READ_ONCE(last->jiffies) != jiffies) in nft_last_eval()
63 WRITE_ONCE(last->jiffies, jiffies); in nft_last_eval()
72 unsigned long last_jiffies = READ_ONCE(last->jiffies); in nft_last_dump()
76 if (time_before(jiffies, last_jiffies)) { in nft_last_dump()
82 msecs = nf_jiffies64_to_msecs(jiffies - last_jiffies); in nft_last_dump()
114 priv_dst->last->jiffies = priv_src->last->jiffies; in nft_last_clone()
Dxt_limit.c72 if ((READ_ONCE(priv->credit) < r->cost) && (READ_ONCE(priv->prev) == jiffies)) in limit_mt()
76 now = jiffies; in limit_mt()
126 priv->prev = jiffies; in limit_mt_check()
/net/x25/
Dx25_timer.c39 mod_timer(&sk->sk_timer, jiffies + 5 * HZ); in x25_start_heartbeat()
51 mod_timer(&x25->timer, jiffies + x25->t2); in x25_start_t2timer()
58 mod_timer(&x25->timer, jiffies + x25->t21); in x25_start_t21timer()
65 mod_timer(&x25->timer, jiffies + x25->t22); in x25_start_t22timer()
72 mod_timer(&x25->timer, jiffies + x25->t23); in x25_start_t23timer()
87 return x25->timer.expires - jiffies; in x25_display_timer()
/net/tipc/
Ddiscover.c152 bool trial = time_before(jiffies, tn->addr_trial_end) && !self; in tipc_disc_addr_trial_msg()
165 tn->addr_trial_end = jiffies + msecs_to_jiffies(1000); in tipc_disc_addr_trial_msg()
282 mod_timer(&d->timer, jiffies + d->timer_intv); in tipc_disc_remove_dest()
311 if (!time_before(jiffies, tn->addr_trial_end) && !tipc_own_addr(net)) { in tipc_disc_timeout()
312 mod_timer(&d->timer, jiffies + TIPC_DISC_INIT); in tipc_disc_timeout()
319 if (time_before(jiffies, tn->addr_trial_end)) { in tipc_disc_timeout()
331 mod_timer(&d->timer, jiffies + d->timer_intv); in tipc_disc_timeout()
368 tn->addr_trial_end = jiffies + msecs_to_jiffies(1000); in tipc_disc_create()
379 mod_timer(&d->timer, jiffies + d->timer_intv); in tipc_disc_create()
415 mod_timer(&d->timer, jiffies + d->timer_intv); in tipc_disc_reset()
/net/ax25/
Dax25_timer.c50 mod_timer(&ax25->timer, jiffies + 5 * HZ); in ax25_start_heartbeat()
55 mod_timer(&ax25->t1timer, jiffies + ax25->t1); in ax25_start_t1timer()
60 mod_timer(&ax25->t2timer, jiffies + ax25->t2); in ax25_start_t2timer()
66 mod_timer(&ax25->t3timer, jiffies + ax25->t3); in ax25_start_t3timer()
74 mod_timer(&ax25->idletimer, jiffies + ax25->idle); in ax25_start_idletimer()
114 return timer->expires - jiffies; in ax25_display_timer()
/net/rose/
Drose_timer.c37 sk->sk_timer.expires = jiffies + 5 * HZ; in rose_start_heartbeat()
49 rose->timer.expires = jiffies + rose->t1; in rose_start_t1timer()
61 rose->timer.expires = jiffies + rose->t2; in rose_start_t2timer()
73 rose->timer.expires = jiffies + rose->t3; in rose_start_t3timer()
85 rose->timer.expires = jiffies + rose->hb; in rose_start_hbtimer()
98 rose->idletimer.expires = jiffies + rose->idle; in rose_start_idletimer()
/net/atm/
Dclip.c83 entry->neigh->used = jiffies; in link_vcc()
96 entry->neigh->used = jiffies; in unlink_clip_vcc()
107 entry->expires = jiffies - 1; in unlink_clip_vcc()
131 if (cv->idle_timeout && time_after(jiffies, exp)) { in neigh_check_cb()
138 if (entry->vccs || time_before(jiffies, entry->expires)) in neigh_check_cb()
161 mod_timer(&idle_timer, jiffies + CLIP_CHECK_INTERVAL * HZ); in idle_timer_check()
233 clip_vcc->last_use = jiffies; in clip_push()
305 entry->expires = jiffies - 1; in clip_constructor()
362 if (time_after(jiffies, entry->expires)) { in clip_start_xmit()
364 entry->expires = jiffies + ATMARP_RETRY_DELAY * HZ; in clip_start_xmit()
[all …]
/net/core/
Dlink_watch.c120 unsigned long delay = linkwatch_nextevent - jiffies; in linkwatch_schedule_work()
192 linkwatch_nextevent = jiffies + HZ; in __linkwatch_run_queue()
194 else if (time_after(linkwatch_nextevent, jiffies + HZ)) in __linkwatch_run_queue()
195 linkwatch_nextevent = jiffies; in __linkwatch_run_queue()
252 __linkwatch_run_queue(time_after(linkwatch_nextevent, jiffies)); in linkwatch_event()
Dneighbour.c229 unsigned long tref = jiffies - 5 * HZ; in neigh_forced_gc()
247 !time_in_range(n->updated, tref, jiffies)) in neigh_forced_gc()
263 WRITE_ONCE(tbl->last_flush, jiffies); in neigh_forced_gc()
276 unsigned long mint = jiffies - (LONG_MAX - 86400 * HZ); in neigh_add_timer()
279 if (!time_in_range(n->confirmed, mint, jiffies)) in neigh_add_timer()
418 unsigned long now = jiffies; in neigh_alloc()
623 n->confirmed = jiffies - (NEIGH_VAR(n->parms, BASE_REACHABLE_TIME) << 1); in ___neigh_create()
906 if (time_after(jiffies, tbl->last_rand + 300 * HZ)) { in neigh_periodic_work()
909 WRITE_ONCE(tbl->last_rand, jiffies); in neigh_periodic_work()
940 !time_in_range_open(jiffies, n->used, in neigh_periodic_work()
[all …]
/net/appletalk/
Daarp.c148 a->last_sent = jiffies; in __aarp_send_query()
258 if (time_after(jiffies, (*n)->expires_at)) { in __aarp_expire_timer()
321 mod_timer(&aarp_timer, jiffies + in aarp_expire_timeout()
420 a->expires_at = jiffies - 1; in aarp_proxy_remove()
529 entry->expires_at = jiffies - 1; /* free the entry */ in aarp_proxy_probe_network()
616 a->expires_at = jiffies + (sysctl_aarp_expiry_time * 10); in aarp_send_ddp()
639 a->expires_at = jiffies + sysctl_aarp_resolve_time; in aarp_send_ddp()
656 mod_timer(&aarp_timer, jiffies + sysctl_aarp_tick_time); in aarp_send_ddp()
701 a->expires_at = jiffies + in __aarp_resolved()
792 jiffies + sysctl_aarp_expiry_time); in aarp_rcv()
[all …]
/net/dccp/
Dtimer.c135 jiffies + (HZ / 20)); in dccp_write_timer()
142 if (time_after(icsk->icsk_timeout, jiffies)) { in dccp_write_timer()
181 jiffies + TCP_DELACK_MIN); in dccp_delack_timer()
188 if (time_after(icsk->icsk_ack.timeout, jiffies)) { in dccp_delack_timer()
229 sk_reset_timer(sk, &dccp_sk(sk)->dccps_xmit_timer, jiffies + 1); in dccp_write_xmitlet()
/net/bridge/
Dbr_stp.c157 mod_timer(&p->forward_delay_timer, jiffies + br->forward_delay); in br_root_port_block()
199 mod_timer(&br->hello_timer, jiffies + br->hello_time); in br_become_root_bridge()
227 bpdu.message_age = (jiffies - root->designated_age) in br_transmit_config()
240 round_jiffies(jiffies + BR_HOLD_TIME)); in br_transmit_config()
252 p->designated_age = jiffies - bpdu->message_age; in br_record_config_information()
254 mod_timer(&p->message_age_timer, jiffies in br_record_config_information()
376 mod_timer(&br->topology_change_timer, jiffies in br_topology_change_detection()
380 mod_timer(&br->tcn_timer, jiffies + br->bridge_hello_time); in br_topology_change_detection()
460 mod_timer(&p->forward_delay_timer, jiffies + br->forward_delay); in br_make_forwarding()
536 jiffies + br->bridge_hello_time); in br_received_config_bpdu()
Dbr_stp_timer.c41 round_jiffies(jiffies + br->hello_time)); in br_hello_timer_expired()
90 jiffies + br->forward_delay); in br_forward_delay_timer_expired()
112 mod_timer(&br->tcn_timer, jiffies + br->bridge_hello_time); in br_tcn_timer_expired()
160 ? jiffies_delta_to_clock_t(timer->expires - jiffies) : 0; in br_timer_value()
/net/mac80211/
Dmesh_hwmp.c246 if (time_before(jiffies, ifmsh->next_perr)) in mesh_path_error_tx()
594 if (time_after(jiffies, ifmsh->last_sn_update + in hwmp_preq_frame_process()
596 time_before(jiffies, ifmsh->last_sn_update)) { in hwmp_preq_frame_process()
598 ifmsh->last_sn_update = jiffies; in hwmp_preq_frame_process()
611 ifmsh->last_sn_update = jiffies; in hwmp_preq_frame_process()
869 (time_after(jiffies, mpath->last_preq_to_root + in hwmp_rann_frame_process()
871 time_before(jiffies, mpath->last_preq_to_root))) && in hwmp_rann_frame_process()
877 mpath->last_preq_to_root = jiffies; in hwmp_rann_frame_process()
1014 if (time_after(jiffies, ifmsh->last_preq + min_preq_int_jiff(sdata))) in mesh_queue_preq()
1017 else if (time_before(jiffies, ifmsh->last_preq)) { in mesh_queue_preq()
[all …]
/net/netrom/
Dnr_timer.c52 sk_reset_timer(sk, &nr->t1timer, jiffies + nr->t1); in nr_start_t1timer()
59 sk_reset_timer(sk, &nr->t2timer, jiffies + nr->t2); in nr_start_t2timer()
66 sk_reset_timer(sk, &nr->t4timer, jiffies + nr->t4); in nr_start_t4timer()
74 sk_reset_timer(sk, &nr->idletimer, jiffies + nr->idle); in nr_start_idletimer()
79 sk_reset_timer(sk, &sk->sk_timer, jiffies + 5 * HZ); in nr_start_heartbeat()
Dnr_loopback.c41 mod_timer(&loopback_timer, jiffies + 10); in nr_loopback_queue()
65 mod_timer(&loopback_timer, jiffies + 10); in nr_loopback_timer()
/net/ipv4/
Dinetpeer.c164 delta = (__u32)jiffies - READ_ONCE(p->dtime); in inet_peer_gc()
216 p->dtime = (__u32)jiffies; in inet_getpeer()
225 p->rate_last = jiffies - 60*HZ; in inet_getpeer()
245 WRITE_ONCE(p->dtime, (__u32)jiffies); in inet_putpeer()
279 now = jiffies; in inet_peer_xrlim_allow()
Dtcp_htcp.c51 return jiffies - ca->last_cong; in htcp_cong_time()
65 ca->last_cong = jiffies; in htcp_reset()
265 ca->last_cong = jiffies; in htcp_init()
276 ca->last_cong = jiffies; in htcp_state()
/net/netfilter/ipvs/
Dip_vs_lblcr.c121 set->lastmod = jiffies; in ip_vs_dest_set_insert()
142 set->lastmod = jiffies; in ip_vs_dest_set_erase()
374 en->lastuse = jiffies; in ip_vs_lblcr_new()
424 unsigned long now = jiffies; in ip_vs_lblcr_full_check()
462 unsigned long now = jiffies; in ip_vs_lblcr_check_expire()
503 mod_timer(&tbl->periodic_timer, jiffies+CHECK_EXPIRE_INTERVAL); in ip_vs_lblcr_check_expire()
539 mod_timer(&tbl->periodic_timer, jiffies + CHECK_EXPIRE_INTERVAL); in ip_vs_lblcr_init_svc()
657 en->lastuse = jiffies; in ip_vs_lblcr_schedule()
664 time_after(jiffies, en->set.lastmod + in ip_vs_lblcr_schedule()
Dip_vs_lblc.c215 en->lastuse = jiffies; in ip_vs_lblc_new()
261 unsigned long now = jiffies; in ip_vs_lblc_full_check()
298 unsigned long now = jiffies; in ip_vs_lblc_check_expire()
339 mod_timer(&tbl->periodic_timer, jiffies + CHECK_EXPIRE_INTERVAL); in ip_vs_lblc_check_expire()
376 mod_timer(&tbl->periodic_timer, jiffies + CHECK_EXPIRE_INTERVAL); in ip_vs_lblc_init_svc()
494 en->lastuse = jiffies; in ip_vs_lblc_schedule()
/net/hsr/
Dhsr_framereg.c167 now = jiffies; in hsr_add_node()
410 node->time_in[port->type] = jiffies; in hsr_register_frame_in()
433 node->time_out[port->type] = jiffies; in hsr_register_frame_out()
486 if (time_after(jiffies, time_a + MAX_JIFFY_OFFSET / 2)) in hsr_prune_nodes()
488 if (time_after(jiffies, time_b + MAX_JIFFY_OFFSET / 2)) in hsr_prune_nodes()
527 jiffies + msecs_to_jiffies(PRUNE_PERIOD)); in hsr_prune_nodes()
571 tdiff = jiffies - node->time_in[HSR_PT_SLAVE_A]; in hsr_get_node_data()
581 tdiff = jiffies - node->time_in[HSR_PT_SLAVE_B]; in hsr_get_node_data()
/net/rfkill/
Dinput.c143 return time_after(jiffies, last + delay) ? 0 : delay; in rfkill_ratelimit()
150 rfkill_last_scheduled = jiffies; in rfkill_schedule_ratelimited()
163 rfkill_last_scheduled = jiffies; in rfkill_schedule_global_op()
335 jiffies - msecs_to_jiffies(RFKILL_OPS_DELAY) - 1; in rfkill_handler_init()
/net/sctp/
Dtransport.c61 peer->last_time_ecne_reduced = jiffies; in sctp_transport_init()
189 jiffies + transport->rto)) in sctp_transport_reset_t3_rtx()
198 expires = jiffies + sctp_transport_timeout(transport); in sctp_transport_reset_hb_timer()
210 jiffies + transport->rto)) in sctp_transport_reset_reconf_timer()
219 jiffies + transport->probe_interval)) in sctp_transport_reset_probe_timer()
719 if (time_after(jiffies, transport->last_time_ecne_reduced + in sctp_transport_lower_cwnd()
724 transport->last_time_ecne_reduced = jiffies; in sctp_transport_lower_cwnd()
843 if (!mod_timer(&t->T3_rtx_timer, jiffies + t->rto)) in sctp_transport_immediate_rtx()
/net/rxrpc/
Dcall_event.c31 unsigned long now = jiffies; in rxrpc_propose_ping()
112 unsigned long now = jiffies, ack_at; in __rxrpc_propose_ACK()
214 resend_at += jiffies + rxrpc_get_rto_backoff(call->peer, retrans); in rxrpc_resend()
318 now = jiffies; in rxrpc_process_call()
428 now = jiffies; in rxrpc_process_call()
/net/sched/
Dsch_sfb.c240 unsigned long age = min(10UL * HZ, jiffies - q->token_time); in sfb_rate_limit()
245 q->token_time = jiffies; in sfb_rate_limit()
304 if (unlikely(time_after(jiffies, limit))) { in sfb_enqueue()
306 q->rehash_time = jiffies; in sfb_enqueue()
308 time_after(jiffies, limit - q->warmup_time))) { in sfb_enqueue()
530 q->rehash_time = jiffies; in sfb_change()
539 q->token_time = jiffies; in sfb_change()

12345678910