Searched refs:rq2 (Results 1 - 7 of 7) sorted by relevance

/linux-master/drivers/isdn/mISDN/
H A Dstack.c458 struct channel_req rq, rq2; local
484 rq2.protocol = protocol;
485 rq2.adr = *adr;
486 rq2.ch = ch;
487 err = bp->create(&rq2);
490 ch->recv = rq2.ch->send;
491 ch->peer = rq2.ch;
492 rq2.ch->st = dev->D.st;
493 rq.protocol = rq2.protocol;
497 rq2
[all...]
/linux-master/kernel/sched/
H A Dsched.h2652 static inline void double_rq_clock_clear_update(struct rq *rq1, struct rq *rq2) argument
2655 /* rq1 == rq2 for !CONFIG_SMP, so just clear RQCF_UPDATED once. */
2657 rq2->clock_update_flags &= (RQCF_REQ_SKIP|RQCF_ACT_SKIP);
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, struct rq *rq2)
2820 raw_spin_rq_unlock(rq2); variable
[all...]
H A Dcore.c470 * 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);
618 if (__rq_lockp(rq1) != __rq_lockp(rq2))
619 raw_spin_rq_lock_nested(rq2, SINGLE_DEPTH_NESTING);
621 double_rq_clock_clear_update(rq1, rq2);
/linux-master/block/
H A Dbfq-iosched.c489 * Lifted from AS - choose which of rq1 and rq2 that is best served now.
495 struct request *rq2,
504 if (!rq1 || rq1 == rq2)
505 return rq2;
506 if (!rq2)
509 if (rq_is_sync(rq1) && !rq_is_sync(rq2))
511 else if (rq_is_sync(rq2) && !rq_is_sync(rq1))
512 return rq2;
513 if ((rq1->cmd_flags & REQ_META) && !(rq2->cmd_flags & REQ_META))
515 else if ((rq2
493 bfq_choose_req(struct bfq_data *bfqd, struct request *rq1, struct request *rq2, sector_t last) argument
[all...]
H A Dmq-deadline.c850 struct request *rq2 = deadline_latter_request(rq); local
852 if (rq2 && blk_rq_zone_no(rq2) == blk_rq_zone_no(rq))
853 insert_before = &rq2->queuelist;
/linux-master/net/key/
H A Daf_key.c2499 struct sadb_x_ipsecrequest *rq2; local
2515 rq2 = (struct sadb_x_ipsecrequest *)((u8 *)rq1 + rq1->sadb_x_ipsecrequest_len);
2518 if (len <= sizeof(*rq2) ||
2519 len < rq2->sadb_x_ipsecrequest_len ||
2520 rq2->sadb_x_ipsecrequest_len < sizeof(*rq2))
2524 err = parse_sockaddr_pair((struct sockaddr *)(rq2 + 1),
2525 rq2->sadb_x_ipsecrequest_len - sizeof(*rq2),
2531 if (rq1->sadb_x_ipsecrequest_proto != rq2
[all...]
/linux-master/drivers/mmc/core/
H A Dmmc_test.c829 struct mmc_test_req *rq1, *rq2; local
838 rq2 = mmc_test_req_alloc();
839 if (!rq1 || !rq2) {
856 prev_mrq = &rq2->mrq;
866 kfree(rq2);

Completed in 392 milliseconds