Lines Matching refs:sge
134 struct ib_sge *sge; in rds_iw_send_init_ring() local
148 sge = rds_iw_data_sge(ic, send->s_sge); in rds_iw_send_init_ring()
149 sge->lkey = 0; in rds_iw_send_init_ring()
151 sge = rds_iw_header_sge(ic, send->s_sge); in rds_iw_send_init_ring()
152 sge->addr = ic->i_send_hdrs_dma + (i * sizeof(struct rds_header)); in rds_iw_send_init_ring()
153 sge->length = sizeof(struct rds_header); in rds_iw_send_init_ring()
154 sge->lkey = 0; in rds_iw_send_init_ring()
445 struct ib_sge *sge; in rds_iw_xmit_populate_wr() local
457 sge = rds_iw_data_sge(ic, send->s_sge); in rds_iw_xmit_populate_wr()
458 sge->addr = buffer; in rds_iw_xmit_populate_wr()
459 sge->length = length; in rds_iw_xmit_populate_wr()
460 sge->lkey = rds_iw_local_dma_lkey(ic); in rds_iw_xmit_populate_wr()
462 sge = rds_iw_header_sge(ic, send->s_sge); in rds_iw_xmit_populate_wr()
467 sge = &send->s_sge[0]; in rds_iw_xmit_populate_wr()
470 sge->addr = ic->i_send_hdrs_dma + (pos * sizeof(struct rds_header)); in rds_iw_xmit_populate_wr()
471 sge->length = sizeof(struct rds_header); in rds_iw_xmit_populate_wr()
472 sge->lkey = rds_iw_local_dma_lkey(ic); in rds_iw_xmit_populate_wr()