sg_offset 177 drivers/crypto/ccp/ccp-ops.c struct scatterlist *sg, unsigned int sg_offset, sg_offset 185 drivers/crypto/ccp/ccp-ops.c scatterwalk_map_and_copy(wa->address + wa_offset, sg, sg_offset, len, sg_offset 191 drivers/crypto/ccp/ccp-ops.c struct scatterlist *sg, unsigned int sg_offset, sg_offset 196 drivers/crypto/ccp/ccp-ops.c scatterwalk_map_and_copy(wa->address + wa_offset, sg, sg_offset, len, sg_offset 203 drivers/crypto/ccp/ccp-ops.c unsigned int sg_offset, sg_offset 209 drivers/crypto/ccp/ccp-ops.c rc = ccp_set_dm_area(wa, wa_offset, sg, sg_offset, len); sg_offset 228 drivers/crypto/ccp/ccp-ops.c unsigned int sg_offset, sg_offset 243 drivers/crypto/ccp/ccp-ops.c ccp_get_dm_area(wa, wa_offset, sg, sg_offset, len); sg_offset 304 drivers/infiniband/core/rw.c struct scatterlist *sg, u32 sg_cnt, u32 sg_offset, sg_offset 321 drivers/infiniband/core/rw.c if (sg_offset < len) sg_offset 325 drivers/infiniband/core/rw.c sg_offset -= len; sg_offset 335 drivers/infiniband/core/rw.c sg_offset, remote_addr, rkey, dir); sg_offset 337 drivers/infiniband/core/rw.c ret = rdma_rw_init_map_wrs(ctx, qp, sg, sg_cnt, sg_offset, sg_offset 340 drivers/infiniband/core/rw.c ret = rdma_rw_init_single_wr(ctx, qp, sg, sg_offset, sg_offset 2515 drivers/infiniband/core/verbs.c unsigned int *sg_offset, unsigned int page_size) sg_offset 2522 drivers/infiniband/core/verbs.c return mr->device->ops.map_mr_sg(mr, sg, sg_nents, sg_offset); sg_offset 2551 drivers/infiniband/core/verbs.c unsigned int sg_offset = sg_offset_p ? *sg_offset_p : 0; sg_offset 2556 drivers/infiniband/core/verbs.c if (unlikely(sg_nents <= 0 || sg_offset > sg_dma_len(&sgl[0]))) sg_offset 2559 drivers/infiniband/core/verbs.c mr->iova = sg_dma_address(&sgl[0]) + sg_offset; sg_offset 2563 drivers/infiniband/core/verbs.c u64 dma_addr = sg_dma_address(sg) + sg_offset; sg_offset 2565 drivers/infiniband/core/verbs.c unsigned int dma_len = sg_dma_len(sg) - sg_offset; sg_offset 2590 drivers/infiniband/core/verbs.c sg_offset = prev_addr - sg_dma_address(sg); sg_offset 2593 drivers/infiniband/core/verbs.c *sg_offset_p = sg_offset; sg_offset 2594 drivers/infiniband/core/verbs.c return i || sg_offset ? i : ret; sg_offset 2605 drivers/infiniband/core/verbs.c sg_offset = 0; sg_offset 3357 drivers/infiniband/hw/bnxt_re/ib_verbs.c unsigned int *sg_offset) sg_offset 3362 drivers/infiniband/hw/bnxt_re/ib_verbs.c return ib_sg_to_pages(ib_mr, sg, sg_nents, sg_offset, bnxt_re_set_page); sg_offset 201 drivers/infiniband/hw/bnxt_re/ib_verbs.h unsigned int *sg_offset); sg_offset 656 drivers/infiniband/hw/cxgb3/iwch_provider.c int sg_nents, unsigned int *sg_offset) sg_offset 662 drivers/infiniband/hw/cxgb3/iwch_provider.c return ib_sg_to_pages(ibmr, sg, sg_nents, sg_offset, iwch_set_page); sg_offset 985 drivers/infiniband/hw/cxgb4/iw_cxgb4.h unsigned int *sg_offset); sg_offset 786 drivers/infiniband/hw/cxgb4/mem.c unsigned int *sg_offset) sg_offset 792 drivers/infiniband/hw/cxgb4/mem.c return ib_sg_to_pages(ibmr, sg, sg_nents, sg_offset, c4iw_set_page); sg_offset 1198 drivers/infiniband/hw/hns/hns_roce_device.h unsigned int *sg_offset); sg_offset 1435 drivers/infiniband/hw/hns/hns_roce_mr.c unsigned int *sg_offset) sg_offset 1441 drivers/infiniband/hw/hns/hns_roce_mr.c return ib_sg_to_pages(ibmr, sg, sg_nents, sg_offset, hns_roce_set_page); sg_offset 1632 drivers/infiniband/hw/i40iw/i40iw_verbs.c int sg_nents, unsigned int *sg_offset) sg_offset 1637 drivers/infiniband/hw/i40iw/i40iw_verbs.c return ib_sg_to_pages(ibmr, sg, sg_nents, sg_offset, i40iw_set_page); sg_offset 743 drivers/infiniband/hw/mlx4/mlx4_ib.h unsigned int *sg_offset); sg_offset 807 drivers/infiniband/hw/mlx4/mr.c unsigned int *sg_offset) sg_offset 817 drivers/infiniband/hw/mlx4/mr.c rc = ib_sg_to_pages(ibmr, sg, sg_nents, sg_offset, mlx4_set_page); sg_offset 1176 drivers/infiniband/hw/mlx5/mlx5_ib.h unsigned int *sg_offset); sg_offset 2034 drivers/infiniband/hw/mlx5/mr.c unsigned int sg_offset = 0; sg_offset 2042 drivers/infiniband/hw/mlx5/mr.c sg_offset = *data_sg_offset; sg_offset 2043 drivers/infiniband/hw/mlx5/mr.c mr->data_length = sg_dma_len(data_sg) - sg_offset; sg_offset 2044 drivers/infiniband/hw/mlx5/mr.c mr->data_iova = sg_dma_address(data_sg) + sg_offset; sg_offset 2049 drivers/infiniband/hw/mlx5/mr.c sg_offset = *meta_sg_offset; sg_offset 2051 drivers/infiniband/hw/mlx5/mr.c sg_offset = 0; sg_offset 2052 drivers/infiniband/hw/mlx5/mr.c mr->meta_length = sg_dma_len(meta_sg) - sg_offset; sg_offset 2053 drivers/infiniband/hw/mlx5/mr.c mr->pi_iova = sg_dma_address(meta_sg) + sg_offset; sg_offset 2072 drivers/infiniband/hw/mlx5/mr.c unsigned int sg_offset = sg_offset_p ? *sg_offset_p : 0; sg_offset 2076 drivers/infiniband/hw/mlx5/mr.c mr->ibmr.iova = sg_dma_address(sg) + sg_offset; sg_offset 2082 drivers/infiniband/hw/mlx5/mr.c klms[i].va = cpu_to_be64(sg_dma_address(sg) + sg_offset); sg_offset 2083 drivers/infiniband/hw/mlx5/mr.c klms[i].bcount = cpu_to_be32(sg_dma_len(sg) - sg_offset); sg_offset 2085 drivers/infiniband/hw/mlx5/mr.c mr->ibmr.length += sg_dma_len(sg) - sg_offset; sg_offset 2087 drivers/infiniband/hw/mlx5/mr.c sg_offset = 0; sg_offset 2091 drivers/infiniband/hw/mlx5/mr.c *sg_offset_p = sg_offset; sg_offset 2098 drivers/infiniband/hw/mlx5/mr.c sg_offset = meta_sg_offset_p ? *meta_sg_offset_p : 0; sg_offset 2103 drivers/infiniband/hw/mlx5/mr.c sg_offset); sg_offset 2105 drivers/infiniband/hw/mlx5/mr.c sg_offset); sg_offset 2107 drivers/infiniband/hw/mlx5/mr.c mr->ibmr.length += sg_dma_len(sg) - sg_offset; sg_offset 2109 drivers/infiniband/hw/mlx5/mr.c sg_offset = 0; sg_offset 2112 drivers/infiniband/hw/mlx5/mr.c *meta_sg_offset_p = sg_offset; sg_offset 2311 drivers/infiniband/hw/mlx5/mr.c unsigned int *sg_offset) sg_offset 2323 drivers/infiniband/hw/mlx5/mr.c n = mlx5_ib_sg_to_klms(mr, sg, sg_nents, sg_offset, NULL, 0, sg_offset 2326 drivers/infiniband/hw/mlx5/mr.c n = ib_sg_to_pages(ibmr, sg, sg_nents, sg_offset, sg_offset 2977 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c unsigned int *sg_offset) sg_offset 2983 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c return ib_sg_to_pages(ibmr, sg, sg_nents, sg_offset, ocrdma_set_page); sg_offset 108 drivers/infiniband/hw/ocrdma/ocrdma_verbs.h unsigned int *sg_offset); sg_offset 2843 drivers/infiniband/hw/qedr/verbs.c int sg_nents, unsigned int *sg_offset) sg_offset 85 drivers/infiniband/hw/qedr/verbs.h int sg_nents, unsigned int *sg_offset); sg_offset 313 drivers/infiniband/hw/vmw_pvrdma/pvrdma_mr.c unsigned int *sg_offset) sg_offset 321 drivers/infiniband/hw/vmw_pvrdma/pvrdma_mr.c ret = ib_sg_to_pages(ibmr, sg, sg_nents, sg_offset, pvrdma_set_page); sg_offset 411 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h int sg_nents, unsigned int *sg_offset); sg_offset 633 drivers/infiniband/sw/rdmavt/mr.c int sg_nents, unsigned int *sg_offset) sg_offset 640 drivers/infiniband/sw/rdmavt/mr.c ret = ib_sg_to_pages(ibmr, sg, sg_nents, sg_offset, rvt_set_page); sg_offset 645 drivers/infiniband/sw/rdmavt/mr.c trace_rvt_map_mr_sg(ibmr, sg_nents, sg_offset); sg_offset 85 drivers/infiniband/sw/rdmavt/mr.h int sg_nents, unsigned int *sg_offset); sg_offset 186 drivers/infiniband/sw/rdmavt/trace_mr.h TP_PROTO(struct ib_mr *ibmr, int sg_nents, unsigned int *sg_offset), sg_offset 187 drivers/infiniband/sw/rdmavt/trace_mr.h TP_ARGS(ibmr, sg_nents, sg_offset), sg_offset 195 drivers/infiniband/sw/rdmavt/trace_mr.h __field(uint, sg_offset) sg_offset 204 drivers/infiniband/sw/rdmavt/trace_mr.h __entry->sg_offset = sg_offset ? *sg_offset : 0; sg_offset 214 drivers/infiniband/sw/rdmavt/trace_mr.h __entry->sg_offset sg_offset 1027 drivers/infiniband/sw/rxe/rxe_verbs.c int sg_nents, unsigned int *sg_offset) sg_offset 1034 drivers/infiniband/sw/rxe/rxe_verbs.c n = ib_sg_to_pages(ibmr, sg, sg_nents, sg_offset, rxe_set_page); sg_offset 1542 drivers/infiniband/ulp/srp/ib_srp.c unsigned int sg_offset = sg_offset_p ? *sg_offset_p : 0; sg_offset 1544 drivers/infiniband/ulp/srp/ib_srp.c srp_map_desc(state, sg_dma_address(state->sg) + sg_offset, sg_offset 1545 drivers/infiniband/ulp/srp/ib_srp.c sg_dma_len(state->sg) - sg_offset, sg_offset 1671 drivers/infiniband/ulp/srp/ib_srp.c unsigned int sg_offset = 0; sg_offset 1683 drivers/infiniband/ulp/srp/ib_srp.c n = srp_map_finish_fr(state, req, ch, count, &sg_offset); sg_offset 131 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c u16 sg_offset; sg_offset 170 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c sg_offset = dpaa2_sg_get_offset(sge); sg_offset 171 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c skb_reserve(skb, sg_offset); sg_offset 621 drivers/net/macsec.c size_t size, iv_offset, sg_offset; sg_offset 630 drivers/net/macsec.c sg_offset = size; sg_offset 638 drivers/net/macsec.c *sg = (struct scatterlist *)(tmp + sg_offset); sg_offset 285 drivers/nvme/target/tcp.c u32 length, offset, sg_offset; sg_offset 291 drivers/nvme/target/tcp.c sg_offset = offset % PAGE_SIZE; sg_offset 295 drivers/nvme/target/tcp.c u32 iov_len = min_t(u32, length, sg->length - sg_offset); sg_offset 297 drivers/nvme/target/tcp.c iov->iov_base = kmap(sg_page(sg)) + sg->offset + sg_offset; sg_offset 499 drivers/scsi/aic7xxx/aic79xx_core.c dma_addr_t sg_offset; sg_offset 502 drivers/scsi/aic7xxx/aic79xx_core.c sg_offset = sg_busaddr - (scb->sg_list_busaddr - ahd_sg_size(ahd)); sg_offset 503 drivers/scsi/aic7xxx/aic79xx_core.c return ((uint8_t *)scb->sg_list + sg_offset); sg_offset 509 drivers/scsi/aic7xxx/aic79xx_core.c dma_addr_t sg_offset; sg_offset 512 drivers/scsi/aic7xxx/aic79xx_core.c sg_offset = ((uint8_t *)sg - (uint8_t *)scb->sg_list) sg_offset 515 drivers/scsi/aic7xxx/aic79xx_core.c return (scb->sg_list_busaddr + sg_offset); sg_offset 1346 drivers/scsi/cxgbi/libcxgbi.c unsigned int sg_offset = sgl->offset; sg_offset 1387 drivers/scsi/cxgbi/libcxgbi.c sgl->offset = sg_offset; sg_offset 1665 drivers/scsi/dpt_i2o.c u32 sg_offset = 0; sg_offset 1702 drivers/scsi/dpt_i2o.c sg_offset = (msg[0]>>4)&0xf; sg_offset 1715 drivers/scsi/dpt_i2o.c if(sg_offset) { sg_offset 1717 drivers/scsi/dpt_i2o.c struct sg_simple_element *sg = (struct sg_simple_element*) (msg+sg_offset); sg_offset 1718 drivers/scsi/dpt_i2o.c sg_count = (size - sg_offset*4) / sizeof(struct sg_simple_element); sg_offset 1780 drivers/scsi/dpt_i2o.c if(sg_offset) { sg_offset 1805 drivers/scsi/dpt_i2o.c sg_count = (size - sg_offset*4) / sizeof(struct sg_simple_element); sg_offset 1808 drivers/scsi/dpt_i2o.c sg = (struct sg_simple_element*)(msg + sg_offset); sg_offset 1840 drivers/scsi/dpt_i2o.c (struct sg_simple_element*) (msg +sg_offset); sg_offset 282 drivers/scsi/iscsi_tcp.c offset += segment->sg_offset + sg->offset; sg_offset 94 drivers/scsi/libiscsi_tcp.c segment->sg_offset = offset; sg_offset 143 drivers/scsi/libiscsi_tcp.c segment->data = segment->sg_mapped + sg->offset + segment->sg_offset; sg_offset 210 drivers/scsi/libiscsi_tcp.c segment->copied + segment->sg_offset + sg_offset 224 drivers/scsi/lpfc/lpfc_bsg.c unsigned int sg_offset, dma_offset; sg_offset 234 drivers/scsi/lpfc/lpfc_bsg.c sg_offset = 0; sg_offset 248 drivers/scsi/lpfc/lpfc_bsg.c if (sg_offset) { sg_offset 250 drivers/scsi/lpfc/lpfc_bsg.c sg_address = miter.addr + sg_offset; sg_offset 251 drivers/scsi/lpfc/lpfc_bsg.c transfer_bytes = miter.length - sg_offset; sg_offset 265 drivers/scsi/lpfc/lpfc_bsg.c sg_offset += transfer_bytes; sg_offset 268 drivers/scsi/lpfc/lpfc_bsg.c if (sg_offset >= miter.length) { sg_offset 269 drivers/scsi/lpfc/lpfc_bsg.c sg_offset = 0; sg_offset 178 drivers/target/iscsi/cxgbit/cxgbit_ddp.c unsigned int sg_offset = sgl->offset; sg_offset 205 drivers/target/iscsi/cxgbit/cxgbit_ddp.c sgl->offset = sg_offset; sg_offset 145 drivers/usb/storage/datafab.c unsigned int sg_offset = 0; sg_offset 203 drivers/usb/storage/datafab.c &sg, &sg_offset, TO_XFER_BUF); sg_offset 229 drivers/usb/storage/datafab.c unsigned int sg_offset = 0; sg_offset 266 drivers/usb/storage/datafab.c &sg, &sg_offset, FROM_XFER_BUF); sg_offset 163 drivers/usb/storage/jumpshot.c unsigned int sg_offset = 0; sg_offset 215 drivers/usb/storage/jumpshot.c &sg, &sg_offset, TO_XFER_BUF); sg_offset 240 drivers/usb/storage/jumpshot.c unsigned int sg_offset = 0; sg_offset 271 drivers/usb/storage/jumpshot.c &sg, &sg_offset, FROM_XFER_BUF); sg_offset 1126 drivers/usb/storage/shuttle_usbat.c unsigned int sg_offset = 0; sg_offset 1181 drivers/usb/storage/shuttle_usbat.c &sg, &sg_offset, TO_XFER_BUF); sg_offset 1217 drivers/usb/storage/shuttle_usbat.c unsigned int sg_offset = 0; sg_offset 1257 drivers/usb/storage/shuttle_usbat.c &sg, &sg_offset, FROM_XFER_BUF); sg_offset 1297 drivers/usb/storage/shuttle_usbat.c unsigned int sg_offset = 0; sg_offset 1386 drivers/usb/storage/shuttle_usbat.c &sg, &sg_offset, TO_XFER_BUF); sg_offset 2412 include/rdma/ib_verbs.h unsigned int *sg_offset); sg_offset 4334 include/rdma/ib_verbs.h unsigned int *sg_offset, unsigned int page_size); sg_offset 4342 include/rdma/ib_verbs.h unsigned int *sg_offset, unsigned int page_size) sg_offset 4346 include/rdma/ib_verbs.h n = ib_map_mr_sg(mr, sg, sg_nents, sg_offset, page_size); sg_offset 4353 include/rdma/ib_verbs.h unsigned int *sg_offset, int (*set_page)(struct ib_mr *, u64)); sg_offset 46 include/rdma/rw.h struct scatterlist *sg, u32 sg_cnt, u32 sg_offset, sg_offset 38 include/scsi/libiscsi_tcp.h unsigned int sg_offset;