Home
last modified time | relevance | path

Searched refs:scat (Results 1 – 5 of 5) sorted by relevance

/drivers/infiniband/hw/mlx4/
Dsrq.c312 struct mlx4_wqe_data_seg *scat; in mlx4_ib_post_srq_recv() local
343 scat = (struct mlx4_wqe_data_seg *) (next + 1); in mlx4_ib_post_srq_recv()
346 scat[i].byte_count = cpu_to_be32(wr->sg_list[i].length); in mlx4_ib_post_srq_recv()
347 scat[i].lkey = cpu_to_be32(wr->sg_list[i].lkey); in mlx4_ib_post_srq_recv()
348 scat[i].addr = cpu_to_be64(wr->sg_list[i].addr); in mlx4_ib_post_srq_recv()
352 scat[i].byte_count = 0; in mlx4_ib_post_srq_recv()
353 scat[i].lkey = cpu_to_be32(MLX4_INVALID_LKEY); in mlx4_ib_post_srq_recv()
354 scat[i].addr = 0; in mlx4_ib_post_srq_recv()
Dqp.c3847 struct mlx4_wqe_data_seg *scat; in _mlx4_ib_post_recv() local
3882 scat = get_recv_wqe(qp, ind); in _mlx4_ib_post_recv()
3890 scat->byte_count = in _mlx4_ib_post_recv()
3893 scat->lkey = cpu_to_be32(wr->sg_list->lkey); in _mlx4_ib_post_recv()
3894 scat->addr = cpu_to_be64(qp->sqp_proxy_rcv[ind].map); in _mlx4_ib_post_recv()
3895 scat++; in _mlx4_ib_post_recv()
3900 __set_data_seg(scat + i, wr->sg_list + i); in _mlx4_ib_post_recv()
3903 scat[i].byte_count = 0; in _mlx4_ib_post_recv()
3904 scat[i].lkey = cpu_to_be32(MLX4_INVALID_LKEY); in _mlx4_ib_post_recv()
3905 scat[i].addr = 0; in _mlx4_ib_post_recv()
/drivers/infiniband/hw/mlx5/
Dsrq.c410 struct mlx5_wqe_data_seg *scat; in mlx5_ib_post_srq_recv() local
443 scat = (struct mlx5_wqe_data_seg *)(next + 1); in mlx5_ib_post_srq_recv()
446 scat[i].byte_count = cpu_to_be32(wr->sg_list[i].length); in mlx5_ib_post_srq_recv()
447 scat[i].lkey = cpu_to_be32(wr->sg_list[i].lkey); in mlx5_ib_post_srq_recv()
448 scat[i].addr = cpu_to_be64(wr->sg_list[i].addr); in mlx5_ib_post_srq_recv()
452 scat[i].byte_count = 0; in mlx5_ib_post_srq_recv()
453 scat[i].lkey = dev->mkeys.terminate_scatter_list_mkey; in mlx5_ib_post_srq_recv()
454 scat[i].addr = 0; in mlx5_ib_post_srq_recv()
Dwr.c1210 struct mlx5_wqe_data_seg *scat; in mlx5_ib_post_recv() local
1246 scat = mlx5_frag_buf_get_wqe(&qp->rq.fbc, ind); in mlx5_ib_post_recv()
1248 scat++; in mlx5_ib_post_recv()
1251 set_data_ptr_seg(scat + i, wr->sg_list + i); in mlx5_ib_post_recv()
1254 scat[i].byte_count = 0; in mlx5_ib_post_recv()
1255 scat[i].lkey = dev->mkeys.terminate_scatter_list_mkey; in mlx5_ib_post_recv()
1256 scat[i].addr = 0; in mlx5_ib_post_recv()
1260 sig = (struct mlx5_rwqe_sig *)scat; in mlx5_ib_post_recv()
/drivers/infiniband/ulp/srp/
Dib_srp.c1500 struct srp_request *req, struct scatterlist *scat, in srp_map_sg_fr() argument
1507 state->sg = scat; in srp_map_sg_fr()
1528 struct srp_request *req, struct scatterlist *scat, in srp_map_sg_dma() argument
1535 for_each_sg(scat, sg, count, i) { in srp_map_sg_dma()
1591 struct scatterlist *scat, int count) in srp_check_mapping() argument
1624 struct scatterlist *scat, *sg; in srp_map_data() local
1650 scat = scsi_sglist(scmnd); in srp_map_data()
1656 count = ib_dma_map_sg(ibdev, scat, nents, scmnd->sc_data_direction); in srp_map_data()
1673 for_each_sg(scat, sg, count, i) { in srp_map_data()
1696 buf->va = cpu_to_be64(sg_dma_address(scat)); in srp_map_data()
[all …]