Searched refs:wake_index (Results 1 – 2 of 2) sorted by relevance
76 int i, wake_index; in blk_mq_tag_wakeup_all() local83 wake_index = atomic_read(&bt->wake_index); in blk_mq_tag_wakeup_all()85 struct bt_wait_state *bs = &bt->bs[wake_index]; in blk_mq_tag_wakeup_all()90 wake_index = bt_index_inc(wake_index); in blk_mq_tag_wakeup_all()360 int i, wake_index; in bt_wake_ptr() local362 wake_index = atomic_read(&bt->wake_index); in bt_wake_ptr()364 struct bt_wait_state *bs = &bt->bs[wake_index]; in bt_wake_ptr()367 int o = atomic_read(&bt->wake_index); in bt_wake_ptr()368 if (wake_index != o) in bt_wake_ptr()369 atomic_cmpxchg(&bt->wake_index, o, wake_index); in bt_wake_ptr()[all …]
27 atomic_t wake_index; member