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

/linux-master/kernel/sched/
H A Dsched.h2652 static inline void double_rq_clock_clear_update(struct rq *rq1, struct rq *rq2) argument
2654 rq1->clock_update_flags &= (RQCF_REQ_SKIP|RQCF_ACT_SKIP);
2655 /* rq1 == rq2 for !CONFIG_SMP, so just clear RQCF_UPDATED once. */
2661 static inline void double_rq_clock_clear_update(struct rq *rq1, struct rq *rq2) {} argument
2672 static inline bool rq_order_less(struct rq *rq1, struct rq *rq2) argument
2686 if (rq1->core->cpu < rq2->core->cpu)
2688 if (rq1->core->cpu > rq2->core->cpu)
2695 return rq1->cpu < rq2->cpu;
2698 extern void double_rq_lock(struct rq *rq1, struct rq *rq2);
2815 static inline void double_rq_unlock(struct rq *rq1, struc
2823 raw_spin_rq_unlock(rq1); variable
2844 raw_spin_rq_lock(rq1); variable
2860 raw_spin_rq_unlock(rq1); variable
[all...]
H A Dcore.c469 * rq1->lock
470 * rq2->lock where: rq1 < rq2
610 void double_rq_lock(struct rq *rq1, struct rq *rq2) argument
614 if (rq_order_less(rq2, rq1))
615 swap(rq1, rq2);
617 raw_spin_rq_lock(rq1);
618 if (__rq_lockp(rq1) != __rq_lockp(rq2))
621 double_rq_clock_clear_update(rq1, rq2);
/linux-master/net/key/
H A Daf_key.c2495 static int ipsecrequests_to_migrate(struct sadb_x_ipsecrequest *rq1, int len, argument
2502 if (len < sizeof(*rq1) ||
2503 len < rq1->sadb_x_ipsecrequest_len ||
2504 rq1->sadb_x_ipsecrequest_len < sizeof(*rq1))
2508 err = parse_sockaddr_pair((struct sockaddr *)(rq1 + 1),
2509 rq1->sadb_x_ipsecrequest_len - sizeof(*rq1),
2515 rq2 = (struct sadb_x_ipsecrequest *)((u8 *)rq1 + rq1
[all...]
/linux-master/block/
H A Dbfq-iosched.c489 * Lifted from AS - choose which of rq1 and rq2 that is best served now.
494 struct request *rq1,
504 if (!rq1 || rq1 == rq2)
507 return rq1;
509 if (rq_is_sync(rq1) && !rq_is_sync(rq2))
510 return rq1;
511 else if (rq_is_sync(rq2) && !rq_is_sync(rq1))
513 if ((rq1->cmd_flags & REQ_META) && !(rq2->cmd_flags & REQ_META))
514 return rq1;
493 bfq_choose_req(struct bfq_data *bfqd, struct request *rq1, struct request *rq2, sector_t last) argument
[all...]
/linux-master/drivers/mmc/core/
H A Dmmc_test.c829 struct mmc_test_req *rq1, *rq2; local
837 rq1 = mmc_test_req_alloc();
839 if (!rq1 || !rq2) {
844 mrq = &rq1->mrq;
865 kfree(rq1);

Completed in 194 milliseconds