Searched refs:wake_index (Results 1 – 2 of 2) sorted by relevance
428 atomic_set(&sbq->wake_index, 0); in sbitmap_queue_init_node()553 int i, wake_index, woken; in __sbitmap_queue_wake_up() local558 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() local680 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 …]
119 atomic_t wake_index; member