Lines Matching refs:unlikely
657 if (unlikely(qp->remote_ah_attr.ah_flags & IB_AH_GRH)) { in send_rc_ack()
1145 if (unlikely(diff <= 0)) { in ipath_rc_rcv_resp()
1160 if (unlikely(qp->s_last == qp->s_tail)) in ipath_rc_rcv_resp()
1190 if (unlikely(wqe->wr.opcode != IB_WR_RDMA_READ)) in ipath_rc_rcv_resp()
1204 if (unlikely(ipath_cmp24(psn, qp->s_last_psn + 1))) { in ipath_rc_rcv_resp()
1212 if (unlikely(wqe->wr.opcode != IB_WR_RDMA_READ)) in ipath_rc_rcv_resp()
1215 if (unlikely(tlen != (hdrsize + pmtu + 4))) in ipath_rc_rcv_resp()
1217 if (unlikely(pmtu >= qp->s_rdma_read_len)) in ipath_rc_rcv_resp()
1254 if (unlikely(tlen < (hdrsize + pad + 8))) in ipath_rc_rcv_resp()
1268 if (unlikely(ipath_cmp24(psn, qp->s_last_psn + 1))) { in ipath_rc_rcv_resp()
1276 if (unlikely(wqe->wr.opcode != IB_WR_RDMA_READ)) in ipath_rc_rcv_resp()
1285 if (unlikely(tlen <= (hdrsize + pad + 8))) in ipath_rc_rcv_resp()
1289 if (unlikely(tlen != qp->s_rdma_read_len)) in ipath_rc_rcv_resp()
1439 if (unlikely(offset + len > e->rdma_sge.sge.sge_length)) in ipath_rc_rcv_error()
1449 if (unlikely(!ok)) in ipath_rc_rcv_error()
1586 if (unlikely(be16_to_cpu(hdr->lrh[3]) != qp->remote_ah_attr.dlid)) in ipath_rc_rcv()
1627 if (unlikely(diff)) { in ipath_rc_rcv()
1681 if (unlikely(tlen != (hdrsize + pmtu + 4))) in ipath_rc_rcv()
1684 if (unlikely(qp->r_rcv_len > qp->r_len)) in ipath_rc_rcv()
1722 if (unlikely(tlen < (hdrsize + pad + 4))) in ipath_rc_rcv()
1727 if (unlikely(wc.byte_len > qp->r_len)) in ipath_rc_rcv()
1753 if (unlikely(!(qp->qp_access_flags & in ipath_rc_rcv()
1776 if (unlikely(!ok)) in ipath_rc_rcv()
1798 if (unlikely(!(qp->qp_access_flags & in ipath_rc_rcv()
1808 if (unlikely(next == qp->s_tail_ack_queue)) { in ipath_rc_rcv()
1830 if (unlikely(!ok)) in ipath_rc_rcv()
1876 if (unlikely(!(qp->qp_access_flags & in ipath_rc_rcv()
1886 if (unlikely(next == qp->s_tail_ack_queue)) { in ipath_rc_rcv()
1897 if (unlikely(vaddr & (sizeof(u64) - 1))) in ipath_rc_rcv()
1901 if (unlikely(!ipath_rkey_ok(qp, &qp->r_sge, in ipath_rc_rcv()