Searched refs:next_run (Results 1 – 2 of 2) sorted by relevance
1444 unsigned long next_run; in gc_worker() local1460 next_run = gc_work->avg_timeout; in gc_worker()1495 gc_work->avg_timeout = next_run; in gc_worker()1501 next_run = delta_time < (s32)GC_SCAN_INTERVAL_MAX; in gc_worker()1512 expires = (expires - (long)next_run) / ++count; in gc_worker()1513 next_run += expires; in gc_worker()1550 gc_work->avg_timeout = next_run; in gc_worker()1553 next_run = 0; in gc_worker()1560 next_run = clamp(next_run, GC_SCAN_INTERVAL_MIN, GC_SCAN_INTERVAL_MAX); in gc_worker()1563 if (next_run > (unsigned long)delta_time) in gc_worker()[all …]
551 unsigned int next_run; in mtype_gc() local565 next_run = (IPSET_GC_PERIOD(set->timeout) * HZ) / numof_locks; in mtype_gc()566 if (next_run < HZ/10) in mtype_gc()567 next_run = HZ/10; in mtype_gc()577 queue_delayed_work(system_power_efficient_wq, &gc->dwork, next_run); in mtype_gc()