Lines Matching refs:sense_rq
176 struct request *sense_rq; in ide_prep_sense() local
200 sense_rq = drive->sense_rq; in ide_prep_sense()
201 if (!sense_rq) { in ide_prep_sense()
202 sense_rq = blk_mq_alloc_request(drive->queue, REQ_OP_DRV_IN, in ide_prep_sense()
204 drive->sense_rq = sense_rq; in ide_prep_sense()
206 req = scsi_req(sense_rq); in ide_prep_sense()
212 err = blk_rq_map_kern(drive->queue, sense_rq, sense, sense_len, in ide_prep_sense()
218 blk_mq_free_request(sense_rq); in ide_prep_sense()
219 drive->sense_rq = NULL; in ide_prep_sense()
223 sense_rq->rq_disk = rq->rq_disk; in ide_prep_sense()
224 sense_rq->cmd_flags = REQ_OP_DRV_IN; in ide_prep_sense()
225 ide_req(sense_rq)->type = ATA_PRIV_SENSE; in ide_prep_sense()
239 struct request *sense_rq; in ide_queue_sense_rq() local
252 sense_rq = drive->sense_rq; in ide_queue_sense_rq()
253 ide_req(sense_rq)->special = special; in ide_queue_sense_rq()
258 ide_insert_request_head(drive, sense_rq); in ide_queue_sense_rq()
272 struct request *sense_rq = drive->sense_rq; in ide_retry_pc() local
279 memcpy(pc->c, scsi_req(sense_rq)->cmd, 12); in ide_retry_pc()