Home
last modified time | relevance | path

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

/Linux-v4.19/block/
Dblk-mq.c139 int freeze_depth; in blk_freeze_queue_start() local
141 freeze_depth = atomic_inc_return(&q->mq_freeze_depth); in blk_freeze_queue_start()
142 if (freeze_depth == 1) { in blk_freeze_queue_start()
196 int freeze_depth; in blk_mq_unfreeze_queue() local
198 freeze_depth = atomic_dec_return(&q->mq_freeze_depth); in blk_mq_unfreeze_queue()
199 WARN_ON_ONCE(freeze_depth < 0); in blk_mq_unfreeze_queue()
200 if (!freeze_depth) { in blk_mq_unfreeze_queue()