/mm/ |
D | mempool.c | 189 init_waitqueue_head(&pool->wait); in mempool_init_node() 379 wait_queue_entry_t wait; in mempool_alloc() local 428 init_wait(&wait); in mempool_alloc() 429 prepare_to_wait(&pool->wait, &wait, TASK_UNINTERRUPTIBLE); in mempool_alloc() 439 finish_wait(&pool->wait, &wait); in mempool_alloc() 497 wake_up(&pool->wait); in mempool_free()
|
D | filemap.c | 1131 static int wake_page_function(wait_queue_entry_t *wait, unsigned mode, int sync, void *arg) in wake_page_function() argument 1136 = container_of(wait, struct wait_page_queue, wait); in wake_page_function() 1145 flags = wait->flags; in wake_page_function() 1165 smp_store_release(&wait->flags, flags | WQ_FLAG_WOKEN); in wake_page_function() 1166 wake_up_state(wait->private, mode); in wake_page_function() 1178 list_del_init_careful(&wait->entry); in wake_page_function() 1263 struct wait_queue_entry *wait) in trylock_page_bit_common() argument 1265 if (wait->flags & WQ_FLAG_EXCLUSIVE) { in trylock_page_bit_common() 1271 wait->flags |= WQ_FLAG_WOKEN | WQ_FLAG_DONE; in trylock_page_bit_common() 1283 wait_queue_entry_t *wait = &wait_page.wait; in wait_on_page_bit_common() local [all …]
|
D | khugepaged.c | 800 DEFINE_WAIT(wait); in khugepaged_alloc_sleep() 802 add_wait_queue(&khugepaged_wait, &wait); in khugepaged_alloc_sleep() 805 remove_wait_queue(&khugepaged_wait, &wait); in khugepaged_alloc_sleep() 866 static bool khugepaged_prealloc_page(struct page **hpage, bool *wait) in khugepaged_prealloc_page() argument 869 if (!*wait) in khugepaged_prealloc_page() 872 *wait = false; in khugepaged_prealloc_page() 916 static struct page *khugepaged_alloc_hugepage(bool *wait) in khugepaged_alloc_hugepage() argument 924 if (!*wait) in khugepaged_alloc_hugepage() 927 *wait = false; in khugepaged_alloc_hugepage() 936 static bool khugepaged_prealloc_page(struct page **hpage, bool *wait) in khugepaged_prealloc_page() argument [all …]
|
D | backing-dev.c | 1039 DEFINE_WAIT(wait); in congestion_wait() 1042 prepare_to_wait(wqh, &wait, TASK_UNINTERRUPTIBLE); in congestion_wait() 1044 finish_wait(wqh, &wait); in congestion_wait() 1070 DEFINE_WAIT(wait); in wait_iff_congested() 1089 prepare_to_wait(wqh, &wait, TASK_UNINTERRUPTIBLE); in wait_iff_congested() 1091 finish_wait(wqh, &wait); in wait_iff_congested()
|
D | zswap.c | 135 struct crypto_wait wait; member 469 crypto_init_wait(&acomp_ctx->wait); in zswap_cpu_comp_prepare() 476 crypto_req_done, &acomp_ctx->wait); in zswap_cpu_comp_prepare() 999 ret = crypto_wait_req(crypto_acomp_decompress(acomp_ctx->req), &acomp_ctx->wait); in zswap_writeback_entry() 1181 ret = crypto_wait_req(crypto_acomp_compress(acomp_ctx->req), &acomp_ctx->wait); in zswap_frontswap_store() 1305 ret = crypto_wait_req(crypto_acomp_decompress(acomp_ctx->req), &acomp_ctx->wait); in zswap_frontswap_load()
|
D | highmem.c | 230 DECLARE_WAITQUEUE(wait, current); in map_new_virtual() 235 add_wait_queue(pkmap_map_wait, &wait); in map_new_virtual() 238 remove_wait_queue(pkmap_map_wait, &wait); in map_new_virtual()
|
D | memcontrol.c | 171 wait_queue_entry_t wait; member 1394 DEFINE_WAIT(wait); in mem_cgroup_wait_acct_move() 1395 prepare_to_wait(&mc.waitq, &wait, TASK_INTERRUPTIBLE); in mem_cgroup_wait_acct_move() 1399 finish_wait(&mc.waitq, &wait); in mem_cgroup_wait_acct_move() 1805 wait_queue_entry_t wait; member 1808 static int memcg_oom_wake_function(wait_queue_entry_t *wait, in memcg_oom_wake_function() argument 1815 oom_wait_info = container_of(wait, struct oom_wait_info, wait); in memcg_oom_wake_function() 1821 return autoremove_wake_function(wait, mode, sync, arg); in memcg_oom_wake_function() 1934 owait.wait.flags = 0; in mem_cgroup_oom_synchronize() 1935 owait.wait.func = memcg_oom_wake_function; in mem_cgroup_oom_synchronize() [all …]
|
D | vmscan.c | 7257 DEFINE_WAIT(wait); in kswapd_try_to_sleep() 7262 prepare_to_wait(&pgdat->kswapd_wait, &wait, TASK_INTERRUPTIBLE); in kswapd_try_to_sleep() 7302 finish_wait(&pgdat->kswapd_wait, &wait); in kswapd_try_to_sleep() 7303 prepare_to_wait(&pgdat->kswapd_wait, &wait, TASK_INTERRUPTIBLE); in kswapd_try_to_sleep() 7334 finish_wait(&pgdat->kswapd_wait, &wait); in kswapd_try_to_sleep()
|
D | shmem.c | 2045 static int synchronous_wake_function(wait_queue_entry_t *wait, unsigned mode, int sync, void *key) in synchronous_wake_function() argument 2047 int ret = default_wake_function(wait, mode, sync, key); in synchronous_wake_function() 2048 list_del_init(&wait->entry); in synchronous_wake_function()
|
D | swapfile.c | 2702 static __poll_t swaps_poll(struct file *file, poll_table *wait) in swaps_poll() argument 2706 poll_wait(file, &proc_poll_wait, wait); in swaps_poll()
|