Searched refs:wake_index (Results 1 – 2 of 2) sorted by relevance
327 atomic_set(&sbq->wake_index, 0); in sbitmap_queue_init_node()441 int i, wake_index; in sbq_wake_ptr() local443 wake_index = atomic_read(&sbq->wake_index); in sbq_wake_ptr()445 struct sbq_wait_state *ws = &sbq->ws[wake_index]; in sbq_wake_ptr()448 int o = atomic_read(&sbq->wake_index); in sbq_wake_ptr()450 if (wake_index != o) in sbq_wake_ptr()451 atomic_cmpxchg(&sbq->wake_index, o, wake_index); in sbq_wake_ptr()455 wake_index = sbq_index_inc(wake_index); in sbq_wake_ptr()491 sbq_index_atomic_inc(&sbq->wake_index); in __sbq_wake_up()529 int i, wake_index; in sbitmap_queue_wake_all() local[all …]
121 atomic_t wake_index; member