Home
last modified time | relevance | path

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

/kernel/locking/
Drtmutex_common.h49 return !RB_EMPTY_ROOT(&lock->waiters.rb_root); in rt_mutex_has_waiters()
55 struct rb_node *leftmost = rb_first_cached(&lock->waiters); in rt_mutex_top_waiter()
Drtmutex.c275 struct rb_node **link = &lock->waiters.rb_root.rb_node; in rt_mutex_enqueue()
292 rb_insert_color_cached(&waiter->tree_entry, &lock->waiters, leftmost); in rt_mutex_enqueue()
301 rb_erase_cached(&waiter->tree_entry, &lock->waiters); in rt_mutex_dequeue()
1680 lock->waiters = RB_ROOT_CACHED; in __rt_mutex_init()
/kernel/
Dfutex.c255 atomic_t waiters; member
352 atomic_inc(&hb->waiters); in hb_waiters_inc()
367 atomic_dec(&hb->waiters); in hb_waiters_dec()
374 return atomic_read(&hb->waiters); in hb_waiters_pending()
4182 atomic_set(&futex_queues[i].waiters, 0); in futex_init()
/kernel/trace/
Dring_buffer.c414 wait_queue_head_t waiters; member
582 wake_up_all(&rbwork->waiters); in rb_wake_up_waiters()
628 prepare_to_wait(&work->waiters, &wait, TASK_INTERRUPTIBLE); in ring_buffer_wait()
692 finish_wait(&work->waiters, &wait); in ring_buffer_wait()
727 poll_wait(filp, &work->waiters, poll_table); in ring_buffer_poll_wait()
1330 init_waitqueue_head(&cpu_buffer->irq_work.waiters); in rb_allocate_cpu_buffer()
1429 init_waitqueue_head(&buffer->irq_work.waiters); in __ring_buffer_alloc()