Home
last modified time | relevance | path

Searched refs:wake_index (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/lib/
Dsbitmap.c428 atomic_set(&sbq->wake_index, 0); in sbitmap_queue_init_node()
553 int i, wake_index, woken; in __sbitmap_queue_wake_up() local
558 wake_index = atomic_read(&sbq->wake_index); in __sbitmap_queue_wake_up()
560 struct sbq_wait_state *ws = &sbq->ws[wake_index]; in __sbitmap_queue_wake_up()
568 wake_index = sbq_index_inc(wake_index); in __sbitmap_queue_wake_up()
578 if (wake_index != atomic_read(&sbq->wake_index)) in __sbitmap_queue_wake_up()
579 atomic_set(&sbq->wake_index, wake_index); in __sbitmap_queue_wake_up()
673 int i, wake_index; in sbitmap_queue_wake_all() local
680 wake_index = atomic_read(&sbq->wake_index); in sbitmap_queue_wake_all()
682 struct sbq_wait_state *ws = &sbq->ws[wake_index]; in sbitmap_queue_wake_all()
[all …]
/Linux-v6.6/include/linux/
Dsbitmap.h119 atomic_t wake_index; member