Lines Matching refs:woken
406 * - woken process blocks are discarded from the list after having task zeroed
407 * - writers are only marked woken if downgrading is false
409 * Implies rwsem_del_waiter() for all woken readers.
416 long oldcount, woken = 0, adjustment = 0;
488 * queue. We know that the woken will be at least 1 as we accounted
500 * is because the to-be-woken waiter may not have slept yet. So it
507 * put them into wake_q to be woken up later.
514 woken++;
518 * Limit # of readers that can be woken up per wakeup call.
520 if (unlikely(woken >= MAX_READERS_WAKEUP))
524 adjustment = woken * RWSEM_READER_BIAS - adjustment;
525 lockevent_cond_inc(rwsem_wake_reader, woken);
536 } else if (woken) {
538 * When we've woken a reader, we no longer need to force
1137 * when a large number of readers are to be woken up.