/linux-6.1.9/drivers/infiniband/sw/rdmavt/ |
D | trace_mr.h | 144 TP_PROTO(struct ib_mr *ibmr, int sg_nents, unsigned int *sg_offset), 145 TP_ARGS(ibmr, sg_nents, sg_offset), 153 __field(uint, sg_offset) 162 __entry->sg_offset = sg_offset ? *sg_offset : 0; 172 __entry->sg_offset
|
D | mr.h | 34 int sg_nents, unsigned int *sg_offset);
|
D | mr.c | 589 int sg_nents, unsigned int *sg_offset) in rvt_map_mr_sg() argument 596 ret = ib_sg_to_pages(ibmr, sg, sg_nents, sg_offset, rvt_set_page); in rvt_map_mr_sg() 601 trace_rvt_map_mr_sg(ibmr, sg_nents, sg_offset); in rvt_map_mr_sg()
|
/linux-6.1.9/drivers/infiniband/hw/mlx5/ |
D | mr.c | 2044 unsigned int sg_offset = 0; in mlx5_ib_map_pa_mr_sg_pi() local 2052 sg_offset = *data_sg_offset; in mlx5_ib_map_pa_mr_sg_pi() 2053 mr->data_length = sg_dma_len(data_sg) - sg_offset; in mlx5_ib_map_pa_mr_sg_pi() 2054 mr->data_iova = sg_dma_address(data_sg) + sg_offset; in mlx5_ib_map_pa_mr_sg_pi() 2059 sg_offset = *meta_sg_offset; in mlx5_ib_map_pa_mr_sg_pi() 2061 sg_offset = 0; in mlx5_ib_map_pa_mr_sg_pi() 2062 mr->meta_length = sg_dma_len(meta_sg) - sg_offset; in mlx5_ib_map_pa_mr_sg_pi() 2063 mr->pi_iova = sg_dma_address(meta_sg) + sg_offset; in mlx5_ib_map_pa_mr_sg_pi() 2082 unsigned int sg_offset = sg_offset_p ? *sg_offset_p : 0; in mlx5_ib_sg_to_klms() local 2086 mr->ibmr.iova = sg_dma_address(sg) + sg_offset; in mlx5_ib_sg_to_klms() [all …]
|
/linux-6.1.9/drivers/infiniband/core/ |
D | rw.c | 293 struct scatterlist *sg, u32 sg_cnt, u32 sg_offset, in rdma_rw_ctx_init() argument 314 if (sg_offset < len) in rdma_rw_ctx_init() 318 sg_offset -= len; in rdma_rw_ctx_init() 328 sg_offset, remote_addr, rkey, dir); in rdma_rw_ctx_init() 330 ret = rdma_rw_init_map_wrs(ctx, qp, sg, sg_cnt, sg_offset, in rdma_rw_ctx_init() 333 ret = rdma_rw_init_single_wr(ctx, qp, sg, sg_offset, in rdma_rw_ctx_init()
|
D | verbs.c | 2628 unsigned int *sg_offset, unsigned int page_size) in ib_map_mr_sg() argument 2635 return mr->device->ops.map_mr_sg(mr, sg, sg_nents, sg_offset); in ib_map_mr_sg() 2666 unsigned int sg_offset = sg_offset_p ? *sg_offset_p : 0; in ib_sg_to_pages() local 2671 if (unlikely(sg_nents <= 0 || sg_offset > sg_dma_len(&sgl[0]))) in ib_sg_to_pages() 2674 mr->iova = sg_dma_address(&sgl[0]) + sg_offset; in ib_sg_to_pages() 2678 u64 dma_addr = sg_dma_address(sg) + sg_offset; in ib_sg_to_pages() 2680 unsigned int dma_len = sg_dma_len(sg) - sg_offset; in ib_sg_to_pages() 2705 sg_offset = prev_addr - sg_dma_address(sg); in ib_sg_to_pages() 2708 *sg_offset_p = sg_offset; in ib_sg_to_pages() 2709 return i || sg_offset ? i : ret; in ib_sg_to_pages() [all …]
|
/linux-6.1.9/drivers/usb/storage/ |
D | jumpshot.c | 163 unsigned int sg_offset = 0; in jumpshot_read_data() local 215 &sg, &sg_offset, TO_XFER_BUF); in jumpshot_read_data() 240 unsigned int sg_offset = 0; in jumpshot_write_data() local 271 &sg, &sg_offset, FROM_XFER_BUF); in jumpshot_write_data()
|
D | datafab.c | 145 unsigned int sg_offset = 0; in datafab_read_data() local 203 &sg, &sg_offset, TO_XFER_BUF); in datafab_read_data() 229 unsigned int sg_offset = 0; in datafab_write_data() local 266 &sg, &sg_offset, FROM_XFER_BUF); in datafab_write_data()
|
D | shuttle_usbat.c | 1126 unsigned int sg_offset = 0; in usbat_flash_read_data() local 1181 &sg, &sg_offset, TO_XFER_BUF); in usbat_flash_read_data() 1217 unsigned int sg_offset = 0; in usbat_flash_write_data() local 1257 &sg, &sg_offset, FROM_XFER_BUF); in usbat_flash_write_data() 1297 unsigned int sg_offset = 0; in usbat_hp8200e_handle_read10() local 1386 &sg, &sg_offset, TO_XFER_BUF); in usbat_hp8200e_handle_read10()
|
/linux-6.1.9/include/rdma/ |
D | rw.h | 46 struct scatterlist *sg, u32 sg_cnt, u32 sg_offset,
|
/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_mr.c | 314 unsigned int *sg_offset) in pvrdma_map_mr_sg() argument 322 ret = ib_sg_to_pages(ibmr, sg, sg_nents, sg_offset, pvrdma_set_page); in pvrdma_map_mr_sg()
|
D | pvrdma_verbs.h | 376 int sg_nents, unsigned int *sg_offset);
|
/linux-6.1.9/include/scsi/ |
D | libiscsi_tcp.h | 38 unsigned int sg_offset; member
|
/linux-6.1.9/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.h | 105 unsigned int *sg_offset);
|
/linux-6.1.9/drivers/target/iscsi/cxgbit/ |
D | cxgbit_ddp.c | 178 unsigned int sg_offset = sgl->offset; in cxgbit_ddp_reserve() local 205 sgl->offset = sg_offset; in cxgbit_ddp_reserve()
|
/linux-6.1.9/drivers/infiniband/hw/qedr/ |
D | verbs.h | 85 int sg_nents, unsigned int *sg_offset);
|
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.h | 200 unsigned int *sg_offset);
|
/linux-6.1.9/drivers/crypto/ccp/ |
D | ccp-ops.c | 193 struct scatterlist *sg, unsigned int sg_offset, in ccp_set_dm_area() argument 201 scatterwalk_map_and_copy(wa->address + wa_offset, sg, sg_offset, len, in ccp_set_dm_area() 207 struct scatterlist *sg, unsigned int sg_offset, in ccp_get_dm_area() argument 212 scatterwalk_map_and_copy(wa->address + wa_offset, sg, sg_offset, len, in ccp_get_dm_area() 219 unsigned int sg_offset, in ccp_reverse_set_dm_area() argument 225 rc = ccp_set_dm_area(wa, wa_offset, sg, sg_offset, len); in ccp_reverse_set_dm_area() 244 unsigned int sg_offset, in ccp_reverse_get_dm_area() argument 259 ccp_get_dm_area(wa, wa_offset, sg, sg_offset, len); in ccp_reverse_get_dm_area()
|
/linux-6.1.9/drivers/infiniband/hw/mlx4/ |
D | mr.c | 701 unsigned int *sg_offset) in mlx4_ib_map_mr_sg() argument 711 rc = ib_sg_to_pages(ibmr, sg, sg_nents, sg_offset, mlx4_set_page); in mlx4_ib_map_mr_sg()
|
/linux-6.1.9/drivers/scsi/ |
D | libiscsi_tcp.c | 94 segment->sg_offset = offset; in iscsi_tcp_segment_init_sg() 143 segment->data = segment->sg_mapped + sg->offset + segment->sg_offset; in iscsi_tcp_segment_map() 210 segment->copied + segment->sg_offset + in iscsi_tcp_segment_done()
|
/linux-6.1.9/drivers/nvme/target/ |
D | tcp.c | 311 u32 length, offset, sg_offset; in nvmet_tcp_build_pdu_iovec() local 318 sg_offset = offset % PAGE_SIZE; in nvmet_tcp_build_pdu_iovec() 322 u32 iov_len = min_t(u32, length, sg->length - sg_offset); in nvmet_tcp_build_pdu_iovec() 326 iov->bv_offset = sg->offset + sg_offset; in nvmet_tcp_build_pdu_iovec() 331 sg_offset = 0; in nvmet_tcp_build_pdu_iovec()
|
/linux-6.1.9/drivers/infiniband/hw/erdma/ |
D | erdma_verbs.h | 331 unsigned int *sg_offset);
|
/linux-6.1.9/drivers/infiniband/hw/cxgb4/ |
D | mem.c | 691 unsigned int *sg_offset) in c4iw_map_mr_sg() argument 697 return ib_sg_to_pages(ibmr, sg, sg_nents, sg_offset, c4iw_set_page); in c4iw_map_mr_sg()
|
/linux-6.1.9/drivers/infiniband/hw/hns/ |
D | hns_roce_mr.c | 417 unsigned int *sg_offset) in hns_roce_map_mr_sg() argument 431 ret = ib_sg_to_pages(ibmr, sg, sg_nents, sg_offset, hns_roce_set_page); in hns_roce_map_mr_sg()
|
/linux-6.1.9/drivers/scsi/lpfc/ |
D | lpfc_bsg.c | 215 unsigned int sg_offset, dma_offset; in lpfc_bsg_copy_data() local 225 sg_offset = 0; in lpfc_bsg_copy_data() 239 if (sg_offset) { in lpfc_bsg_copy_data() 241 sg_address = miter.addr + sg_offset; in lpfc_bsg_copy_data() 242 transfer_bytes = miter.length - sg_offset; in lpfc_bsg_copy_data() 256 sg_offset += transfer_bytes; in lpfc_bsg_copy_data() 259 if (sg_offset >= miter.length) { in lpfc_bsg_copy_data() 260 sg_offset = 0; in lpfc_bsg_copy_data()
|