Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/sched/
Dsched.h2623 static inline void double_rq_clock_clear_update(struct rq *rq1, struct rq *rq2) in double_rq_clock_clear_update() argument
2625 rq1->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
2787 __releases(rq1->lock) in double_rq_unlock()
[all …]
Dcore.c609 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()
616 raw_spin_rq_lock(rq1); in double_rq_lock()
617 if (__rq_lockp(rq1) != __rq_lockp(rq2)) in double_rq_lock()
620 double_rq_clock_clear_update(rq1, rq2); in double_rq_lock()
/linux-6.6.21/net/key/
Daf_key.c2495 static int ipsecrequests_to_migrate(struct sadb_x_ipsecrequest *rq1, int len, in ipsecrequests_to_migrate() argument
2502 if (len < sizeof(*rq1) || in ipsecrequests_to_migrate()
2503 len < rq1->sadb_x_ipsecrequest_len || in ipsecrequests_to_migrate()
2504 rq1->sadb_x_ipsecrequest_len < sizeof(*rq1)) in ipsecrequests_to_migrate()
2508 err = parse_sockaddr_pair((struct sockaddr *)(rq1 + 1), in ipsecrequests_to_migrate()
2509 rq1->sadb_x_ipsecrequest_len - sizeof(*rq1), in ipsecrequests_to_migrate()
2515 rq2 = (struct sadb_x_ipsecrequest *)((u8 *)rq1 + rq1->sadb_x_ipsecrequest_len); in ipsecrequests_to_migrate()
2516 len -= rq1->sadb_x_ipsecrequest_len; 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()
[all …]
/linux-6.6.21/block/
Dbfq-iosched.c494 struct request *rq1, in bfq_choose_req() argument
504 if (!rq1 || rq1 == rq2) in bfq_choose_req()
507 return rq1; in bfq_choose_req()
509 if (rq_is_sync(rq1) && !rq_is_sync(rq2)) in bfq_choose_req()
510 return rq1; in bfq_choose_req()
511 else if (rq_is_sync(rq2) && !rq_is_sync(rq1)) in bfq_choose_req()
513 if ((rq1->cmd_flags & REQ_META) && !(rq2->cmd_flags & REQ_META)) in bfq_choose_req()
514 return rq1; in bfq_choose_req()
515 else if ((rq2->cmd_flags & REQ_META) && !(rq1->cmd_flags & REQ_META)) in bfq_choose_req()
518 s1 = blk_rq_pos(rq1); in bfq_choose_req()
[all …]
/linux-6.6.21/drivers/mmc/core/
Dmmc_test.c829 struct mmc_test_req *rq1, *rq2; in mmc_test_nonblock_transfer() local
837 rq1 = mmc_test_req_alloc(); in mmc_test_nonblock_transfer()
839 if (!rq1 || !rq2) { in mmc_test_nonblock_transfer()
844 mrq = &rq1->mrq; in mmc_test_nonblock_transfer()
865 kfree(rq1); in mmc_test_nonblock_transfer()