Home
last modified time | relevance | path

Searched refs:rq2 (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/drivers/isdn/mISDN/
Dstack.c469 struct channel_req rq, rq2; in connect_Bstack() local
495 rq2.protocol = protocol; in connect_Bstack()
496 rq2.adr = *adr; in connect_Bstack()
497 rq2.ch = ch; in connect_Bstack()
498 err = bp->create(&rq2); in connect_Bstack()
501 ch->recv = rq2.ch->send; in connect_Bstack()
502 ch->peer = rq2.ch; in connect_Bstack()
503 rq2.ch->st = dev->D.st; in connect_Bstack()
504 rq.protocol = rq2.protocol; in connect_Bstack()
508 rq2.ch->ctrl(rq2.ch, CLOSE_CHANNEL, NULL); in connect_Bstack()
[all …]
/linux-4.19.296/block/
Dbfq-iosched.c439 struct request *rq2, in bfq_choose_req() argument
448 if (!rq1 || rq1 == rq2) in bfq_choose_req()
449 return rq2; in bfq_choose_req()
450 if (!rq2) in bfq_choose_req()
453 if (rq_is_sync(rq1) && !rq_is_sync(rq2)) in bfq_choose_req()
455 else if (rq_is_sync(rq2) && !rq_is_sync(rq1)) in bfq_choose_req()
456 return rq2; in bfq_choose_req()
457 if ((rq1->cmd_flags & REQ_META) && !(rq2->cmd_flags & REQ_META)) in bfq_choose_req()
459 else if ((rq2->cmd_flags & REQ_META) && !(rq1->cmd_flags & REQ_META)) in bfq_choose_req()
460 return rq2; in bfq_choose_req()
[all …]
Dcfq-iosched.c1088 cfq_choose_req(struct cfq_data *cfqd, struct request *rq1, struct request *rq2, sector_t last) in cfq_choose_req() argument
1096 if (rq1 == NULL || rq1 == rq2) in cfq_choose_req()
1097 return rq2; in cfq_choose_req()
1098 if (rq2 == NULL) in cfq_choose_req()
1101 if (rq_is_sync(rq1) != rq_is_sync(rq2)) in cfq_choose_req()
1102 return rq_is_sync(rq1) ? rq1 : rq2; in cfq_choose_req()
1104 if ((rq1->cmd_flags ^ rq2->cmd_flags) & REQ_PRIO) in cfq_choose_req()
1105 return rq1->cmd_flags & REQ_PRIO ? rq1 : rq2; in cfq_choose_req()
1108 s2 = blk_rq_pos(rq2); in cfq_choose_req()
1145 return rq2; in cfq_choose_req()
[all …]