Lines Matching refs:unlikely
75 if (unlikely(mw->state != RXE_MW_STATE_VALID)) { in rxe_check_bind_mw()
82 if (unlikely((mw->access & IB_ZERO_BASED))) { in rxe_check_bind_mw()
90 if (unlikely(mw->state != RXE_MW_STATE_FREE)) { in rxe_check_bind_mw()
97 if (unlikely(qp->pd != to_rpd(mw->ibmw.pd))) { in rxe_check_bind_mw()
104 if (unlikely(!mr || wqe->wr.wr.mw.length == 0)) { in rxe_check_bind_mw()
111 if (unlikely((wqe->wr.wr.mw.rkey & 0xff) == (mw->ibmw.rkey & 0xff))) { in rxe_check_bind_mw()
120 if (unlikely(mr->access & IB_ZERO_BASED)) { in rxe_check_bind_mw()
126 if (unlikely(!(mr->access & IB_ACCESS_MW_BIND))) { in rxe_check_bind_mw()
133 if (unlikely((mw->access & in rxe_check_bind_mw()
143 if (unlikely(wqe->wr.wr.mw.length > mr->length)) { in rxe_check_bind_mw()
149 if (unlikely((wqe->wr.wr.mw.addr < mr->iova) || in rxe_check_bind_mw()
204 if (unlikely(!mw)) { in rxe_bind_mw()
209 if (unlikely(mw->ibmw.rkey != wqe->wr.wr.mw.mw_rkey)) { in rxe_bind_mw()
217 if (unlikely(!mr)) { in rxe_bind_mw()
222 if (unlikely(mr->ibmr.lkey != wqe->wr.wr.mw.mr_lkey)) { in rxe_bind_mw()
250 if (unlikely(mw->state == RXE_MW_STATE_INVALID)) in rxe_check_invalidate_mw()
254 if (unlikely(mw->ibmw.type == IB_MW_TYPE_1)) in rxe_check_invalidate_mw()
326 if (unlikely((rxe_mw_rkey(mw) != rkey) || rxe_mw_pd(mw) != pd || in rxe_lookup_mw()