/linux-4.4.14/tools/virtio/linux/ |
H A D | scatterlist.h | 24 * Assign page to sg entry. Also see sg_set_page(), the most commonly used 45 * sg_set_page - Set sg entry to point at given page 58 static inline void sg_set_page(struct scatterlist *sg, struct page *page, sg_set_page() function 180 sg_set_page(sg, virt_to_page(buf), buflen, offset_in_page(buf)); sg_set_buf()
|
/linux-4.4.14/drivers/block/ |
H A D | cryptoloop.c | 152 sg_set_page(&sg_in, in_page, sz, in_offs); cryptoloop_transfer() 153 sg_set_page(&sg_out, out_page, sz, out_offs); cryptoloop_transfer()
|
H A D | skd_main.c | 1579 sg_set_page(sg, page, nbytes, 0); skd_skreq_prep_buffering()
|
/linux-4.4.14/drivers/crypto/qce/ |
H A D | dma.c | 72 sg_set_page(sg, sg_page(new_sgl), new_sgl->length, qce_sgtable_add()
|
/linux-4.4.14/crypto/ |
H A D | scatterwalk.c | 166 sg_set_page(dst, sg_page(src), src->length - len, src->offset + len); scatterwalk_ffwd()
|
H A D | algif_skcipher.c | 468 sg_set_page(sgl->sg + sgl->cur, page, size, offset); skcipher_sendpage() 574 sg_set_page(&tmp[x], sg_page(&sreq->tsg[x]), skcipher_recvmsg_async() 584 sg_set_page(sreq->tsg + txbufs++, sg_page(sg), sg->length, skcipher_recvmsg_async()
|
H A D | af_alg.c | 413 sg_set_page(sgl->sg + i, sgl->pages[i], plen, off); af_alg_make_sg()
|
H A D | algif_hash.c | 117 sg_set_page(ctx->sgl.sg, page, size, offset); hash_sendpage()
|
H A D | algif_aead.c | 332 sg_set_page(sgl->sg + sgl->cur, page, size, offset); aead_sendpage()
|
/linux-4.4.14/include/linux/ |
H A D | scatterlist.h | 78 * Assign page to sg entry. Also see sg_set_page(), the most commonly used 99 * sg_set_page - Set sg entry to point at given page 112 static inline void sg_set_page(struct scatterlist *sg, struct page *page, sg_set_page() function 142 sg_set_page(sg, virt_to_page(buf), buflen, offset_in_page(buf)); sg_set_buf()
|
/linux-4.4.14/drivers/staging/android/ion/ |
H A D | ion_system_heap.c | 162 sg_set_page(sg, page, PAGE_SIZE << compound_order(page), 0); ion_system_heap_allocate() 359 sg_set_page(table->sgl, page, len, 0); ion_system_contig_heap_allocate()
|
H A D | ion_carveout_heap.c | 97 sg_set_page(table->sgl, pfn_to_page(PFN_DOWN(paddr)), size, 0); ion_carveout_heap_allocate()
|
H A D | ion_chunk_heap.c | 73 sg_set_page(sg, pfn_to_page(PFN_DOWN(paddr)), ion_chunk_heap_allocate()
|
H A D | ion_heap.c | 159 sg_set_page(&sg, page, size, 0); ion_heap_pages_zero()
|
H A D | ion.c | 902 sg_set_page(&sg, page, size, 0); ion_pages_sync_for_device()
|
/linux-4.4.14/drivers/media/pci/ivtv/ |
H A D | ivtv-udma.c | 64 sg_set_page(&dma->SGlist[map_offset], dma->bouncemap[map_offset], len, offset); ivtv_udma_fill_sg_list() 67 sg_set_page(&dma->SGlist[map_offset], dma->map[map_offset], len, offset); ivtv_udma_fill_sg_list()
|
/linux-4.4.14/net/rds/ |
H A D | page.c | 113 sg_set_page(scat, page, PAGE_SIZE, 0); rds_page_remainder_alloc() 132 sg_set_page(scat, rem->r_page, bytes, rem->r_offset); rds_page_remainder_alloc()
|
H A D | message.c | 259 sg_set_page(&rm->data.op_sg[i], rds_message_map_pages()
|
H A D | rdma.c | 256 sg_set_page(&sg[i], pages[i], PAGE_SIZE, 0); __rds_rdma_map() 675 sg_set_page(sg, pages[j], rds_cmsg_rdma_args() 834 sg_set_page(rm->atomic.op_sg, page, 8, offset_in_page(args->local_addr)); rds_cmsg_atomic()
|
/linux-4.4.14/drivers/media/v4l2-core/ |
H A D | videobuf-dma-sg.c | 81 sg_set_page(&sglist[i], pg, PAGE_SIZE, 0); videobuf_vmalloc_to_sg() 111 sg_set_page(&sglist[0], pages[0], videobuf_pages_to_sg() 119 sg_set_page(&sglist[i], pages[i], min_t(size_t, PAGE_SIZE, size), 0); videobuf_pages_to_sg()
|
H A D | videobuf2-vmalloc.c | 236 sg_set_page(sg, page, PAGE_SIZE, 0); vb2_vmalloc_dmabuf_ops_attach()
|
H A D | videobuf2-dma-sg.c | 411 sg_set_page(wr, sg_page(rd), rd->length, rd->offset); vb2_dma_sg_dmabuf_ops_attach()
|
H A D | videobuf2-dma-contig.c | 245 sg_set_page(wr, sg_page(rd), rd->length, rd->offset); vb2_dc_dmabuf_ops_attach()
|
/linux-4.4.14/drivers/mmc/core/ |
H A D | sdio_ops.c | 169 sg_set_page(sg_ptr, virt_to_page(buf + (i * seg_size)), for_each_sg()
|
/linux-4.4.14/drivers/gpu/drm/omapdrm/ |
H A D | omap_gem_dmabuf.c | 50 sg_set_page(sg->sgl, pfn_to_page(PFN_DOWN(paddr)), obj->size, 0); omap_gem_map_dma_buf()
|
/linux-4.4.14/fs/f2fs/ |
H A D | crypto.c | 355 sg_set_page(&dst, dest_page, PAGE_CACHE_SIZE, 0); f2fs_page_crypto() 357 sg_set_page(&src, src_page, PAGE_CACHE_SIZE, 0); f2fs_page_crypto()
|
/linux-4.4.14/fs/ext4/ |
H A D | crypto.c | 288 sg_set_page(&dst, dest_page, PAGE_CACHE_SIZE, 0); ext4_page_crypto() 290 sg_set_page(&src, src_page, PAGE_CACHE_SIZE, 0); ext4_page_crypto()
|
/linux-4.4.14/net/sunrpc/auth_gss/ |
H A D | gss_krb5_crypto.c | 422 sg_set_page(&desc->infrags[desc->fragno], in_page, sg->length, encryptor() 424 sg_set_page(&desc->outfrags[desc->fragno], sg_page(sg), sg->length, encryptor() 448 sg_set_page(&desc->outfrags[0], sg_page(sg), fraglen, encryptor() 505 sg_set_page(&desc->frags[desc->fragno], sg_page(sg), sg->length, decryptor() 526 sg_set_page(&desc->frags[0], sg_page(sg), fraglen, decryptor()
|
/linux-4.4.14/block/ |
H A D | blk-merge.c | 372 sg_set_page(*sg, bvec->bv_page, nbytes, bvec->bv_offset); __blk_segment_map_sg() 408 sg_set_page(*sg, bvec.bv_page, bvec.bv_len, bvec.bv_offset); __blk_bios_map_sg() 448 sg_set_page(sg, virt_to_page(q->dma_drain_buffer), blk_rq_map_sg()
|
H A D | blk-integrity.c | 117 sg_set_page(sg, iv.bv_page, iv.bv_len, iv.bv_offset); bio_for_each_integrity_vec()
|
/linux-4.4.14/drivers/spi/ |
H A D | spi-topcliff-pch.c | 1023 sg_set_page(sg, virt_to_page(dma->rx_buf_virt), rem, pch_spi_handle_dma() 1029 sg_set_page(sg, virt_to_page(dma->rx_buf_virt), size, pch_spi_handle_dma() 1035 sg_set_page(sg, virt_to_page(dma->rx_buf_virt), size, pch_spi_handle_dma() 1082 sg_set_page(sg, virt_to_page(dma->tx_buf_virt), size + head, pch_spi_handle_dma() 1088 sg_set_page(sg, virt_to_page(dma->tx_buf_virt), rem, pch_spi_handle_dma() 1094 sg_set_page(sg, virt_to_page(dma->tx_buf_virt), size, pch_spi_handle_dma()
|
H A D | spi-mxs.c | 236 sg_set_page(&dma_xfer[sg_count].sg, vm_page, mxs_spi_txrx_dma()
|
H A D | spi-ep93xx.c | 497 sg_set_page(sg, virt_to_page(pbuf), bytes, ep93xx_spi_dma_prepare() 500 sg_set_page(sg, virt_to_page(espi->zeropage), ep93xx_spi_dma_prepare()
|
H A D | spi-pl022.c | 902 sg_set_page(sg, virt_to_page(bufp), setup_dma_scatter() 917 sg_set_page(sg, virt_to_page(pl022->dummypage), setup_dma_scatter()
|
H A D | spi.c | 717 sg_set_page(&sgt->sgl[i], vm_page, spi_map_buf()
|
/linux-4.4.14/drivers/gpu/drm/armada/ |
H A D | armada_gem.c | 454 sg_set_page(sg, page, PAGE_SIZE, 0); armada_gem_prime_map_dma_buf() 466 sg_set_page(sgt->sgl, dobj->page, dobj->obj.size, 0); armada_gem_prime_map_dma_buf()
|
/linux-4.4.14/lib/ |
H A D | kfifo.c | 334 sg_set_page(sgl, page, l - off, off); setup_sgl_buf() 343 sg_set_page(sgl, page, len, off); setup_sgl_buf()
|
H A D | scatterlist.c | 426 sg_set_page(s, pages[cur_page], min(size, chunk_size), offset); sg_alloc_table_from_pages()
|
/linux-4.4.14/sound/soc/sh/ |
H A D | siu_pcm.c | 128 sg_set_page(&sg, pfn_to_page(PFN_DOWN(buff)), siu_pcm_wr_set() 178 sg_set_page(&sg, pfn_to_page(PFN_DOWN(buff)), siu_pcm_rd_set()
|
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/linux/ |
H A D | linux-crypto.c | 154 sg_set_page(&sl, page, len, offset & ~CFS_PAGE_MASK); cfs_crypto_hash_update_page()
|
/linux-4.4.14/drivers/gpu/drm/udl/ |
H A D | udl_dmabuf.c | 120 sg_set_page(wr, sg_page(rd), rd->length, rd->offset); udl_map_dma_buf()
|
/linux-4.4.14/drivers/base/ |
H A D | dma-mapping.c | 238 sg_set_page(sgt->sgl, page, PAGE_ALIGN(size), 0); dma_common_get_sgtable()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
H A D | i915_gem_dmabuf.c | 67 sg_set_page(dst, sg_page(src), src->length, 0); i915_gem_map_dma_buf()
|
H A D | i915_gem_userptr.c | 494 sg_set_page(sg, pvec[n], PAGE_SIZE, 0); st_set_pages()
|
H A D | i915_gem_gtt.c | 3291 sg_set_page(sg, NULL, PAGE_SIZE, 0); rotate_pages() 3416 sg_set_page(sg, NULL, PAGE_SIZE, 0); intel_partial_pages()
|
H A D | i915_gem.c | 2307 sg_set_page(sg, page, PAGE_SIZE, 0); i915_gem_object_get_pages_gtt() 2316 sg_set_page(sg, page, PAGE_SIZE, 0); i915_gem_object_get_pages_gtt()
|
/linux-4.4.14/drivers/mmc/card/ |
H A D | mmc_test.c | 418 sg_set_page(sg, mem->arr[i].page, len, 0); mmc_test_map_sg() 473 sg_set_page(sg, virt_to_page(addr), len, 0); mmc_test_map_sg_max_scatter() 1279 sg_set_page(&sg, test->highmem, 512, 0); mmc_test_write_high() 1289 sg_set_page(&sg, test->highmem, 512, 0); mmc_test_read_high() 1311 sg_set_page(&sg, test->highmem, size, 0); mmc_test_multi_write_high() 1333 sg_set_page(&sg, test->highmem, size, 0); mmc_test_multi_read_high()
|
/linux-4.4.14/drivers/infiniband/hw/mthca/ |
H A D | mthca_memfree.c | 119 sg_set_page(mem, page, PAGE_SIZE << order, 0); mthca_alloc_icm_pages() 480 sg_set_page(&db_tab->page[i].mem, pages[0], MTHCA_ICM_PAGE_SIZE, mthca_map_user_db()
|
/linux-4.4.14/drivers/usb/musb/ |
H A D | ux500_dma.c | 106 sg_set_page(&sg, pfn_to_page(PFN_DOWN(dma_addr)), len, ux500_configure_channel()
|
/linux-4.4.14/drivers/infiniband/core/ |
H A D | umem.c | 207 sg_set_page(sg, page_list[i], PAGE_SIZE, 0); for_each_sg()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
H A D | icm.c | 109 sg_set_page(mem, page, PAGE_SIZE << order, 0); mlx4_alloc_icm_pages()
|
/linux-4.4.14/drivers/crypto/ccp/ |
H A D | ccp-crypto-main.c | 312 sg_set_page(sg, sg_page(sg_add), sg_add->length, ccp_crypto_sg_table_add()
|
/linux-4.4.14/sound/soc/txx9/ |
H A D | txx9aclc.c | 128 sg_set_page(&sg, pfn_to_page(PFN_DOWN(buf_dma_addr)), txx9aclc_dma_submit()
|
/linux-4.4.14/drivers/tty/serial/ |
H A D | pch_uart.c | 878 sg_set_page(&priv->sg_rx, virt_to_page(priv->rx_buf_virt), dma_handle_rx() 1021 sg_set_page(sg, virt_to_page(xmit->buf), dma_handle_tx() 1024 sg_set_page(sg, virt_to_page(xmit->buf), dma_handle_tx()
|
H A D | atmel_serial.c | 934 sg_set_page(&atmel_port->sg_tx, atmel_prepare_tx_dma() 1116 sg_set_page(&atmel_port->sg_rx, atmel_prepare_rx_dma()
|
H A D | amba-pl011.c | 263 sg_set_page(&sg->sg, phys_to_page(dma_addr), pl011_sgbuf_init()
|
/linux-4.4.14/drivers/media/common/saa7146/ |
H A D | saa7146_core.c | 164 sg_set_page(&sglist[i], pg, PAGE_SIZE, 0); vmalloc_to_sg()
|
/linux-4.4.14/drivers/gpu/drm/tegra/ |
H A D | gem.c | 526 sg_set_page(sg, bo->pages[i], PAGE_SIZE, 0); tegra_gem_prime_map_dma_buf()
|
/linux-4.4.14/drivers/media/pci/cx23885/ |
H A D | cx23885-alsa.c | 111 sg_set_page(&buf->sglist[i], pg, PAGE_SIZE, 0); cx23885_alsa_dma_init()
|
/linux-4.4.14/drivers/infiniband/hw/usnic/ |
H A D | usnic_uiom.c | 171 sg_set_page(sg, page_list[i + off], usnic_uiom_get_pages()
|
/linux-4.4.14/net/ceph/ |
H A D | crypto.c | 142 sg_set_page(sg, page, len, off); setup_sgtable()
|
/linux-4.4.14/net/sunrpc/xprtrdma/ |
H A D | frwr_ops.c | 345 sg_set_page(&frmr->sg[i], frwr_op_map()
|
H A D | svc_rdma_recvfrom.c | 254 sg_set_page(&frmr->sg[pno], rqstp->rq_arg.pages[pg_no], rdma_read_chunk_frmr()
|
/linux-4.4.14/drivers/target/ |
H A D | target_core_sbc.c | 563 sg_set_page(&write_sg[i], m.page, block_size, compare_and_write_callback() 567 sg_set_page(&write_sg[i], m.page, block_size, compare_and_write_callback()
|
H A D | target_core_transport.c | 2306 sg_set_page(&sg[i], page, page_len, 0); target_alloc_sgl()
|
/linux-4.4.14/drivers/dma/sh/ |
H A D | shdma-base.c | 655 sg_set_page(&sg, pfn_to_page(PFN_DOWN(dma_src)), len, shdma_prep_memcpy() 743 sg_set_page(&sgl[i], pfn_to_page(PFN_DOWN(src)), period_len, shdma_prep_dma_cyclic()
|
H A D | rcar-dmac.c | 1015 sg_set_page(&sgl, pfn_to_page(PFN_DOWN(dma_src)), len, rcar_dmac_prep_dma_memcpy() 1089 sg_set_page(&sgl[i], pfn_to_page(PFN_DOWN(src)), period_len, rcar_dmac_prep_dma_cyclic()
|
/linux-4.4.14/drivers/memstick/core/ |
H A D | ms_block.c | 56 sg_set_page(sg_to, sg_page(sg_from), msb_sg_copy() 74 sg_set_page(sg_to, sg_page(sg_from), msb_sg_copy() 85 sg_set_page(sg_to, sg_page(sg_from), len, sg_from->offset); msb_sg_copy()
|
H A D | mspro_block.c | 638 sg_set_page(&t_sg, h_mspro_block_transfer_data()
|
/linux-4.4.14/drivers/block/drbd/ |
H A D | drbd_worker.c | 288 sg_set_page(&sg, page, PAGE_SIZE, 0); drbd_csum_ee() 294 sg_set_page(&sg, page, len ?: PAGE_SIZE, 0); drbd_csum_ee() 313 sg_set_page(&sg, bvec.bv_page, bvec.bv_len, bvec.bv_offset); bio_for_each_segment()
|
/linux-4.4.14/fs/ecryptfs/ |
H A D | crypto.c | 295 sg_set_page(&sg[i], pg, 0, offset); virt_to_scatterlist() 451 sg_set_page(&src_sg, src_page, extent_size, crypt_extent() 453 sg_set_page(&dst_sg, dst_page, extent_size, crypt_extent()
|
/linux-4.4.14/drivers/media/pci/cx25821/ |
H A D | cx25821-alsa.c | 175 sg_set_page(&buf->sglist[i], pg, PAGE_SIZE, 0); cx25821_alsa_dma_init()
|
/linux-4.4.14/drivers/media/pci/cx88/ |
H A D | cx88-alsa.c | 322 sg_set_page(&buf->sglist[i], pg, PAGE_SIZE, 0); cx88_alsa_dma_init()
|
/linux-4.4.14/net/9p/ |
H A D | trans_virtio.c | 242 sg_set_page(&sg[index++], pdata[i++], s, data_off); pack_sg_list_p()
|
/linux-4.4.14/drivers/video/fbdev/ |
H A D | mx3fb.c | 825 sg_set_page(&sg[0], virt_to_page(fbi->screen_base), __set_par() 1198 sg_set_page(&sg[mx3_fbi->cur_ipu_buf], mx3fb_pan_display()
|
H A D | sh_mobile_lcdcfb.c | 458 sg_set_page(&ch->sglist[nr_pages++], page, PAGE_SIZE, 0); sh_mobile_lcdc_sginit()
|
/linux-4.4.14/drivers/md/ |
H A D | dm-crypt.c | 853 sg_set_page(&dmreq->sg_in, bv_in.bv_page, 1 << SECTOR_SHIFT, crypt_convert_block() 857 sg_set_page(&dmreq->sg_out, bv_out.bv_page, 1 << SECTOR_SHIFT, crypt_convert_block()
|
/linux-4.4.14/drivers/char/ |
H A D | virtio_console.c | 891 sg_set_page(&(sgl->sg[sgl->n]), buf->page, len, buf->offset); pipe_to_sg() 910 sg_set_page(&(sgl->sg[sgl->n]), page, len, offset); pipe_to_sg()
|
/linux-4.4.14/drivers/scsi/ |
H A D | libiscsi_tcp.c | 211 sg_set_page(&sg, sg_page(segment->sg), copied, iscsi_tcp_segment_done()
|
H A D | osst.c | 5364 sg_set_page(&STbuffer->sg[0], page, b_size, 0); enlarge_buffer() 5387 sg_set_page(&STbuffer->sg[segs], page, (OS_FRAME_SIZE - got <= PAGE_SIZE / 2) ? (OS_FRAME_SIZE - got) : b_size, 0); enlarge_buffer()
|
H A D | pmcraid.c | 3311 sg_set_page(&scatterlist[i], page, pmcraid_alloc_sglist()
|
H A D | ipr.c | 3789 sg_set_page(&scatterlist[i], page, 0, 0); ipr_alloc_ucode_buffer()
|
/linux-4.4.14/drivers/hsi/clients/ |
H A D | ssi_protocol.c | 194 sg_set_page(sg, frag->page.p, frag->size, frag->page_offset); ssip_skb_to_msg()
|
/linux-4.4.14/drivers/media/pci/saa7134/ |
H A D | saa7134-alsa.c | 296 sg_set_page(&dma->sglist[i], pg, PAGE_SIZE, 0); saa7134_alsa_dma_init()
|
/linux-4.4.14/drivers/char/agp/ |
H A D | intel-gtt.c | 110 sg_set_page(sg, pages[i], PAGE_SIZE, 0); intel_gtt_map_memory()
|
/linux-4.4.14/arch/arm64/mm/ |
H A D | dma-mapping.c | 338 sg_set_page(sgt->sgl, phys_to_page(dma_to_phys(dev, handle)), __swiotlb_get_sgtable()
|
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/o2iblnd/ |
H A D | o2iblnd_cb.c | 695 sg_set_page(sg, page, fragnob, page_offset); kiblnd_setup_rd_iov() 738 sg_set_page(sg, kiov->kiov_page, fragnob, kiblnd_setup_rd_kiov()
|
/linux-4.4.14/drivers/misc/mic/scif/ |
H A D | scif_nodeqp.c | 381 sg_set_page(&sg[i], page, page_size, 0); scif_p2p_setsg()
|
H A D | scif_rma.c | 556 sg_set_page(sg, pin->pages[i], PAGE_SIZE, 0x0); scif_iommu_map()
|
/linux-4.4.14/net/sunrpc/ |
H A D | xdr.c | 1488 sg_set_page(sg, buf->pages[i], thislen, page_offset); xdr_process_buf()
|
/linux-4.4.14/drivers/xen/ |
H A D | xen-scsiback.c | 557 sg_set_page(sg, pg[i], seg->length, seg->offset); scsiback_gnttab_data_map()
|
/linux-4.4.14/drivers/vhost/ |
H A D | scsi.c | 669 sg_set_page(sg, pages[npages], nbytes, offset); vhost_scsi_map_to_sgl()
|
/linux-4.4.14/drivers/net/usb/ |
H A D | usbnet.c | 1296 sg_set_page(&urb->sg[i + s], f->page.p, f->size, build_dma_sg()
|
/linux-4.4.14/arch/arm/mm/ |
H A D | dma-mapping.c | 788 sg_set_page(sgt->sgl, page, PAGE_ALIGN(size), 0); arm_dma_get_sgtable()
|
/linux-4.4.14/drivers/usb/wusbcore/ |
H A D | wa-xfer.c | 1071 sg_set_page(current_seg_sg, sg_page(current_xfer_sg), wa_xfer_create_subset_sg()
|
/linux-4.4.14/drivers/crypto/ |
H A D | hifn_795x.c | 1436 sg_set_page(s, page, PAGE_SIZE, 0); hifn_cipher_walk_init()
|
/linux-4.4.14/net/ipv4/ |
H A D | tcp.c | 3041 sg_set_page(&sg, page, skb_frag_size(f), tcp_md5_hash_skb_data()
|
/linux-4.4.14/drivers/scsi/qla2xxx/ |
H A D | qla_target.c | 4375 sg_set_page(sgp, sg_page(sg), qlt_set_data_offset() 4379 sg_set_page(sgp, sg_page(sg), sg->length, 0); qlt_set_data_offset()
|
/linux-4.4.14/net/core/ |
H A D | skbuff.c | 3389 sg_set_page(&sg[elt], skb_frag_page(frag), copy, __skb_to_sgvec()
|