Lines Matching defs:wait
797 DEFINE_WAIT(wait);
799 add_wait_queue(&khugepaged_wait, &wait);
802 remove_wait_queue(&khugepaged_wait, &wait);
863 static bool khugepaged_prealloc_page(struct page **hpage, bool *wait)
866 if (!*wait)
869 *wait = false;
913 static struct page *khugepaged_alloc_hugepage(bool *wait)
921 if (!*wait)
924 *wait = false;
933 static bool khugepaged_prealloc_page(struct page **hpage, bool *wait)
948 *hpage = khugepaged_alloc_hugepage(wait);
2126 * Don't wait for semaphore (to avoid long wait times). Just move to
2243 bool wait = true;
2250 if (!khugepaged_prealloc_page(&hpage, &wait))