Searched refs:rq1 (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/kernel/sched/ |
D | sched.h | 2240 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 2347 __acquires(rq1->lock) in double_rq_lock() 2351 if (rq1 == rq2) { in double_rq_lock() 2352 raw_spin_lock(&rq1->lock); in double_rq_lock() 2355 if (rq1 < rq2) { in double_rq_lock() 2356 raw_spin_lock(&rq1->lock); in double_rq_lock() 2360 raw_spin_lock_nested(&rq1->lock, SINGLE_DEPTH_NESTING); in double_rq_lock() 2371 static inline void double_rq_unlock(struct rq *rq1, struct rq *rq2) in double_rq_unlock() argument 2372 __releases(rq1->lock) in double_rq_unlock() [all …]
|
/kernel/linux/linux-5.10/net/key/ |
D | af_key.c | 2496 static int ipsecrequests_to_migrate(struct sadb_x_ipsecrequest *rq1, int len, in ipsecrequests_to_migrate() argument 2503 if (len < sizeof(*rq1) || in ipsecrequests_to_migrate() 2504 len < rq1->sadb_x_ipsecrequest_len || in ipsecrequests_to_migrate() 2505 rq1->sadb_x_ipsecrequest_len < sizeof(*rq1)) in ipsecrequests_to_migrate() 2509 err = parse_sockaddr_pair((struct sockaddr *)(rq1 + 1), in ipsecrequests_to_migrate() 2510 rq1->sadb_x_ipsecrequest_len - sizeof(*rq1), in ipsecrequests_to_migrate() 2516 rq2 = (struct sadb_x_ipsecrequest *)((u8 *)rq1 + rq1->sadb_x_ipsecrequest_len); in ipsecrequests_to_migrate() 2517 len -= rq1->sadb_x_ipsecrequest_len; 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() [all …]
|
/kernel/linux/linux-5.10/block/ |
D | bfq-iosched.c | 442 struct request *rq1, in bfq_choose_req() argument 452 if (!rq1 || rq1 == rq2) in bfq_choose_req() 455 return rq1; in bfq_choose_req() 457 if (rq_is_sync(rq1) && !rq_is_sync(rq2)) in bfq_choose_req() 458 return rq1; in bfq_choose_req() 459 else if (rq_is_sync(rq2) && !rq_is_sync(rq1)) in bfq_choose_req() 461 if ((rq1->cmd_flags & REQ_META) && !(rq2->cmd_flags & REQ_META)) in bfq_choose_req() 462 return rq1; in bfq_choose_req() 463 else if ((rq2->cmd_flags & REQ_META) && !(rq1->cmd_flags & REQ_META)) in bfq_choose_req() 466 s1 = blk_rq_pos(rq1); in bfq_choose_req() [all …]
|
/kernel/linux/linux-5.10/drivers/mmc/core/ |
D | mmc_test.c | 844 struct mmc_test_req *rq1, *rq2; in mmc_test_nonblock_transfer() local 852 rq1 = mmc_test_req_alloc(); in mmc_test_nonblock_transfer() 854 if (!rq1 || !rq2) { in mmc_test_nonblock_transfer() 859 mrq = &rq1->mrq; in mmc_test_nonblock_transfer() 880 kfree(rq1); in mmc_test_nonblock_transfer()
|