Lines Matching refs:e

89 	struct ipath_ack_entry *e;  in ipath_make_rc_ack()  local
124 e = &qp->s_ack_queue[qp->s_tail_ack_queue]; in ipath_make_rc_ack()
125 if (e->opcode == OP(RDMA_READ_REQUEST)) { in ipath_make_rc_ack()
127 qp->s_ack_rdma_sge = e->rdma_sge; in ipath_make_rc_ack()
129 len = e->rdma_sge.sge.sge_length; in ipath_make_rc_ack()
135 e->sent = 1; in ipath_make_rc_ack()
139 qp->s_ack_rdma_psn = e->psn; in ipath_make_rc_ack()
148 cpu_to_be32(e->atomic_data >> 32); in ipath_make_rc_ack()
150 cpu_to_be32(e->atomic_data); in ipath_make_rc_ack()
152 bth2 = e->psn; in ipath_make_rc_ack()
153 e->sent = 1; in ipath_make_rc_ack()
1344 struct ipath_ack_entry *e; in ipath_rc_rcv_error() local
1379 e = NULL; in ipath_rc_rcv_error()
1395 e = NULL; in ipath_rc_rcv_error()
1398 e = &qp->s_ack_queue[prev]; in ipath_rc_rcv_error()
1399 if (!e->opcode) { in ipath_rc_rcv_error()
1400 e = NULL; in ipath_rc_rcv_error()
1403 if (ipath_cmp24(psn, e->psn) >= 0) { in ipath_rc_rcv_error()
1420 if (!e || e->opcode != OP(RDMA_READ_REQUEST) || old_req) in ipath_rc_rcv_error()
1436 offset = ((psn - e->psn) & IPATH_PSN_MASK) * in ipath_rc_rcv_error()
1439 if (unlikely(offset + len > e->rdma_sge.sge.sge_length)) in ipath_rc_rcv_error()
1446 ok = ipath_rkey_ok(qp, &e->rdma_sge, in ipath_rc_rcv_error()
1452 e->rdma_sge.sg_list = NULL; in ipath_rc_rcv_error()
1453 e->rdma_sge.num_sge = 0; in ipath_rc_rcv_error()
1454 e->rdma_sge.sge.mr = NULL; in ipath_rc_rcv_error()
1455 e->rdma_sge.sge.vaddr = NULL; in ipath_rc_rcv_error()
1456 e->rdma_sge.sge.length = 0; in ipath_rc_rcv_error()
1457 e->rdma_sge.sge.sge_length = 0; in ipath_rc_rcv_error()
1459 e->psn = psn; in ipath_rc_rcv_error()
1472 if (!e || e->opcode != (u8) opcode || old_req) in ipath_rc_rcv_error()
1794 struct ipath_ack_entry *e; in ipath_rc_rcv() local
1813 e = &qp->s_ack_queue[qp->r_head_ack_queue]; in ipath_rc_rcv()
1828 ok = ipath_rkey_ok(qp, &e->rdma_sge, len, vaddr, in ipath_rc_rcv()
1839 e->rdma_sge.sg_list = NULL; in ipath_rc_rcv()
1840 e->rdma_sge.num_sge = 0; in ipath_rc_rcv()
1841 e->rdma_sge.sge.mr = NULL; in ipath_rc_rcv()
1842 e->rdma_sge.sge.vaddr = NULL; in ipath_rc_rcv()
1843 e->rdma_sge.sge.length = 0; in ipath_rc_rcv()
1844 e->rdma_sge.sge.sge_length = 0; in ipath_rc_rcv()
1846 e->opcode = opcode; in ipath_rc_rcv()
1847 e->sent = 0; in ipath_rc_rcv()
1848 e->psn = psn; in ipath_rc_rcv()
1869 struct ipath_ack_entry *e; in ipath_rc_rcv() local
1908 e = &qp->s_ack_queue[qp->r_head_ack_queue]; in ipath_rc_rcv()
1909 e->atomic_data = (opcode == OP(FETCH_ADD)) ? in ipath_rc_rcv()
1914 e->opcode = opcode; in ipath_rc_rcv()
1915 e->sent = 0; in ipath_rc_rcv()
1916 e->psn = psn & IPATH_PSN_MASK; in ipath_rc_rcv()