Home
last modified time | relevance | path

Searched refs:work (Results 1 – 9 of 9) sorted by relevance

/mm/
Dvmpressure.c73 static struct vmpressure *work_to_vmpressure(struct work_struct *work) in work_to_vmpressure() argument
75 return container_of(work, struct vmpressure, work); in work_to_vmpressure()
162 static void vmpressure_work_fn(struct work_struct *work) in vmpressure_work_fn() argument
164 struct vmpressure *vmpr = work_to_vmpressure(work); in vmpressure_work_fn()
249 schedule_work(&vmpr->work); in vmpressure()
365 INIT_WORK(&vmpr->work, vmpressure_work_fn); in vmpressure_init()
381 flush_work(&vmpr->work); in vmpressure_cleanup()
Dmemory-failure.c1311 struct work_struct work; member
1346 schedule_work_on(smp_processor_id(), &mf_cpu->work); in memory_failure_queue()
1355 static void memory_failure_work_func(struct work_struct *work) in memory_failure_work_func() argument
1385 INIT_WORK(&mf_cpu->work, memory_failure_work_func); in memory_failure_init()
Dswap.c870 struct work_struct *work = &per_cpu(lru_add_drain_work, cpu); in lru_add_drain_all() local
876 INIT_WORK(work, lru_add_drain_per_cpu); in lru_add_drain_all()
877 schedule_work_on(cpu, work); in lru_add_drain_all()
Dmemcontrol.c2298 struct work_struct work; member
2369 INIT_WORK(&stock->work, drain_local_stock); in memcg_stock_init()
2412 drain_local_stock(&stock->work); in drain_all_stock()
2414 schedule_work_on(cpu, &stock->work); in drain_all_stock()
2425 flush_work(&stock->work); in drain_all_stock()
3067 struct work_struct work; member
3073 container_of(w, struct memcg_register_cache_work, work); in memcg_register_cache_func()
3102 INIT_WORK(&cw->work, memcg_register_cache_func); in __memcg_schedule_register_cache()
3103 schedule_work(&cw->work); in __memcg_schedule_register_cache()
4926 static void memcg_event_remove(struct work_struct *work) in memcg_event_remove() argument
[all …]
Dpercpu.c182 static void pcpu_balance_workfn(struct work_struct *work);
1111 static void pcpu_balance_workfn(struct work_struct *work) in pcpu_balance_workfn() argument
Dslab.c652 if (keventd_up() && reap_work->work.func == NULL) { in start_cpu_timer()
1245 per_cpu(slab_reap_work, cpu).work.func = NULL; in cpuup_callback()
3850 struct delayed_work *work = to_delayed_work(w); in cache_reap() local
3898 schedule_delayed_work(work, round_jiffies_relative(REAPTIMEOUT_AC)); in cache_reap()
Dswapfile.c330 static void swap_discard_work(struct work_struct *work) in swap_discard_work() argument
334 si = container_of(work, struct swap_info_struct, discard_work); in swap_discard_work()
Dkmemleak.c1744 static void kmemleak_do_cleanup(struct work_struct *work) in kmemleak_do_cleanup() argument
DKconfig435 benefit but it will work automatically for all applications.