Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/sched/
Dsched.h2539 static inline void double_rq_clock_clear_update(struct rq *rq1, struct rq *rq2) in double_rq_clock_clear_update() argument
2541 rq1->clock_update_flags &= (RQCF_REQ_SKIP|RQCF_ACT_SKIP); in double_rq_clock_clear_update()
2548 static inline void double_rq_clock_clear_update(struct rq *rq1, struct rq *rq2) {} in double_rq_clock_clear_update() argument
2553 static inline bool rq_order_less(struct rq *rq1, struct rq *rq2) in rq_order_less() argument
2567 if (rq1->core->cpu < rq2->core->cpu) in rq_order_less()
2569 if (rq1->core->cpu > rq2->core->cpu) in rq_order_less()
2576 return rq1->cpu < rq2->cpu; in rq_order_less()
2579 extern void double_rq_lock(struct rq *rq1, struct rq *rq2);
2686 static inline void double_rq_unlock(struct rq *rq1, struct rq *rq2) in double_rq_unlock() argument
2687 __releases(rq1->lock) in double_rq_unlock()
[all …]
Dcore.c588 void double_rq_lock(struct rq *rq1, struct rq *rq2) in double_rq_lock() argument
592 if (rq_order_less(rq2, rq1)) in double_rq_lock()
593 swap(rq1, rq2); in double_rq_lock()
595 raw_spin_rq_lock(rq1); in double_rq_lock()
596 if (__rq_lockp(rq1) != __rq_lockp(rq2)) in double_rq_lock()
599 double_rq_clock_clear_update(rq1, rq2); in double_rq_lock()
/linux-6.1.9/net/key/
Daf_key.c2492 static int ipsecrequests_to_migrate(struct sadb_x_ipsecrequest *rq1, int len, in ipsecrequests_to_migrate() argument
2499 if (len < sizeof(*rq1) || in ipsecrequests_to_migrate()
2500 len < rq1->sadb_x_ipsecrequest_len || in ipsecrequests_to_migrate()
2501 rq1->sadb_x_ipsecrequest_len < sizeof(*rq1)) in ipsecrequests_to_migrate()
2505 err = parse_sockaddr_pair((struct sockaddr *)(rq1 + 1), in ipsecrequests_to_migrate()
2506 rq1->sadb_x_ipsecrequest_len - sizeof(*rq1), in ipsecrequests_to_migrate()
2512 rq2 = (struct sadb_x_ipsecrequest *)((u8 *)rq1 + rq1->sadb_x_ipsecrequest_len); in ipsecrequests_to_migrate()
2513 len -= rq1->sadb_x_ipsecrequest_len; in ipsecrequests_to_migrate()
2528 if (rq1->sadb_x_ipsecrequest_proto != rq2->sadb_x_ipsecrequest_proto || in ipsecrequests_to_migrate()
2529 rq1->sadb_x_ipsecrequest_mode != rq2->sadb_x_ipsecrequest_mode || in ipsecrequests_to_migrate()
[all …]
/linux-6.1.9/block/
Dbfq-iosched.c483 struct request *rq1, in bfq_choose_req() argument
493 if (!rq1 || rq1 == rq2) in bfq_choose_req()
496 return rq1; in bfq_choose_req()
498 if (rq_is_sync(rq1) && !rq_is_sync(rq2)) in bfq_choose_req()
499 return rq1; in bfq_choose_req()
500 else if (rq_is_sync(rq2) && !rq_is_sync(rq1)) in bfq_choose_req()
502 if ((rq1->cmd_flags & REQ_META) && !(rq2->cmd_flags & REQ_META)) in bfq_choose_req()
503 return rq1; in bfq_choose_req()
504 else if ((rq2->cmd_flags & REQ_META) && !(rq1->cmd_flags & REQ_META)) in bfq_choose_req()
507 s1 = blk_rq_pos(rq1); in bfq_choose_req()
[all …]
/linux-6.1.9/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()