Home
last modified time | relevance | path

Searched refs:work (Results 1 – 11 of 11) 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()
170 static void vmpressure_work_fn(struct work_struct *work) in vmpressure_work_fn() argument
172 struct vmpressure *vmpr = work_to_vmpressure(work); in vmpressure_work_fn()
257 schedule_work(&vmpr->work); in vmpressure()
373 INIT_WORK(&vmpr->work, vmpressure_work_fn); in vmpressure_init()
389 flush_work(&vmpr->work); in vmpressure_cleanup()
Dzswap.c126 struct work_struct work; member
670 static void __zswap_pool_release(struct work_struct *work) in __zswap_pool_release() argument
672 struct zswap_pool *pool = container_of(work, typeof(*pool), work); in __zswap_pool_release()
695 INIT_WORK(&pool->work, __zswap_pool_release); in __zswap_pool_empty()
696 schedule_work(&pool->work); in __zswap_pool_empty()
Dswap.c881 struct work_struct *work = &per_cpu(lru_add_drain_work, cpu); in lru_add_drain_all() local
887 INIT_WORK(work, lru_add_drain_per_cpu); in lru_add_drain_all()
888 schedule_work_on(cpu, work); in lru_add_drain_all()
Dmemory-failure.c1329 struct work_struct work; member
1364 schedule_work_on(smp_processor_id(), &mf_cpu->work); in memory_failure_queue()
1373 static void memory_failure_work_func(struct work_struct *work) in memory_failure_work_func() argument
1403 INIT_WORK(&mf_cpu->work, memory_failure_work_func); in memory_failure_init()
Dmemcontrol.c1875 struct work_struct work; member
1979 drain_local_stock(&stock->work); in drain_all_stock()
1981 schedule_work_on(cpu, &stock->work); in drain_all_stock()
2306 struct work_struct work; member
2312 container_of(w, struct memcg_kmem_cache_create_work, work); in memcg_kmem_cache_create_func()
2338 INIT_WORK(&cw->work, memcg_kmem_cache_create_func); in __memcg_schedule_kmem_cache_create()
2340 schedule_work(&cw->work); in __memcg_schedule_kmem_cache_create()
3832 static void memcg_event_remove(struct work_struct *work) in memcg_event_remove() argument
3835 container_of(work, struct mem_cgroup_event, remove); in memcg_event_remove()
5736 INIT_WORK(&per_cpu_ptr(&memcg_stock, cpu)->work, in mem_cgroup_init()
Dbacking-dev.c478 static void cgwb_release_workfn(struct work_struct *work) in cgwb_release_workfn() argument
480 struct bdi_writeback *wb = container_of(work, struct bdi_writeback, in cgwb_release_workfn()
Dpercpu.c183 static void pcpu_balance_workfn(struct work_struct *work);
1112 static void pcpu_balance_workfn(struct work_struct *work) in pcpu_balance_workfn() argument
Dslab.c637 if (keventd_up() && reap_work->work.func == NULL) { in start_cpu_timer()
1247 per_cpu(slab_reap_work, cpu).work.func = NULL; in cpuup_callback()
3900 struct delayed_work *work = to_delayed_work(w); in cache_reap() local
3948 schedule_delayed_work_on(smp_processor_id(), work, 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.c1785 static void kmemleak_do_cleanup(struct work_struct *work) in kmemleak_do_cleanup() argument
DKconfig419 benefit but it will work automatically for all applications.