Home
last modified time | relevance | path

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

/drivers/block/
Dcpqarray.c897 struct request *creq; in do_ida_request() local
905 creq = elv_next_request(q); in do_ida_request()
906 if (!creq) in do_ida_request()
909 BUG_ON(creq->nr_phys_segments > SG_MAX); in do_ida_request()
914 blkdev_dequeue_request(creq); in do_ida_request()
917 c->hdr.unit = (drv_info_t *)(creq->rq_disk->private_data) - h->drv; in do_ida_request()
921 c->req.hdr.blk = creq->sector; in do_ida_request()
922 c->rq = creq; in do_ida_request()
924 printk("sector=%d, nr_sectors=%d\n", creq->sector, creq->nr_sectors); in do_ida_request()
927 seg = blk_rq_map_sg(q, creq, tmp_sg); in do_ida_request()
[all …]
Dcciss.c2769 struct request *creq; in do_cciss_request() local
2782 creq = elv_next_request(q); in do_cciss_request()
2783 if (!creq) in do_cciss_request()
2786 BUG_ON(creq->nr_phys_segments > MAXSGENTRIES); in do_cciss_request()
2791 blkdev_dequeue_request(creq); in do_cciss_request()
2796 c->rq = creq; in do_cciss_request()
2799 drv = creq->rq_disk->private_data; in do_cciss_request()
2812 (rq_data_dir(creq) == READ) ? XFER_READ : XFER_WRITE; in do_cciss_request()
2815 (rq_data_dir(creq) == READ) ? h->cciss_read : h->cciss_write; in do_cciss_request()
2816 start_blk = creq->sector; in do_cciss_request()
[all …]