Home
last modified time | relevance | path

Searched refs:waiters (Results 1 – 8 of 8) sorted by relevance

/kernel/locking/
Dpercpu-rwsem.c38 init_waitqueue_head(&sem->waiters); in __percpu_init_rwsem()
161 spin_lock_irq(&sem->waiters.lock); in percpu_rwsem_wait()
169 __add_wait_queue_entry_tail(&sem->waiters, &wq_entry); in percpu_rwsem_wait()
172 spin_unlock_irq(&sem->waiters.lock); in percpu_rwsem_wait()
302 __wake_up(&sem->waiters, TASK_NORMAL, 1, sem); in percpu_up_write()
Drtmutex_common.h112 return !RB_EMPTY_ROOT(&lock->waiters.rb_root); in rt_mutex_has_waiters()
123 struct rb_node *leftmost = rb_first_cached(&lock->waiters); in rt_mutex_waiter_is_top_waiter()
130 struct rb_node *leftmost = rb_first_cached(&lock->waiters); in rt_mutex_top_waiter()
182 lock->waiters = RB_ROOT_CACHED; in __rt_mutex_base_init()
Dww_mutex.h96 struct rb_node *n = rb_first(&lock->rtmutex.waiters.rb_root); in __ww_waiter_first()
123 struct rb_node *n = rb_last(&lock->rtmutex.waiters.rb_root); in __ww_waiter_last()
Drtmutex.c469 rb_add_cached(&waiter->tree.entry, &lock->waiters, __waiter_less); in rt_mutex_enqueue()
480 rb_erase_cached(&waiter->tree.entry, &lock->waiters); in rt_mutex_dequeue()
/kernel/futex/
Dfutex.h46 atomic_t waiters; member
187 atomic_inc(&hb->waiters); in futex_hb_waiters_inc()
202 atomic_dec(&hb->waiters); in futex_hb_waiters_dec()
213 return atomic_read(&hb->waiters); in futex_hb_waiters_pending()
Dsyscalls.c248 SYSCALL_DEFINE5(futex_waitv, struct futex_waitv __user *, waiters, in SYSCALL_DEFINE5() argument
262 if (!nr_futexes || nr_futexes > FUTEX_WAITV_MAX || !waiters) in SYSCALL_DEFINE5()
296 ret = futex_parse_waitv(futexv, waiters, nr_futexes); in SYSCALL_DEFINE5()
Dcore.c1155 atomic_set(&futex_queues[i].waiters, 0); in futex_init()
/kernel/trace/
Dring_buffer.c374 wait_queue_head_t waiters; member
874 wake_up_all(&rbwork->waiters); in rb_wake_up_waiters()
1060 waitq = &rbwork->waiters; in ring_buffer_wait()
1129 poll_wait(filp, &rbwork->waiters, poll_table); in ring_buffer_poll_wait()
1723 init_waitqueue_head(&cpu_buffer->irq_work.waiters); in rb_allocate_cpu_buffer()
1859 init_waitqueue_head(&buffer->irq_work.waiters); in __ring_buffer_alloc()