wait_event_interruptible_lock_irq_timeout(9) on Linux
The text ce9ccdfde5e0, as Debian 8 (Jessie) shipped it. The page shows this text now.
sleep until a condition gets true or a timeout elapses. The condition is checked under the lock. This is expected to be called with the lock taken.