Home
last modified time | relevance | path

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

/lib/
Dsbitmap.c392 atomic_set(&sbq->wake_index, 0); in sbitmap_queue_init_node()
507 int i, wake_index; in sbq_wake_ptr() local
512 wake_index = atomic_read(&sbq->wake_index); in sbq_wake_ptr()
514 struct sbq_wait_state *ws = &sbq->ws[wake_index]; in sbq_wake_ptr()
517 if (wake_index != atomic_read(&sbq->wake_index)) in sbq_wake_ptr()
518 atomic_set(&sbq->wake_index, wake_index); in sbq_wake_ptr()
522 wake_index = sbq_index_inc(wake_index); in sbq_wake_ptr()
558 sbq_index_atomic_inc(&sbq->wake_index); in __sbq_wake_up()
608 int i, wake_index; in sbitmap_queue_wake_all() local
615 wake_index = atomic_read(&sbq->wake_index); in sbitmap_queue_wake_all()
[all …]