Searched refs:WQ_FLAG_WOKEN (Results 1 - 4 of 4) sorted by path

/linux-master/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_submission.c4857 if (wq_entry->flags & WQ_FLAG_WOKEN)
4865 smp_store_mb(wq_entry->flags, wq_entry->flags & ~WQ_FLAG_WOKEN);
/linux-master/include/linux/
H A Dwait.h20 #define WQ_FLAG_WOKEN 0x02 macro
/linux-master/kernel/sched/
H A Dwait.c403 * p->state = mode; wq_entry->flags |= WQ_FLAG_WOKEN;
405 * if (!(wq_entry->flags & WQ_FLAG_WOKEN)) <full barrier>
408 * wq_entry->flags &= ~WQ_FLAG_WOKEN; ~~~~~~~~~~~~~~~~~~
411 * remove_wait_queue(&wq_head, &wait); wq_entry->flags |= WQ_FLAG_WOKEN;
422 if (!(wq_entry->flags & WQ_FLAG_WOKEN) && !kthread_should_stop_or_park())
432 smp_store_mb(wq_entry->flags, wq_entry->flags & ~WQ_FLAG_WOKEN); /* B */
442 wq_entry->flags |= WQ_FLAG_WOKEN;
/linux-master/mm/
H A Dfilemap.c1066 * calls the wakeup function, we set WQ_FLAG_WOKEN and wake it up,
1075 * WQ_FLAG_WOKEN bit, wake it up, and remove it from the wait queue.
1087 * WQ_FLAG_WOKEN, we set WQ_FLAG_DONE to let the waiter easily see
1124 smp_store_release(&wait->flags, flags | WQ_FLAG_WOKEN);
1197 wait->flags |= WQ_FLAG_WOKEN | WQ_FLAG_DONE;
1257 * the WQ_FLAG_WOKEN and WQ_FLAG_DONE flag, to
1268 * we see the WQ_FLAG_WOKEN flag, we need to
1279 if (!(flags & WQ_FLAG_WOKEN)) {
1331 * Also note that WQ_FLAG_WOKEN is sufficient for a non-exclusive
1337 return wait->flags & WQ_FLAG_WOKEN
[all...]

Completed in 339 milliseconds