Lines Matching refs:hd_req
100 static struct request *hd_req;
196 if (__blk_end_request(hd_req, err, bytes))
198 hd_req = NULL;
204 return hd_end_request(err, blk_rq_cur_bytes(hd_req));
210 if (hd_req)
211 name = hd_req->rq_disk->disk_name;
239 if (hd_req)
240 printk(", sector=%ld", blk_rq_pos(hd_req));
418 struct request *req = hd_req;
467 req = hd_req;
488 struct request *req = hd_req;
538 if (!hd_req)
543 name = hd_req->rq_disk->disk_name;
545 if (++hd_req->errors >= MAX_ERRORS) {
591 if (!hd_req) {
592 hd_req = blk_fetch_request(hd_queue);
593 if (!hd_req) {
598 req = hd_req;