Home
last modified time | relevance | path

Searched refs:wait (Results 1 – 10 of 10) sorted by relevance

/mm/
A Dmempool.c204 init_waitqueue_head(&pool->wait); in mempool_init_node()
392 wait_queue_entry_t wait; in mempool_alloc_noprof() local
441 init_wait(&wait); in mempool_alloc_noprof()
442 prepare_to_wait(&pool->wait, &wait, TASK_UNINTERRUPTIBLE); in mempool_alloc_noprof()
452 finish_wait(&pool->wait, &wait); in mempool_alloc_noprof()
547 if (wq_has_sleeper(&pool->wait)) in mempool_free()
548 wake_up(&pool->wait); in mempool_free()
569 if (wq_has_sleeper(&pool->wait)) in mempool_free()
570 wake_up(&pool->wait); in mempool_free()
A Dfilemap.c1132 = container_of(wait, struct wait_page_queue, wait); in wake_page_function()
1141 flags = wait->flags; in wake_page_function()
1244 wait_queue_entry_t *wait = &wait_page.wait; in folio_wait_bit_common() local
1256 init_wait(wait); in folio_wait_bit_common()
1262 wait->flags = 0; in folio_wait_bit_common()
1395 wait_queue_entry_t *wait = &wait_page.wait; in migration_entry_wait_on_locked() local
1409 init_wait(wait); in migration_entry_wait_on_locked()
1413 wait->flags = 0; in migration_entry_wait_on_locked()
1692 wait->folio = folio; in __folio_lock_async()
1696 __add_wait_queue_entry_tail(q, &wait->wait); in __folio_lock_async()
[all …]
A Dmemcontrol-v1.c85 wait_queue_entry_t wait; member
985 remove_wait_queue(event->wqh, &event->wait); in memcg_event_remove()
1006 container_of(wait, struct mem_cgroup_event, wait); in memcg_event_wake()
1042 add_wait_queue(wqh, &event->wait); in memcg_event_ptable_queue_proc()
1301 wait_queue_entry_t wait; member
1311 oom_wait_info = container_of(wait, struct oom_wait_info, wait); in memcg_oom_wake_function()
1365 owait.wait.flags = 0; in mem_cgroup_oom_synchronize()
1366 owait.wait.func = memcg_oom_wake_function; in mem_cgroup_oom_synchronize()
1367 owait.wait.private = current; in mem_cgroup_oom_synchronize()
1368 INIT_LIST_HEAD(&owait.wait.entry); in mem_cgroup_oom_synchronize()
[all …]
A Dhighmem.c270 DECLARE_WAITQUEUE(wait, current); in map_new_virtual()
275 add_wait_queue(pkmap_map_wait, &wait); in map_new_virtual()
278 remove_wait_queue(pkmap_map_wait, &wait); in map_new_virtual()
A Dzswap.c149 struct crypto_wait wait; member
858 crypto_init_wait(&acomp_ctx->wait); in zswap_cpu_comp_prepare()
866 crypto_req_done, &acomp_ctx->wait); in zswap_cpu_comp_prepare()
977 comp_ret = crypto_wait_req(crypto_acomp_compress(acomp_ctx->req), &acomp_ctx->wait); in zswap_compress()
1032 decomp_ret = crypto_wait_req(crypto_acomp_decompress(acomp_ctx->req), &acomp_ctx->wait); in zswap_decompress()
A Dkhugepaged.c840 DEFINE_WAIT(wait); in khugepaged_alloc_sleep()
842 add_wait_queue(&khugepaged_wait, &wait); in khugepaged_alloc_sleep()
845 remove_wait_queue(&khugepaged_wait, &wait); in khugepaged_alloc_sleep()
2551 bool wait = true; in khugepaged_do_scan() local
2581 if (!wait) in khugepaged_do_scan()
2583 wait = false; in khugepaged_do_scan()
A Dvmscan.c551 DEFINE_WAIT(wait); in reclaim_throttle()
604 prepare_to_wait(wqh, &wait, TASK_UNINTERRUPTIBLE); in reclaim_throttle()
606 finish_wait(wqh, &wait); in reclaim_throttle()
7230 DEFINE_WAIT(wait); in kswapd_try_to_sleep()
7235 prepare_to_wait(&pgdat->kswapd_wait, &wait, TASK_INTERRUPTIBLE); in kswapd_try_to_sleep()
7275 finish_wait(&pgdat->kswapd_wait, &wait); in kswapd_try_to_sleep()
7276 prepare_to_wait(&pgdat->kswapd_wait, &wait, TASK_INTERRUPTIBLE); in kswapd_try_to_sleep()
7307 finish_wait(&pgdat->kswapd_wait, &wait); in kswapd_try_to_sleep()
A Dswapfile.c2835 static __poll_t swaps_poll(struct file *file, poll_table *wait) in swaps_poll() argument
2839 poll_wait(file, &proc_poll_wait, wait); in swaps_poll()
A Dshmem.c2713 static int synchronous_wake_function(wait_queue_entry_t *wait, in synchronous_wake_function() argument
2716 int ret = default_wake_function(wait, mode, sync, key); in synchronous_wake_function()
2717 list_del_init(&wait->entry); in synchronous_wake_function()
A Dmemory.c4458 DECLARE_WAITQUEUE(wait, current); in do_swap_page()
4565 add_wait_queue(&swapcache_wq, &wait); in do_swap_page()
4567 remove_wait_queue(&swapcache_wq, &wait); in do_swap_page()

Completed in 72 milliseconds