/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/ |
D | trace_mr.h | 186 TP_PROTO(struct ib_mr *ibmr, int sg_nents, unsigned int *sg_offset), 187 TP_ARGS(ibmr, sg_nents, sg_offset), 195 __field(uint, sg_offset) 204 __entry->sg_offset = sg_offset ? *sg_offset : 0; 214 __entry->sg_offset
|
D | mr.h | 76 int sg_nents, unsigned int *sg_offset);
|
D | mr.c | 630 int sg_nents, unsigned int *sg_offset) in rvt_map_mr_sg() argument 637 ret = ib_sg_to_pages(ibmr, sg, sg_nents, sg_offset, rvt_set_page); in rvt_map_mr_sg() 642 trace_rvt_map_mr_sg(ibmr, sg_nents, sg_offset); in rvt_map_mr_sg()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | mr.c | 2137 unsigned int sg_offset = 0; in mlx5_ib_map_pa_mr_sg_pi() local 2145 sg_offset = *data_sg_offset; in mlx5_ib_map_pa_mr_sg_pi() 2146 mr->data_length = sg_dma_len(data_sg) - sg_offset; in mlx5_ib_map_pa_mr_sg_pi() 2147 mr->data_iova = sg_dma_address(data_sg) + sg_offset; in mlx5_ib_map_pa_mr_sg_pi() 2152 sg_offset = *meta_sg_offset; in mlx5_ib_map_pa_mr_sg_pi() 2154 sg_offset = 0; in mlx5_ib_map_pa_mr_sg_pi() 2155 mr->meta_length = sg_dma_len(meta_sg) - sg_offset; in mlx5_ib_map_pa_mr_sg_pi() 2156 mr->pi_iova = sg_dma_address(meta_sg) + sg_offset; in mlx5_ib_map_pa_mr_sg_pi() 2175 unsigned int sg_offset = sg_offset_p ? *sg_offset_p : 0; in mlx5_ib_sg_to_klms() local 2179 mr->ibmr.iova = sg_dma_address(sg) + sg_offset; in mlx5_ib_sg_to_klms() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | rw.c | 312 struct scatterlist *sg, u32 sg_cnt, u32 sg_offset, in rdma_rw_ctx_init() argument 329 if (sg_offset < len) in rdma_rw_ctx_init() 333 sg_offset -= len; in rdma_rw_ctx_init() 343 sg_offset, remote_addr, rkey, dir); in rdma_rw_ctx_init() 345 ret = rdma_rw_init_map_wrs(ctx, qp, sg, sg_cnt, sg_offset, in rdma_rw_ctx_init() 348 ret = rdma_rw_init_single_wr(ctx, qp, sg, sg_offset, in rdma_rw_ctx_init()
|
D | verbs.c | 2582 unsigned int *sg_offset, unsigned int page_size) in ib_map_mr_sg() argument 2589 return mr->device->ops.map_mr_sg(mr, sg, sg_nents, sg_offset); in ib_map_mr_sg() 2620 unsigned int sg_offset = sg_offset_p ? *sg_offset_p : 0; in ib_sg_to_pages() local 2625 if (unlikely(sg_nents <= 0 || sg_offset > sg_dma_len(&sgl[0]))) in ib_sg_to_pages() 2628 mr->iova = sg_dma_address(&sgl[0]) + sg_offset; in ib_sg_to_pages() 2632 u64 dma_addr = sg_dma_address(sg) + sg_offset; in ib_sg_to_pages() 2634 unsigned int dma_len = sg_dma_len(sg) - sg_offset; in ib_sg_to_pages() 2659 sg_offset = prev_addr - sg_dma_address(sg); in ib_sg_to_pages() 2662 *sg_offset_p = sg_offset; in ib_sg_to_pages() 2663 return i || sg_offset ? i : ret; in ib_sg_to_pages() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/include/rdma/ |
D | rw.h | 46 struct scatterlist *sg, u32 sg_cnt, u32 sg_offset,
|
D | ib_verbs.h | 2446 unsigned int *sg_offset); 4328 unsigned int *sg_offset, unsigned int page_size); 4336 unsigned int *sg_offset, unsigned int page_size) in ib_map_mr_sg_zbva() argument 4340 n = ib_map_mr_sg(mr, sg, sg_nents, sg_offset, page_size); in ib_map_mr_sg_zbva() 4347 unsigned int *sg_offset, int (*set_page)(struct ib_mr *, u64));
|
/kernel/linux/linux-5.10/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 | 411 int sg_nents, unsigned int *sg_offset);
|
/kernel/linux/linux-5.10/include/scsi/ |
D | libiscsi_tcp.h | 38 unsigned int sg_offset; member
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.h | 106 unsigned int *sg_offset);
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/ |
D | verbs.h | 85 int sg_nents, unsigned int *sg_offset);
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.h | 202 unsigned int *sg_offset);
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/nvme/target/ |
D | tcp.c | 304 u32 length, offset, sg_offset; in nvmet_tcp_map_pdu_iovec() local 310 sg_offset = offset % PAGE_SIZE; in nvmet_tcp_map_pdu_iovec() 314 u32 iov_len = min_t(u32, length, sg->length - sg_offset); in nvmet_tcp_map_pdu_iovec() 316 iov->iov_base = kmap(sg_page(sg)) + sg->offset + sg_offset; in nvmet_tcp_map_pdu_iovec() 322 sg_offset = 0; in nvmet_tcp_map_pdu_iovec()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/ |
D | mem.c | 775 unsigned int *sg_offset) in c4iw_map_mr_sg() argument 781 return ib_sg_to_pages(ibmr, sg, sg_nents, sg_offset, c4iw_set_page); in c4iw_map_mr_sg()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
D | hns_roce_mr.c | 481 unsigned int *sg_offset) in hns_roce_map_mr_sg() argument 495 ret = ib_sg_to_pages(ibmr, sg, sg_nents, sg_offset, hns_roce_set_page); in hns_roce_map_mr_sg()
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
D | rxe_verbs.c | 985 int sg_nents, unsigned int *sg_offset) in rxe_map_mr_sg() argument 992 n = ib_sg_to_pages(ibmr, sg, sg_nents, sg_offset, rxe_set_page); in rxe_map_mr_sg()
|