Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c494 struct scatterlist *scat; in rds_ib_xmit() local
514 scat = &rm->data.op_sg[sg]; in rds_ib_xmit()
515 ret = max_t(int, RDS_CONG_MAP_BYTES, scat->length); in rds_ib_xmit()
623 scat = &ic->i_data_op->op_sg[rm->data.op_dmasg]; in rds_ib_xmit()
651 && scat != &rm->data.op_sg[rm->data.op_count]) { in rds_ib_xmit()
653 sg_dma_len(scat) - rm->data.op_dmaoff); in rds_ib_xmit()
656 send->s_sge[1].addr = sg_dma_address(scat); in rds_ib_xmit()
663 if (rm->data.op_dmaoff == sg_dma_len(scat)) { in rds_ib_xmit()
664 scat++; in rds_ib_xmit()
709 && 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,
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dsrq.c308 struct mlx4_wqe_data_seg *scat; in mlx4_ib_post_srq_recv() local
340 scat = (struct mlx4_wqe_data_seg *) (next + 1); in mlx4_ib_post_srq_recv()
343 scat[i].byte_count = cpu_to_be32(wr->sg_list[i].length); in mlx4_ib_post_srq_recv()
344 scat[i].lkey = cpu_to_be32(wr->sg_list[i].lkey); in mlx4_ib_post_srq_recv()
345 scat[i].addr = cpu_to_be64(wr->sg_list[i].addr); in mlx4_ib_post_srq_recv()
349 scat[i].byte_count = 0; in mlx4_ib_post_srq_recv()
350 scat[i].lkey = cpu_to_be32(MLX4_INVALID_LKEY); in mlx4_ib_post_srq_recv()
351 scat[i].addr = 0; in mlx4_ib_post_srq_recv()
Dqp.c3810 struct mlx4_wqe_data_seg *scat; in _mlx4_ib_post_recv() local
3845 scat = get_recv_wqe(qp, ind); in _mlx4_ib_post_recv()
3853 scat->byte_count = in _mlx4_ib_post_recv()
3856 scat->lkey = cpu_to_be32(wr->sg_list->lkey); in _mlx4_ib_post_recv()
3857 scat->addr = cpu_to_be64(qp->sqp_proxy_rcv[ind].map); in _mlx4_ib_post_recv()
3858 scat++; in _mlx4_ib_post_recv()
3863 __set_data_seg(scat + i, wr->sg_list + i); in _mlx4_ib_post_recv()
3866 scat[i].byte_count = 0; in _mlx4_ib_post_recv()
3867 scat[i].lkey = cpu_to_be32(MLX4_INVALID_LKEY); in _mlx4_ib_post_recv()
3868 scat[i].addr = 0; in _mlx4_ib_post_recv()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dsrq.c428 struct mlx5_wqe_data_seg *scat; in mlx5_ib_post_srq_recv() local
461 scat = (struct mlx5_wqe_data_seg *)(next + 1); in mlx5_ib_post_srq_recv()
464 scat[i].byte_count = cpu_to_be32(wr->sg_list[i].length); in mlx5_ib_post_srq_recv()
465 scat[i].lkey = cpu_to_be32(wr->sg_list[i].lkey); in mlx5_ib_post_srq_recv()
466 scat[i].addr = cpu_to_be64(wr->sg_list[i].addr); in mlx5_ib_post_srq_recv()
470 scat[i].byte_count = 0; in mlx5_ib_post_srq_recv()
471 scat[i].lkey = cpu_to_be32(MLX5_INVALID_LKEY); in mlx5_ib_post_srq_recv()
472 scat[i].addr = 0; in mlx5_ib_post_srq_recv()
Dwr.c1463 struct mlx5_wqe_data_seg *scat; in mlx5_ib_post_recv() local
1499 scat = mlx5_frag_buf_get_wqe(&qp->rq.fbc, ind); in mlx5_ib_post_recv()
1501 scat++; in mlx5_ib_post_recv()
1504 set_data_ptr_seg(scat + i, wr->sg_list + i); in mlx5_ib_post_recv()
1507 scat[i].byte_count = 0; in mlx5_ib_post_recv()
1508 scat[i].lkey = cpu_to_be32(MLX5_INVALID_LKEY); in mlx5_ib_post_recv()
1509 scat[i].addr = 0; in mlx5_ib_post_recv()
1513 sig = (struct mlx5_rwqe_sig *)scat; in mlx5_ib_post_recv()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/srp/
Dib_srp.c1509 struct srp_request *req, struct scatterlist *scat, in srp_map_sg_fr() argument
1516 state->sg = scat; in srp_map_sg_fr()
1537 struct srp_request *req, struct scatterlist *scat, in srp_map_sg_dma() argument
1544 for_each_sg(scat, sg, count, i) { in srp_map_sg_dma()
1600 struct scatterlist *scat, int count) in srp_check_mapping() argument
1633 struct scatterlist *scat, *sg; in srp_map_data() local
1659 scat = scsi_sglist(scmnd); in srp_map_data()
1665 count = ib_dma_map_sg(ibdev, scat, nents, scmnd->sc_data_direction); in srp_map_data()
1682 for_each_sg(scat, sg, count, i) { in srp_map_data()
1705 buf->va = cpu_to_be64(sg_dma_address(scat)); in srp_map_data()
[all …]
/kernel/linux/linux-5.10/Documentation/m68k/
Dkernel-options.rst594 :Syntax: atascsi=<can_queue>[,<cmd_per_lun>[,<scat-gat>[,<host-id>[,<tagged>]]]]
631 <scat-gat>:
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.c347 struct hns_roce_wqe_data_seg *scat = NULL; in hns_roce_v1_post_recv() local
387 scat = (struct hns_roce_wqe_data_seg *)(ctrl + 1); in hns_roce_v1_post_recv()
390 set_data_seg(scat + i, wr->sg_list + i); in hns_roce_v1_post_recv()