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

/linux-4.1.27/kernel/sched/
H A Dsched.h1491 static inline void double_rq_lock(struct rq *rq1, struct rq *rq2);
1597 static inline void double_rq_lock(struct rq *rq1, struct rq *rq2)
1598 __acquires(rq1->lock)
1602 if (rq1 == rq2) {
1603 raw_spin_lock(&rq1->lock);
1606 if (rq1 < rq2) {
1607 raw_spin_lock(&rq1->lock);
1611 raw_spin_lock_nested(&rq1->lock, SINGLE_DEPTH_NESTING);
1622 static inline void double_rq_unlock(struct rq *rq1, struct rq *rq2)
1623 __releases(rq1->lock)
1626 raw_spin_unlock(&rq1->lock);
1627 if (rq1 != rq2)
1641 static inline void double_rq_lock(struct rq *rq1, struct rq *rq2)
1642 __acquires(rq1->lock)
1646 BUG_ON(rq1 != rq2);
1647 raw_spin_lock(&rq1->lock);
1657 static inline void double_rq_unlock(struct rq *rq1, struct rq *rq2)
1658 __releases(rq1->lock)
1661 BUG_ON(rq1 != rq2);
1662 raw_spin_unlock(&rq1->lock);
/linux-4.1.27/net/key/
H A Daf_key.c2438 static int ipsecrequests_to_migrate(struct sadb_x_ipsecrequest *rq1, int len, ipsecrequests_to_migrate() argument
2446 len < rq1->sadb_x_ipsecrequest_len) ipsecrequests_to_migrate()
2450 err = parse_sockaddr_pair((struct sockaddr *)(rq1 + 1), ipsecrequests_to_migrate()
2451 rq1->sadb_x_ipsecrequest_len, ipsecrequests_to_migrate()
2457 rq2 = (struct sadb_x_ipsecrequest *)((u8 *)rq1 + rq1->sadb_x_ipsecrequest_len); ipsecrequests_to_migrate()
2458 len -= rq1->sadb_x_ipsecrequest_len; ipsecrequests_to_migrate()
2472 if (rq1->sadb_x_ipsecrequest_proto != rq2->sadb_x_ipsecrequest_proto || ipsecrequests_to_migrate()
2473 rq1->sadb_x_ipsecrequest_mode != rq2->sadb_x_ipsecrequest_mode || ipsecrequests_to_migrate()
2474 rq1->sadb_x_ipsecrequest_reqid != rq2->sadb_x_ipsecrequest_reqid) ipsecrequests_to_migrate()
2477 m->proto = rq1->sadb_x_ipsecrequest_proto; ipsecrequests_to_migrate()
2478 if ((mode = pfkey_mode_to_xfrm(rq1->sadb_x_ipsecrequest_mode)) < 0) ipsecrequests_to_migrate()
2481 m->reqid = rq1->sadb_x_ipsecrequest_reqid; ipsecrequests_to_migrate()
2483 return ((int)(rq1->sadb_x_ipsecrequest_len + ipsecrequests_to_migrate()
/linux-4.1.27/block/
H A Dcfq-iosched.c1072 * Lifted from AS - choose which of rq1 and rq2 that is best served now.
1077 cfq_choose_req(struct cfq_data *cfqd, struct request *rq1, struct request *rq2, sector_t last) cfq_choose_req() argument
1085 if (rq1 == NULL || rq1 == rq2) cfq_choose_req()
1088 return rq1; cfq_choose_req()
1090 if (rq_is_sync(rq1) != rq_is_sync(rq2)) cfq_choose_req()
1091 return rq_is_sync(rq1) ? rq1 : rq2; cfq_choose_req()
1093 if ((rq1->cmd_flags ^ rq2->cmd_flags) & REQ_PRIO) cfq_choose_req()
1094 return rq1->cmd_flags & REQ_PRIO ? rq1 : rq2; cfq_choose_req()
1096 s1 = blk_rq_pos(rq1); cfq_choose_req()
1130 case 0: /* common case for CFQ: rq1 and rq2 not wrapped */ cfq_choose_req()
1132 return rq1; cfq_choose_req()
1137 return rq1; cfq_choose_req()
1143 return rq1; cfq_choose_req()
1155 return rq1; cfq_choose_req()
/linux-4.1.27/drivers/net/ethernet/ibm/ehea/
H A Dehea_phyp.c222 | EHEA_BMASK_SET(H_ALL_RES_QP_RQR, 6) /* rq1 & rq2 & rq3 */ ehea_h_alloc_resource_qp()
H A Dehea_qmr.c460 pr_err("can't register for rq1 ret=%x\n", ret); ehea_create_qp()
H A Dehea_main.c703 "LL rq1: skb=NULL\n"); ehea_proc_rwqes()

Completed in 157 milliseconds