Home
last modified time | relevance | path

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

/Linux-v6.1/net/rds/
Dpage.c68 int rds_page_remainder_alloc(struct scatterlist *scat, unsigned long bytes, in rds_page_remainder_alloc() argument
84 sg_set_page(scat, page, PAGE_SIZE, 0); in rds_page_remainder_alloc()
103 sg_set_page(scat, rem->r_page, bytes, rem->r_offset); in rds_page_remainder_alloc()
104 get_page(sg_page(scat)); in rds_page_remainder_alloc()
147 ret ? NULL : sg_page(scat), ret ? 0 : scat->offset, in rds_page_remainder_alloc()
148 ret ? 0 : scat->length); in rds_page_remainder_alloc()
Dib_send.c493 struct scatterlist *scat; in rds_ib_xmit() local
513 scat = &rm->data.op_sg[sg]; in rds_ib_xmit()
514 ret = max_t(int, RDS_CONG_MAP_BYTES, scat->length); in rds_ib_xmit()
622 scat = &ic->i_data_op->op_sg[rm->data.op_dmasg]; in rds_ib_xmit()
650 && scat != &rm->data.op_sg[rm->data.op_count]) { in rds_ib_xmit()
652 sg_dma_len(scat) - rm->data.op_dmaoff); in rds_ib_xmit()
655 send->s_sge[1].addr = sg_dma_address(scat); in rds_ib_xmit()
662 if (rm->data.op_dmaoff == sg_dma_len(scat)) { in rds_ib_xmit()
663 scat++; in rds_ib_xmit()
708 && scat != &rm->data.op_sg[rm->data.op_count]); in rds_ib_xmit()
[all …]
Drds.h886 int rds_page_remainder_alloc(struct scatterlist *scat, unsigned long bytes,
/Linux-v6.1/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.c3808 struct mlx4_wqe_data_seg *scat; in _mlx4_ib_post_recv() local
3843 scat = get_recv_wqe(qp, ind); in _mlx4_ib_post_recv()
3851 scat->byte_count = in _mlx4_ib_post_recv()
3854 scat->lkey = cpu_to_be32(wr->sg_list->lkey); in _mlx4_ib_post_recv()
3855 scat->addr = cpu_to_be64(qp->sqp_proxy_rcv[ind].map); in _mlx4_ib_post_recv()
3856 scat++; in _mlx4_ib_post_recv()
3861 __set_data_seg(scat + i, wr->sg_list + i); in _mlx4_ib_post_recv()
3864 scat[i].byte_count = 0; in _mlx4_ib_post_recv()
3865 scat[i].lkey = cpu_to_be32(MLX4_INVALID_LKEY); in _mlx4_ib_post_recv()
3866 scat[i].addr = 0; in _mlx4_ib_post_recv()
/Linux-v6.1/drivers/infiniband/hw/mlx5/
Dsrq.c407 struct mlx5_wqe_data_seg *scat; in mlx5_ib_post_srq_recv() local
440 scat = (struct mlx5_wqe_data_seg *)(next + 1); in mlx5_ib_post_srq_recv()
443 scat[i].byte_count = cpu_to_be32(wr->sg_list[i].length); in mlx5_ib_post_srq_recv()
444 scat[i].lkey = cpu_to_be32(wr->sg_list[i].lkey); in mlx5_ib_post_srq_recv()
445 scat[i].addr = cpu_to_be64(wr->sg_list[i].addr); in mlx5_ib_post_srq_recv()
449 scat[i].byte_count = 0; in mlx5_ib_post_srq_recv()
450 scat[i].lkey = cpu_to_be32(MLX5_INVALID_LKEY); in mlx5_ib_post_srq_recv()
451 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 = cpu_to_be32(MLX5_INVALID_LKEY); 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()
/Linux-v6.1/drivers/infiniband/ulp/srp/
Dib_srp.c1505 struct srp_request *req, struct scatterlist *scat, in srp_map_sg_fr() argument
1512 state->sg = scat; in srp_map_sg_fr()
1533 struct srp_request *req, struct scatterlist *scat, in srp_map_sg_dma() argument
1540 for_each_sg(scat, sg, count, i) { in srp_map_sg_dma()
1596 struct scatterlist *scat, int count) in srp_check_mapping() argument
1629 struct scatterlist *scat, *sg; in srp_map_data() local
1655 scat = scsi_sglist(scmnd); in srp_map_data()
1661 count = ib_dma_map_sg(ibdev, scat, nents, scmnd->sc_data_direction); in srp_map_data()
1678 for_each_sg(scat, sg, count, i) { in srp_map_data()
1701 buf->va = cpu_to_be64(sg_dma_address(scat)); in srp_map_data()
[all …]
/Linux-v6.1/Documentation/m68k/
Dkernel-options.rst594 :Syntax: atascsi=<can_queue>[,<cmd_per_lun>[,<scat-gat>[,<host-id>[,<tagged>]]]]
631 <scat-gat>: