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

/linux-4.4.14/kernel/sched/
H A Dsched.h1513 static inline void double_rq_lock(struct rq *rq1, struct rq *rq2);
1619 static inline void double_rq_lock(struct rq *rq1, struct rq *rq2)
1620 __acquires(rq1->lock)
1624 if (rq1 == rq2) {
1625 raw_spin_lock(&rq1->lock);
1628 if (rq1 < rq2) {
1629 raw_spin_lock(&rq1->lock);
1633 raw_spin_lock_nested(&rq1->lock, SINGLE_DEPTH_NESTING);
1644 static inline void double_rq_unlock(struct rq *rq1, struct rq *rq2)
1645 __releases(rq1->lock)
1648 raw_spin_unlock(&rq1->lock);
1649 if (rq1 != rq2)
1663 static inline void double_rq_lock(struct rq *rq1, struct rq *rq2)
1664 __acquires(rq1->lock)
1668 BUG_ON(rq1 != rq2);
1669 raw_spin_lock(&rq1->lock);
1679 static inline void double_rq_unlock(struct rq *rq1, struct rq *rq2)
1680 __releases(rq1->lock)
1683 BUG_ON(rq1 != rq2);
1684 raw_spin_unlock(&rq1->lock);
/linux-4.4.14/net/key/
H A Daf_key.c2439 static int ipsecrequests_to_migrate(struct sadb_x_ipsecrequest *rq1, int len, ipsecrequests_to_migrate() argument
2447 len < rq1->sadb_x_ipsecrequest_len) ipsecrequests_to_migrate()
2451 err = parse_sockaddr_pair((struct sockaddr *)(rq1 + 1), ipsecrequests_to_migrate()
2452 rq1->sadb_x_ipsecrequest_len, ipsecrequests_to_migrate()
2458 rq2 = (struct sadb_x_ipsecrequest *)((u8 *)rq1 + rq1->sadb_x_ipsecrequest_len); ipsecrequests_to_migrate()
2459 len -= rq1->sadb_x_ipsecrequest_len; ipsecrequests_to_migrate()
2473 if (rq1->sadb_x_ipsecrequest_proto != rq2->sadb_x_ipsecrequest_proto || ipsecrequests_to_migrate()
2474 rq1->sadb_x_ipsecrequest_mode != rq2->sadb_x_ipsecrequest_mode || ipsecrequests_to_migrate()
2475 rq1->sadb_x_ipsecrequest_reqid != rq2->sadb_x_ipsecrequest_reqid) ipsecrequests_to_migrate()
2478 m->proto = rq1->sadb_x_ipsecrequest_proto; ipsecrequests_to_migrate()
2479 if ((mode = pfkey_mode_to_xfrm(rq1->sadb_x_ipsecrequest_mode)) < 0) ipsecrequests_to_migrate()
2482 m->reqid = rq1->sadb_x_ipsecrequest_reqid; ipsecrequests_to_migrate()
2484 return ((int)(rq1->sadb_x_ipsecrequest_len + ipsecrequests_to_migrate()
/linux-4.4.14/block/
H A Dcfq-iosched.c1073 * Lifted from AS - choose which of rq1 and rq2 that is best served now.
1078 cfq_choose_req(struct cfq_data *cfqd, struct request *rq1, struct request *rq2, sector_t last) cfq_choose_req() argument
1086 if (rq1 == NULL || rq1 == rq2) cfq_choose_req()
1089 return rq1; cfq_choose_req()
1091 if (rq_is_sync(rq1) != rq_is_sync(rq2)) cfq_choose_req()
1092 return rq_is_sync(rq1) ? rq1 : rq2; cfq_choose_req()
1094 if ((rq1->cmd_flags ^ rq2->cmd_flags) & REQ_PRIO) cfq_choose_req()
1095 return rq1->cmd_flags & REQ_PRIO ? rq1 : rq2; cfq_choose_req()
1097 s1 = blk_rq_pos(rq1); cfq_choose_req()
1131 case 0: /* common case for CFQ: rq1 and rq2 not wrapped */ cfq_choose_req()
1133 return rq1; cfq_choose_req()
1138 return rq1; cfq_choose_req()
1144 return rq1; cfq_choose_req()
1156 return rq1; cfq_choose_req()
/linux-4.4.14/drivers/gpu/drm/i915/
H A Dintel_lrc.c323 struct drm_i915_gem_request *rq1) execlists_elsp_write()
331 if (rq1) { execlists_elsp_write()
332 desc[1] = intel_lr_context_descriptor(rq1->ctx, rq1->ring); execlists_elsp_write()
333 rq1->elsp_submitted++; execlists_elsp_write()
394 struct drm_i915_gem_request *rq1) execlists_submit_requests()
398 if (rq1) execlists_submit_requests()
399 execlists_update_context(rq1); execlists_submit_requests()
401 execlists_elsp_write(rq0, rq1); execlists_submit_requests()
322 execlists_elsp_write(struct drm_i915_gem_request *rq0, struct drm_i915_gem_request *rq1) execlists_elsp_write() argument
393 execlists_submit_requests(struct drm_i915_gem_request *rq0, struct drm_i915_gem_request *rq1) execlists_submit_requests() argument
/linux-4.4.14/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 475 milliseconds