Searched refs:WQ_FLAG_WOKEN (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/kernel/sched/ |
H A D | wait.c | 425 * p->state = mode; wq_entry->flags |= WQ_FLAG_WOKEN; 427 * if (!(wq_entry->flags & WQ_FLAG_WOKEN)) <full barrier> 430 * wq_entry->flags &= ~WQ_FLAG_WOKEN; ~~~~~~~~~~~~~~~~~~ 433 * remove_wait_queue(&wq_head, &wait); wq_entry->flags |= WQ_FLAG_WOKEN; 444 if (!(wq_entry->flags & WQ_FLAG_WOKEN) && !is_kthread_should_stop()) in wait_woken() 454 smp_store_mb(wq_entry->flags, wq_entry->flags & ~WQ_FLAG_WOKEN); /* B */ in wait_woken() 464 wq_entry->flags |= WQ_FLAG_WOKEN; in woken_wake_function()
|
/kernel/linux/linux-6.6/kernel/sched/ |
H A D | wait.c | 443 * p->state = mode; wq_entry->flags |= WQ_FLAG_WOKEN; 445 * if (!(wq_entry->flags & WQ_FLAG_WOKEN)) <full barrier> 448 * wq_entry->flags &= ~WQ_FLAG_WOKEN; ~~~~~~~~~~~~~~~~~~ 451 * remove_wait_queue(&wq_head, &wait); wq_entry->flags |= WQ_FLAG_WOKEN; 462 if (!(wq_entry->flags & WQ_FLAG_WOKEN) && !kthread_should_stop_or_park()) in wait_woken() 472 smp_store_mb(wq_entry->flags, wq_entry->flags & ~WQ_FLAG_WOKEN); /* B */ in wait_woken() 482 wq_entry->flags |= WQ_FLAG_WOKEN; in woken_wake_function()
|
/kernel/linux/linux-5.10/mm/ |
H A D | filemap.c | 1025 * calls the wakeup function, we set WQ_FLAG_WOKEN and wake it up, 1034 * WQ_FLAG_WOKEN bit, wake it up, and remove it from the wait queue. 1046 * WQ_FLAG_WOKEN, we set WQ_FLAG_DONE to let the waiter easily see 1083 smp_store_release(&wait->flags, flags | WQ_FLAG_WOKEN); in wake_page_function() 1189 wait->flags |= WQ_FLAG_WOKEN | WQ_FLAG_DONE; in trylock_page_bit_common() 1251 * the WQ_FLAG_WOKEN and WQ_FLAG_DONE flag, to in wait_on_page_bit_common() 1262 * we see the WQ_FLAG_WOKEN flag, we need to in wait_on_page_bit_common() 1273 if (!(flags & WQ_FLAG_WOKEN)) { in wait_on_page_bit_common() 1326 * Also note that WQ_FLAG_WOKEN is sufficient for a non-exclusive in wait_on_page_bit_common() 1332 return wait->flags & WQ_FLAG_WOKEN in wait_on_page_bit_common() [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | filemap.c | 1058 * calls the wakeup function, we set WQ_FLAG_WOKEN and wake it up, 1067 * WQ_FLAG_WOKEN bit, wake it up, and remove it from the wait queue. 1079 * WQ_FLAG_WOKEN, we set WQ_FLAG_DONE to let the waiter easily see 1116 smp_store_release(&wait->flags, flags | WQ_FLAG_WOKEN); in wake_page_function() 1215 wait->flags |= WQ_FLAG_WOKEN | WQ_FLAG_DONE; in folio_trylock_flag() 1275 * the WQ_FLAG_WOKEN and WQ_FLAG_DONE flag, to in folio_wait_bit_common() 1286 * we see the WQ_FLAG_WOKEN flag, we need to in folio_wait_bit_common() 1297 if (!(flags & WQ_FLAG_WOKEN)) { in folio_wait_bit_common() 1349 * Also note that WQ_FLAG_WOKEN is sufficient for a non-exclusive in folio_wait_bit_common() 1355 return wait->flags & WQ_FLAG_WOKEN in folio_wait_bit_common() [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | wait.h | 21 #define WQ_FLAG_WOKEN 0x02 macro
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | wait.h | 21 #define WQ_FLAG_WOKEN 0x02 macro
|
Completed in 11 milliseconds