Searched refs:rq2 (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/drivers/isdn/mISDN/ |
D | stack.c | 458 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 …]
|
/linux-6.6.21/kernel/sched/ |
D | sched.h | 2623 static inline void double_rq_clock_clear_update(struct rq *rq1, struct rq *rq2) in double_rq_clock_clear_update() argument 2628 rq2->clock_update_flags &= (RQCF_REQ_SKIP|RQCF_ACT_SKIP); in double_rq_clock_clear_update() 2632 static inline void double_rq_clock_clear_update(struct rq *rq1, struct rq *rq2) {} in double_rq_clock_clear_update() argument 2643 static inline bool rq_order_less(struct rq *rq1, struct rq *rq2) in rq_order_less() argument 2657 if (rq1->core->cpu < rq2->core->cpu) in rq_order_less() 2659 if (rq1->core->cpu > rq2->core->cpu) in rq_order_less() 2666 return rq1->cpu < rq2->cpu; in rq_order_less() 2669 extern void double_rq_lock(struct rq *rq1, struct rq *rq2); 2786 static inline void double_rq_unlock(struct rq *rq1, struct rq *rq2) in double_rq_unlock() argument 2788 __releases(rq2->lock) in double_rq_unlock() [all …]
|
D | core.c | 609 void double_rq_lock(struct rq *rq1, struct rq *rq2) in double_rq_lock() argument 613 if (rq_order_less(rq2, rq1)) in double_rq_lock() 614 swap(rq1, rq2); in double_rq_lock() 617 if (__rq_lockp(rq1) != __rq_lockp(rq2)) in double_rq_lock() 618 raw_spin_rq_lock_nested(rq2, SINGLE_DEPTH_NESTING); in double_rq_lock() 620 double_rq_clock_clear_update(rq1, rq2); in double_rq_lock()
|
/linux-6.6.21/block/ |
D | bfq-iosched.c | 495 struct request *rq2, in bfq_choose_req() argument 504 if (!rq1 || rq1 == rq2) in bfq_choose_req() 505 return rq2; in bfq_choose_req() 506 if (!rq2) in bfq_choose_req() 509 if (rq_is_sync(rq1) && !rq_is_sync(rq2)) in bfq_choose_req() 511 else if (rq_is_sync(rq2) && !rq_is_sync(rq1)) in bfq_choose_req() 512 return rq2; in bfq_choose_req() 513 if ((rq1->cmd_flags & REQ_META) && !(rq2->cmd_flags & REQ_META)) in bfq_choose_req() 515 else if ((rq2->cmd_flags & REQ_META) && !(rq1->cmd_flags & REQ_META)) in bfq_choose_req() 516 return rq2; in bfq_choose_req() [all …]
|
D | mq-deadline.c | 851 struct request *rq2 = deadline_latter_request(rq); in dd_insert_request() local 853 if (rq2 && blk_rq_zone_no(rq2) == blk_rq_zone_no(rq)) in dd_insert_request() 854 insert_before = &rq2->queuelist; in dd_insert_request()
|
/linux-6.6.21/net/key/ |
D | af_key.c | 2499 struct sadb_x_ipsecrequest *rq2; in ipsecrequests_to_migrate() local 2515 rq2 = (struct sadb_x_ipsecrequest *)((u8 *)rq1 + rq1->sadb_x_ipsecrequest_len); in ipsecrequests_to_migrate() 2518 if (len <= sizeof(*rq2) || in ipsecrequests_to_migrate() 2519 len < rq2->sadb_x_ipsecrequest_len || in ipsecrequests_to_migrate() 2520 rq2->sadb_x_ipsecrequest_len < sizeof(*rq2)) in ipsecrequests_to_migrate() 2524 err = parse_sockaddr_pair((struct sockaddr *)(rq2 + 1), in ipsecrequests_to_migrate() 2525 rq2->sadb_x_ipsecrequest_len - sizeof(*rq2), in ipsecrequests_to_migrate() 2531 if (rq1->sadb_x_ipsecrequest_proto != rq2->sadb_x_ipsecrequest_proto || in ipsecrequests_to_migrate() 2532 rq1->sadb_x_ipsecrequest_mode != rq2->sadb_x_ipsecrequest_mode || in ipsecrequests_to_migrate() 2533 rq1->sadb_x_ipsecrequest_reqid != rq2->sadb_x_ipsecrequest_reqid) in ipsecrequests_to_migrate() [all …]
|
/linux-6.6.21/drivers/mmc/core/ |
D | mmc_test.c | 829 struct mmc_test_req *rq1, *rq2; in mmc_test_nonblock_transfer() local 838 rq2 = mmc_test_req_alloc(); in mmc_test_nonblock_transfer() 839 if (!rq1 || !rq2) { in mmc_test_nonblock_transfer() 856 prev_mrq = &rq2->mrq; in mmc_test_nonblock_transfer() 866 kfree(rq2); in mmc_test_nonblock_transfer()
|