Lines Matching refs:sge
88 struct ib_sge *sge; in rds_iw_recv_init_ring() local
98 sge = rds_iw_data_sge(ic, recv->r_sge); in rds_iw_recv_init_ring()
99 sge->addr = 0; in rds_iw_recv_init_ring()
100 sge->length = RDS_FRAG_SIZE; in rds_iw_recv_init_ring()
101 sge->lkey = 0; in rds_iw_recv_init_ring()
103 sge = rds_iw_header_sge(ic, recv->r_sge); in rds_iw_recv_init_ring()
104 sge->addr = ic->i_recv_hdrs_dma + (i * sizeof(struct rds_header)); in rds_iw_recv_init_ring()
105 sge->length = sizeof(struct rds_header); in rds_iw_recv_init_ring()
106 sge->lkey = 0; in rds_iw_recv_init_ring()
143 struct ib_sge *sge; in rds_iw_recv_refill_one() local
193 sge = rds_iw_data_sge(ic, recv->r_sge); in rds_iw_recv_refill_one()
194 sge->addr = dma_addr; in rds_iw_recv_refill_one()
195 sge->length = RDS_FRAG_SIZE; in rds_iw_recv_refill_one()
197 sge = rds_iw_header_sge(ic, recv->r_sge); in rds_iw_recv_refill_one()
198 sge->addr = ic->i_recv_hdrs_dma + (recv - ic->i_recvs) * sizeof(struct rds_header); in rds_iw_recv_refill_one()
199 sge->length = sizeof(struct rds_header); in rds_iw_recv_refill_one()
350 struct ib_sge *sge = &ic->i_ack_sge; in rds_iw_recv_init_ack() local
352 sge->addr = ic->i_ack_dma; in rds_iw_recv_init_ack()
353 sge->length = sizeof(struct rds_header); in rds_iw_recv_init_ack()
354 sge->lkey = rds_iw_local_dma_lkey(ic); in rds_iw_recv_init_ack()
356 wr->sg_list = sge; in rds_iw_recv_init_ack()