Searched refs:sense_rq (Results 1 – 5 of 5) sorted by relevance
176 struct request *sense_rq; in ide_prep_sense() local200 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()[all …]
71 if (rq == drive->sense_rq) { in ide_end_rq()72 drive->sense_rq = NULL; in ide_end_rq()
270 if (!drive->sense_rq) in ide_cd_free_sense()273 blk_mq_free_request(drive->sense_rq); in ide_cd_free_sense()274 drive->sense_rq = NULL; in ide_cd_free_sense()
983 if (drive->sense_rq) in drive_release_dev()984 blk_mq_free_request(drive->sense_rq); in drive_release_dev()
619 struct request *sense_rq; member