Searched refs:rq1 (Results 1 – 5 of 5) sorted by relevance
2660 if (rq1->core->cpu < rq2->core->cpu) in rq_order_less()2662 if (rq1->core->cpu > rq2->core->cpu) in rq_order_less()2669 return rq1->cpu < rq2->cpu; in rq_order_less()2790 __releases(rq1->lock) in double_rq_unlock()2797 raw_spin_rq_unlock(rq1); in double_rq_unlock()2813 __acquires(rq1->lock) in double_rq_lock()2817 WARN_ON_ONCE(rq1 != rq2); in double_rq_lock()2818 raw_spin_rq_lock(rq1); in double_rq_lock()2830 __releases(rq1->lock) in double_rq_unlock()2833 WARN_ON_ONCE(rq1 != rq2); in double_rq_unlock()[all …]
609 void double_rq_lock(struct rq *rq1, struct rq *rq2) in double_rq_lock() argument613 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()
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()2536 m->proto = rq1->sadb_x_ipsecrequest_proto; in ipsecrequests_to_migrate()2537 if ((mode = pfkey_mode_to_xfrm(rq1->sadb_x_ipsecrequest_mode)) < 0) in ipsecrequests_to_migrate()2540 m->reqid = rq1->sadb_x_ipsecrequest_reqid; in ipsecrequests_to_migrate()[all …]
494 struct request *rq1, in bfq_choose_req() argument504 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()514 return rq1; in bfq_choose_req()518 s1 = blk_rq_pos(rq1); in bfq_choose_req()554 return rq1; in bfq_choose_req()559 return rq1; in bfq_choose_req()564 return rq1; in bfq_choose_req()[all …]
829 struct mmc_test_req *rq1, *rq2; in mmc_test_nonblock_transfer() local837 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()