/linux/drivers/infiniband/sw/rdmavt/ |
A 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
|
A D | mr.h | 34 int sg_nents, unsigned int *sg_offset);
|
A 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/drivers/infiniband/hw/mlx5/ |
A D | mr.c | 2396 unsigned int sg_offset = 0; in mlx5_ib_map_pa_mr_sg_pi() local 2404 sg_offset = *data_sg_offset; in mlx5_ib_map_pa_mr_sg_pi() 2411 sg_offset = *meta_sg_offset; in mlx5_ib_map_pa_mr_sg_pi() 2413 sg_offset = 0; in mlx5_ib_map_pa_mr_sg_pi() 2449 sg_offset = 0; in mlx5_ib_sg_to_klms() 2453 *sg_offset_p = sg_offset; in mlx5_ib_sg_to_klms() 2465 sg_offset); in mlx5_ib_sg_to_klms() 2467 sg_offset); in mlx5_ib_sg_to_klms() 2471 sg_offset = 0; in mlx5_ib_sg_to_klms() 2474 *meta_sg_offset_p = sg_offset; in mlx5_ib_sg_to_klms() [all …]
|
/linux/drivers/usb/storage/ |
A 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()
|
A 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()
|
A 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/drivers/infiniband/core/ |
A D | rw.c | 319 struct scatterlist *sg, u32 sg_cnt, u32 sg_offset, in rdma_rw_ctx_init() argument 340 if (sg_offset < len) in rdma_rw_ctx_init() 344 sg_offset -= len; in rdma_rw_ctx_init() 354 sg_offset, remote_addr, rkey, dir); in rdma_rw_ctx_init() 356 ret = rdma_rw_init_map_wrs(ctx, qp, sg, sg_cnt, sg_offset, in rdma_rw_ctx_init() 359 ret = rdma_rw_init_single_wr(ctx, qp, sg, sg_offset, in rdma_rw_ctx_init()
|
A D | verbs.c | 2633 unsigned int *sg_offset, unsigned int page_size) in ib_map_mr_sg() argument 2640 return mr->device->ops.map_mr_sg(mr, sg, sg_nents, sg_offset); in ib_map_mr_sg() 2671 unsigned int sg_offset = sg_offset_p ? *sg_offset_p : 0; in ib_sg_to_pages() local 2676 if (unlikely(sg_nents <= 0 || sg_offset > sg_dma_len(&sgl[0]))) in ib_sg_to_pages() 2679 mr->iova = sg_dma_address(&sgl[0]) + sg_offset; in ib_sg_to_pages() 2683 u64 dma_addr = sg_dma_address(sg) + sg_offset; in ib_sg_to_pages() 2685 unsigned int dma_len = sg_dma_len(sg) - sg_offset; in ib_sg_to_pages() 2710 sg_offset = prev_addr - sg_dma_address(sg); in ib_sg_to_pages() 2713 *sg_offset_p = sg_offset; in ib_sg_to_pages() 2714 return i || sg_offset ? i : ret; in ib_sg_to_pages() [all …]
|
/linux/drivers/infiniband/hw/vmw_pvrdma/ |
A 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()
|
A D | pvrdma_verbs.h | 376 int sg_nents, unsigned int *sg_offset);
|
/linux/include/rdma/ |
A D | rw.h | 46 struct scatterlist *sg, u32 sg_cnt, u32 sg_offset,
|
A D | ib_verbs.h | 2487 unsigned int *sg_offset); 4384 unsigned int *sg_offset, unsigned int page_size); 4392 unsigned int *sg_offset, unsigned int page_size) in ib_map_mr_sg_zbva() argument 4396 n = ib_map_mr_sg(mr, sg, sg_nents, sg_offset, page_size); in ib_map_mr_sg_zbva() 4403 unsigned int *sg_offset, int (*set_page)(struct ib_mr *, u64));
|
/linux/include/scsi/ |
A D | libiscsi_tcp.h | 38 unsigned int sg_offset; member
|
/linux/drivers/target/iscsi/cxgbit/ |
A 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/drivers/infiniband/hw/ocrdma/ |
A D | ocrdma_verbs.h | 106 unsigned int *sg_offset);
|
/linux/drivers/infiniband/hw/qedr/ |
A D | verbs.h | 85 int sg_nents, unsigned int *sg_offset);
|
/linux/drivers/scsi/ |
A D | dpt_i2o.c | 1660 u32 sg_offset = 0; in adpt_i2o_passthru() local 1697 sg_offset = (msg[0]>>4)&0xf; in adpt_i2o_passthru() 1710 if(sg_offset) { in adpt_i2o_passthru() 1712 struct sg_simple_element *sg = (struct sg_simple_element*) (msg+sg_offset); in adpt_i2o_passthru() 1713 sg_count = (size - sg_offset*4) / sizeof(struct sg_simple_element); in adpt_i2o_passthru() 1775 if(sg_offset) { in adpt_i2o_passthru() 1800 sg_count = (size - sg_offset*4) / sizeof(struct sg_simple_element); in adpt_i2o_passthru() 1803 sg = (struct sg_simple_element*)(msg + sg_offset); in adpt_i2o_passthru() 1835 (struct sg_simple_element*) (msg +sg_offset); in adpt_i2o_passthru()
|
A 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/drivers/crypto/ccp/ |
A 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/drivers/infiniband/hw/bnxt_re/ |
A D | ib_verbs.h | 200 unsigned int *sg_offset);
|
/linux/drivers/infiniband/hw/mlx4/ |
A D | mr.c | 702 unsigned int *sg_offset) in mlx4_ib_map_mr_sg() argument 712 rc = ib_sg_to_pages(ibmr, sg, sg_nents, sg_offset, mlx4_set_page); in mlx4_ib_map_mr_sg()
|
/linux/drivers/nvme/target/ |
A D | tcp.c | 329 u32 length, offset, sg_offset; in nvmet_tcp_map_pdu_iovec() local 335 sg_offset = offset % PAGE_SIZE; in nvmet_tcp_map_pdu_iovec() 339 u32 iov_len = min_t(u32, length, sg->length - sg_offset); in nvmet_tcp_map_pdu_iovec() 341 iov->iov_base = kmap(sg_page(sg)) + sg->offset + sg_offset; in nvmet_tcp_map_pdu_iovec() 347 sg_offset = 0; in nvmet_tcp_map_pdu_iovec()
|
/linux/drivers/infiniband/hw/cxgb4/ |
A 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/drivers/infiniband/hw/hns/ |
A D | hns_roce_mr.c | 441 unsigned int *sg_offset) in hns_roce_map_mr_sg() argument 455 ret = ib_sg_to_pages(ibmr, sg, sg_nents, sg_offset, hns_roce_set_page); in hns_roce_map_mr_sg()
|