Searched defs:wait (Results 1 - 6 of 6) sorted by relevance

/mm/
H A Dmempool.c86 init_waitqueue_head(&pool->wait);
198 wait_queue_t wait; local
240 /* Let's wait for someone else to return an element to @pool */
241 init_wait(&wait);
242 prepare_to_wait(&pool->wait, &wait, TASK_UNINTERRUPTIBLE);
252 finish_wait(&pool->wait, &wait);
310 wake_up(&pool->wait);
H A Dfilemap.c255 * filemap_fdatawait_range - wait for writeback to complete
256 * @mapping: address space structure to wait for
261 * in the given range and wait for all of them.
308 * filemap_fdatawait - wait for all under-writeback pages to complete
309 * @mapping: address space structure to wait for
312 * and wait for all of them.
333 * written partially (e.g. -ENOSPC), so we wait for it.
348 * filemap_write_and_wait_range - write out & wait on a file range
353 * Write out and wait upon file offsets lstart->lend, inclusive.
515 * In order to wait fo
541 __wait_on_bit(page_waitqueue(page), &wait, sleep_on_page, local
621 __wait_on_bit_lock(page_waitqueue(page), &wait, sleep_on_page, local
[all...]
H A Dpage-writeback.c1155 * the caller to wait once crossing the (background_thresh + dirty_thresh) / 2.
1366 * In laptop mode, we wait until hitting the higher threshold before
1662 * WB_SYNC_ALL then we were called for data integrity and we must wait for
1881 * write_one_page - write out a single page and optionally wait on I/O
1883 * @wait: if true, wait on writeout
1889 int write_one_page(struct page *page, int wait) argument
1900 if (wait)
1906 if (ret == 0 && wait) {
H A Dswapfile.c1642 /* wait for anyone still in scan_swap_map */
1684 static unsigned swaps_poll(struct file *file, poll_table *wait) argument
1688 poll_wait(file, &proc_poll_wait, wait);
H A Dmemcontrol.c1328 DEFINE_WAIT(wait);
1329 prepare_to_wait(&mc.waitq, &wait, TASK_INTERRUPTIBLE);
1333 finish_wait(&mc.waitq, &wait);
1743 wait_queue_t wait; member in struct:oom_wait_info
1746 static int memcg_oom_wake_function(wait_queue_t *wait, argument
1753 oom_wait_info = container_of(wait, struct oom_wait_info, wait);
1763 return autoremove_wake_function(wait, mode, sync, arg);
1787 owait.wait.flags = 0;
1788 owait.wait
[all...]
H A Dpage_alloc.c1479 if (!debugfs_create_bool("ignore-gfp-wait", mode, dir,
2146 const gfp_t wait = gfp_mask & __GFP_WAIT; local
2155 * set both ALLOC_HARDER (!wait) and ALLOC_HIGH (__GFP_HIGH).
2159 if (!wait) {
2167 * Ignore cpuset if GFP_ATOMIC (!wait) rather than fail alloc.
2190 const gfp_t wait = gfp_mask & __GFP_WAIT; local
2258 if (!wait)
3399 * large so that collisions trying to wait on pages are rare.
3421 * on IO we've got bigger problems than wait queue collision.
3422 * Limit the size of the wait tabl
[all...]

Completed in 102 milliseconds