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

/linux-4.4.14/block/
H A Dblk-mq-tag.c76 int i, wake_index; blk_mq_tag_wakeup_all() local
83 wake_index = atomic_read(&bt->wake_index); blk_mq_tag_wakeup_all()
85 struct bt_wait_state *bs = &bt->bs[wake_index]; blk_mq_tag_wakeup_all()
90 wake_index = bt_index_inc(wake_index); blk_mq_tag_wakeup_all()
360 int i, wake_index; bt_wake_ptr() local
362 wake_index = atomic_read(&bt->wake_index); bt_wake_ptr()
364 struct bt_wait_state *bs = &bt->bs[wake_index]; bt_wake_ptr()
367 int o = atomic_read(&bt->wake_index); bt_wake_ptr()
368 if (wake_index != o) bt_wake_ptr()
369 atomic_cmpxchg(&bt->wake_index, o, wake_index); bt_wake_ptr()
374 wake_index = bt_index_inc(wake_index); bt_wake_ptr()
400 bt_index_atomic_inc(&bt->wake_index); bt_clear_tag()
H A Dblk-mq-tag.h27 atomic_t wake_index; member in struct:blk_mq_bitmap_tags

Completed in 825 milliseconds