Lines Matching refs:dq
2915 struct dasd_queue *dq; in dasd_block_tasklet() local
2927 dq = cqr->dq; in dasd_block_tasklet()
2928 spin_lock_irq(&dq->lock); in dasd_block_tasklet()
2931 spin_unlock_irq(&dq->lock); in dasd_block_tasklet()
2963 spin_lock_irq(&cqr->dq->lock); in _dasd_requeue_request()
2966 spin_unlock_irq(&cqr->dq->lock); in _dasd_requeue_request()
3033 spin_lock_irqsave(&cqr->dq->lock, flags); in dasd_flush_block_queue()
3037 spin_unlock_irqrestore(&cqr->dq->lock, flags); in dasd_flush_block_queue()
3069 struct dasd_queue *dq = hctx->driver_data; in do_dasd_request() local
3076 spin_lock_irq(&dq->lock); in do_dasd_request()
3134 cqr->dq = dq; in do_dasd_request()
3145 spin_unlock_irq(&dq->lock); in do_dasd_request()
3169 spin_lock_irqsave(&cqr->dq->lock, flags); in dasd_times_out()
3172 spin_unlock_irqrestore(&cqr->dq->lock, flags); in dasd_times_out()
3220 spin_unlock_irqrestore(&cqr->dq->lock, flags); in dasd_times_out()
3228 struct dasd_queue *dq = kzalloc(sizeof(*dq), GFP_KERNEL); in dasd_init_hctx() local
3230 if (!dq) in dasd_init_hctx()
3233 spin_lock_init(&dq->lock); in dasd_init_hctx()
3234 hctx->driver_data = dq; in dasd_init_hctx()