Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/ide/
Dide-atapi.c176 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()
[all …]
Dide-io.c71 if (rq == drive->sense_rq) { in ide_end_rq()
72 drive->sense_rq = NULL; in ide_end_rq()
Dide-cd.c270 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()
Dide-probe.c983 if (drive->sense_rq) in drive_release_dev()
984 blk_mq_free_request(drive->sense_rq); in drive_release_dev()
/kernel/linux/linux-5.10/include/linux/
Dide.h619 struct request *sense_rq; member