Home
last modified time | relevance | path

Searched refs:next_run (Results 1 – 3 of 3) sorted by relevance

/net/xfrm/
A Dxfrm_nat_keepalive.c156 time64_t next_run; member
165 time64_t next_run; in nat_keepalive_work_single() local
178 next_run = x->nat_keepalive_expiration; in nat_keepalive_work_single()
180 next_run = x->nat_keepalive_expiration; in nat_keepalive_work_single()
182 next_run = ctx->now + interval; in nat_keepalive_work_single()
192 if (!ctx->next_run || next_run < ctx->next_run) in nat_keepalive_work_single()
193 ctx->next_run = next_run; in nat_keepalive_work_single()
203 ctx.next_run = 0; in nat_keepalive_work()
210 if (ctx.next_run) in nat_keepalive_work()
212 (ctx.next_run - ctx.now) * HZ); in nat_keepalive_work()
/net/netfilter/
A Dnf_conntrack_core.c1519 unsigned long next_run; in gc_worker() local
1535 next_run = gc_work->avg_timeout; in gc_worker()
1565 gc_work->avg_timeout = next_run; in gc_worker()
1583 next_run += expires; in gc_worker()
1623 gc_work->avg_timeout = next_run; in gc_worker()
1626 next_run = 0; in gc_worker()
1633 next_run = clamp(next_run, GC_SCAN_INTERVAL_MIN, GC_SCAN_INTERVAL_MAX); in gc_worker()
1636 if (next_run > (unsigned long)delta_time) in gc_worker()
1637 next_run -= delta_time; in gc_worker()
1639 next_run = 1; in gc_worker()
[all …]
/net/netfilter/ipset/
A Dip_set_hash_gen.h564 unsigned int next_run; in mtype_gc() local
578 next_run = (IPSET_GC_PERIOD(set->timeout) * HZ) / numof_locks; in mtype_gc()
579 if (next_run < HZ/10) in mtype_gc()
580 next_run = HZ/10; in mtype_gc()
590 queue_delayed_work(system_power_efficient_wq, &gc->dwork, next_run); in mtype_gc()

Completed in 15 milliseconds