Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/isdn/mISDN/
Dstack.c458 struct channel_req rq, rq2; in connect_Bstack() local
484 rq2.protocol = protocol; in connect_Bstack()
485 rq2.adr = *adr; in connect_Bstack()
486 rq2.ch = ch; in connect_Bstack()
487 err = bp->create(&rq2); in connect_Bstack()
490 ch->recv = rq2.ch->send; in connect_Bstack()
491 ch->peer = rq2.ch; in connect_Bstack()
492 rq2.ch->st = dev->D.st; in connect_Bstack()
493 rq.protocol = rq2.protocol; in connect_Bstack()
497 rq2.ch->ctrl(rq2.ch, CLOSE_CHANNEL, NULL); in connect_Bstack()
[all …]
/kernel/linux/linux-5.10/kernel/sched/
Dsched.h2240 static inline void double_rq_lock(struct rq *rq1, struct rq *rq2);
2346 static inline void double_rq_lock(struct rq *rq1, struct rq *rq2) in double_rq_lock() argument
2348 __acquires(rq2->lock) in double_rq_lock()
2351 if (rq1 == rq2) { in double_rq_lock()
2353 __acquire(rq2->lock); /* Fake it out ;) */ in double_rq_lock()
2355 if (rq1 < rq2) { in double_rq_lock()
2357 raw_spin_lock_nested(&rq2->lock, SINGLE_DEPTH_NESTING); in double_rq_lock()
2359 raw_spin_lock(&rq2->lock); in double_rq_lock()
2371 static inline void double_rq_unlock(struct rq *rq1, struct rq *rq2) in double_rq_unlock() argument
2373 __releases(rq2->lock) in double_rq_unlock()
[all …]
/kernel/linux/linux-5.10/block/
Dbfq-iosched.c443 struct request *rq2, in bfq_choose_req() argument
452 if (!rq1 || rq1 == rq2) in bfq_choose_req()
453 return rq2; in bfq_choose_req()
454 if (!rq2) in bfq_choose_req()
457 if (rq_is_sync(rq1) && !rq_is_sync(rq2)) in bfq_choose_req()
459 else if (rq_is_sync(rq2) && !rq_is_sync(rq1)) in bfq_choose_req()
460 return rq2; in bfq_choose_req()
461 if ((rq1->cmd_flags & REQ_META) && !(rq2->cmd_flags & REQ_META)) in bfq_choose_req()
463 else if ((rq2->cmd_flags & REQ_META) && !(rq1->cmd_flags & REQ_META)) in bfq_choose_req()
464 return rq2; in bfq_choose_req()
[all …]
/kernel/linux/linux-5.10/net/key/
Daf_key.c2500 struct sadb_x_ipsecrequest *rq2; in ipsecrequests_to_migrate() local
2516 rq2 = (struct sadb_x_ipsecrequest *)((u8 *)rq1 + rq1->sadb_x_ipsecrequest_len); in ipsecrequests_to_migrate()
2519 if (len <= sizeof(*rq2) || in ipsecrequests_to_migrate()
2520 len < rq2->sadb_x_ipsecrequest_len || in ipsecrequests_to_migrate()
2521 rq2->sadb_x_ipsecrequest_len < sizeof(*rq2)) in ipsecrequests_to_migrate()
2525 err = parse_sockaddr_pair((struct sockaddr *)(rq2 + 1), in ipsecrequests_to_migrate()
2526 rq2->sadb_x_ipsecrequest_len - sizeof(*rq2), in ipsecrequests_to_migrate()
2532 if (rq1->sadb_x_ipsecrequest_proto != rq2->sadb_x_ipsecrequest_proto || in ipsecrequests_to_migrate()
2533 rq1->sadb_x_ipsecrequest_mode != rq2->sadb_x_ipsecrequest_mode || in ipsecrequests_to_migrate()
2534 rq1->sadb_x_ipsecrequest_reqid != rq2->sadb_x_ipsecrequest_reqid) in ipsecrequests_to_migrate()
[all …]
/kernel/linux/linux-5.10/drivers/mmc/core/
Dmmc_test.c844 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()
881 kfree(rq2); in mmc_test_nonblock_transfer()