Searched refs:rq2 (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/drivers/isdn/mISDN/ |
D | stack.c | 469 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-v4.19/kernel/sched/ |
D | sched.h | 1863 static inline void double_rq_lock(struct rq *rq1, struct rq *rq2); 1969 static inline void double_rq_lock(struct rq *rq1, struct rq *rq2) in double_rq_lock() argument 1971 __acquires(rq2->lock) in double_rq_lock() 1974 if (rq1 == rq2) { in double_rq_lock() 1976 __acquire(rq2->lock); /* Fake it out ;) */ in double_rq_lock() 1978 if (rq1 < rq2) { in double_rq_lock() 1980 raw_spin_lock_nested(&rq2->lock, SINGLE_DEPTH_NESTING); in double_rq_lock() 1982 raw_spin_lock(&rq2->lock); in double_rq_lock() 1994 static inline void double_rq_unlock(struct rq *rq1, struct rq *rq2) in double_rq_unlock() argument 1996 __releases(rq2->lock) in double_rq_unlock() [all …]
|
/Linux-v4.19/block/ |
D | bfq-iosched.c | 436 struct request *rq2, in bfq_choose_req() argument 445 if (!rq1 || rq1 == rq2) in bfq_choose_req() 446 return rq2; in bfq_choose_req() 447 if (!rq2) in bfq_choose_req() 450 if (rq_is_sync(rq1) && !rq_is_sync(rq2)) in bfq_choose_req() 452 else if (rq_is_sync(rq2) && !rq_is_sync(rq1)) in bfq_choose_req() 453 return rq2; in bfq_choose_req() 454 if ((rq1->cmd_flags & REQ_META) && !(rq2->cmd_flags & REQ_META)) in bfq_choose_req() 456 else if ((rq2->cmd_flags & REQ_META) && !(rq1->cmd_flags & REQ_META)) in bfq_choose_req() 457 return rq2; in bfq_choose_req() [all …]
|
D | cfq-iosched.c | 1088 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 …]
|
/Linux-v4.19/net/key/ |
D | af_key.c | 2502 struct sadb_x_ipsecrequest *rq2; in ipsecrequests_to_migrate() local 2518 rq2 = (struct sadb_x_ipsecrequest *)((u8 *)rq1 + rq1->sadb_x_ipsecrequest_len); in ipsecrequests_to_migrate() 2521 if (len <= sizeof(*rq2) || in ipsecrequests_to_migrate() 2522 len < rq2->sadb_x_ipsecrequest_len || in ipsecrequests_to_migrate() 2523 rq2->sadb_x_ipsecrequest_len < sizeof(*rq2)) in ipsecrequests_to_migrate() 2527 err = parse_sockaddr_pair((struct sockaddr *)(rq2 + 1), in ipsecrequests_to_migrate() 2528 rq2->sadb_x_ipsecrequest_len - sizeof(*rq2), in ipsecrequests_to_migrate() 2534 if (rq1->sadb_x_ipsecrequest_proto != rq2->sadb_x_ipsecrequest_proto || in ipsecrequests_to_migrate() 2535 rq1->sadb_x_ipsecrequest_mode != rq2->sadb_x_ipsecrequest_mode || in ipsecrequests_to_migrate() 2536 rq1->sadb_x_ipsecrequest_reqid != rq2->sadb_x_ipsecrequest_reqid) in ipsecrequests_to_migrate() [all …]
|
/Linux-v4.19/drivers/mmc/core/ |
D | mmc_test.c | 847 struct mmc_test_req *rq1, *rq2; in mmc_test_nonblock_transfer() local 853 rq2 = mmc_test_req_alloc(); in mmc_test_nonblock_transfer() 854 if (!rq1 || !rq2) { in mmc_test_nonblock_transfer() 871 prev_mrq = &rq2->mrq; in mmc_test_nonblock_transfer() 880 kfree(rq2); in mmc_test_nonblock_transfer()
|