/openbmc/linux/net/rds/ |
H A D | page.c | 84 sg_set_page(scat, page, PAGE_SIZE, 0); in rds_page_remainder_alloc() 103 sg_set_page(scat, rem->r_page, bytes, rem->r_offset); in rds_page_remainder_alloc()
|
H A D | message.c | 356 sg_set_page(&rm->data.op_sg[i], in rds_message_map_pages() 407 sg_set_page(sg, pages, copied, start); in rds_message_zcopy_from_user()
|
H A D | rdma.c | 282 sg_set_page(&sg[i], pages[i], PAGE_SIZE, 0); in __rds_rdma_map() 771 sg_set_page(sg, pages[j], in rds_cmsg_rdma_args() 932 sg_set_page(rm->atomic.op_sg, page, 8, offset_in_page(args->local_addr)); in rds_cmsg_atomic()
|
/openbmc/linux/tools/virtio/linux/ |
H A D | scatterlist.h | 59 static inline void sg_set_page(struct scatterlist *sg, struct page *page, in sg_set_page() function 164 sg_set_page(sg, virt_to_page(buf), buflen, offset_in_page(buf)); in sg_set_buf()
|
/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/ |
H A D | huge_gem_object.c | 60 sg_set_page(sg, page, PAGE_SIZE, 0); in huge_get_pages() 65 sg_set_page(sg, sg_page(src), PAGE_SIZE, 0); in huge_get_pages()
|
H A D | mock_dmabuf.c | 27 sg_set_page(sg, mock->pages[i], PAGE_SIZE, 0); in mock_map_dma_buf()
|
/openbmc/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_internal.c | 86 sg_set_page(sg, page, PAGE_SIZE << order, 0); in i915_gem_object_get_pages_internal() 113 sg_set_page(sg, NULL, 0, 0); in i915_gem_object_get_pages_internal()
|
/openbmc/linux/lib/ |
H A D | scatterlist.c | 538 sg_set_page(s, pages[cur_page], in sg_alloc_append_table_from_pages() 646 sg_set_page(sg, page, elem_len, 0); in sgl_alloc_order() 1141 sg_set_page(sg, page, seg, off); in extract_user_to_sg() 1185 sg_set_page(sg, bv[i].bv_page, len, off); in extract_bvec_to_sg() 1244 sg_set_page(sg, page, len, off); in extract_kvec_to_sg() 1296 sg_set_page(sg, folio_page(folio, 0), len, offset); in extract_xarray_to_sg()
|
H A D | kfifo.c | 321 sg_set_page(sgl, page, l - off, off); in setup_sgl_buf() 330 sg_set_page(sgl, page, len, off); in setup_sgl_buf()
|
/openbmc/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-udma.c | 52 sg_set_page(&dma->SGlist[map_offset], dma->bouncemap[map_offset], len, offset); in ivtv_udma_fill_sg_list() 55 sg_set_page(&dma->SGlist[map_offset], dma->map[map_offset], len, offset); in ivtv_udma_fill_sg_list()
|
/openbmc/linux/crypto/ |
H A D | scatterwalk.c | 88 sg_set_page(dst, sg_page(src), src->length - len, src->offset + len); in scatterwalk_ffwd()
|
/openbmc/linux/fs/crypto/ |
H A D | crypto.c | 130 sg_set_page(&dst, dest_page, len, offs); in fscrypt_crypt_block() 132 sg_set_page(&src, src_page, len, offs); in fscrypt_crypt_block()
|
/openbmc/linux/kernel/dma/ |
H A D | ops_helpers.c | 27 sg_set_page(sgt->sgl, page, PAGE_ALIGN(size), 0); in dma_common_get_sgtable()
|
/openbmc/linux/block/ |
H A D | blk-crypto-fallback.c | 329 sg_set_page(&src, plaintext_page, data_unit_size, in blk_crypto_fallback_encrypt_bio() 331 sg_set_page(&dst, ciphertext_page, data_unit_size, in blk_crypto_fallback_encrypt_bio() 420 sg_set_page(&sg, page, data_unit_size, bv.bv_offset); in blk_crypto_fallback_decrypt_bio()
|
/openbmc/linux/net/sunrpc/auth_gss/ |
H A D | gss_krb5_crypto.c | 404 sg_set_page(&desc->infrags[desc->fragno], in_page, sg->length, in encryptor() 406 sg_set_page(&desc->outfrags[desc->fragno], sg_page(sg), sg->length, in encryptor() 432 sg_set_page(&desc->outfrags[0], sg_page(sg), fraglen, in encryptor() 494 sg_set_page(&desc->frags[desc->fragno], sg_page(sg), sg->length, in decryptor() 517 sg_set_page(&desc->frags[0], sg_page(sg), fraglen, in decryptor()
|
/openbmc/linux/include/linux/ |
H A D | scatterlist.h | 136 static inline void sg_set_page(struct scatterlist *sg, struct page *page, in sg_set_page() function 189 sg_set_page(sg, virt_to_page(buf), buflen, offset_in_page(buf)); in sg_set_buf()
|
/openbmc/linux/drivers/crypto/qce/ |
H A D | dma.c | 67 sg_set_page(sg, sg_page(new_sgl), new_len, new_sgl->offset); in qce_sgtable_add()
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | videobuf-dma-sg.c | 78 sg_set_page(&sglist[i], pg, PAGE_SIZE, 0); in videobuf_vmalloc_to_sg() 108 sg_set_page(&sglist[0], pages[0], in videobuf_pages_to_sg() 116 sg_set_page(&sglist[i], pages[i], min_t(size_t, PAGE_SIZE, size), 0); in videobuf_pages_to_sg()
|
/openbmc/linux/drivers/dma-buf/heaps/ |
H A D | system_heap.c | 75 sg_set_page(new_sg, sg_page(sg), sg->length, sg->offset); in dup_sg_table() 387 sg_set_page(sg, page, page_size(page), 0); in system_heap_allocate()
|
/openbmc/linux/net/tls/ |
H A D | tls_device_fallback.c | 44 sg_set_page(sg, sg_page(src), in chain_to_walk() 287 sg_set_page(sg_in + i, skb_frag_page(frag), in fill_sg_in()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-topcliff-pch.c | 996 sg_set_page(sg, virt_to_page(dma->rx_buf_virt), rem, in pch_spi_handle_dma() 1002 sg_set_page(sg, virt_to_page(dma->rx_buf_virt), size, in pch_spi_handle_dma() 1008 sg_set_page(sg, virt_to_page(dma->rx_buf_virt), size, in pch_spi_handle_dma() 1058 sg_set_page(sg, virt_to_page(dma->tx_buf_virt), size + head, in pch_spi_handle_dma() 1064 sg_set_page(sg, virt_to_page(dma->tx_buf_virt), rem, in pch_spi_handle_dma() 1070 sg_set_page(sg, virt_to_page(dma->tx_buf_virt), size, in pch_spi_handle_dma()
|
/openbmc/linux/drivers/crypto/ |
H A D | omap-crypto.c | 41 sg_set_page(tmp, sg_page(*sg), len, (*sg)->offset); in omap_crypto_copy_sg_lists()
|
/openbmc/linux/drivers/gpu/drm/armada/ |
H A D | armada_gem.c | 416 sg_set_page(sg, page, PAGE_SIZE, 0); in armada_gem_prime_map_dma_buf() 426 sg_set_page(sgt->sgl, dobj->page, dobj->obj.size, 0); in armada_gem_prime_map_dma_buf()
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_scatterlist.c | 29 sg_set_page(new_sg, sg_page(sg), sg->length, 0); in i915_sg_trim()
|
/openbmc/linux/sound/soc/sh/ |
H A D | siu_pcm.c | 116 sg_set_page(&sg, pfn_to_page(PFN_DOWN(buff)), in siu_pcm_wr_set() 166 sg_set_page(&sg, pfn_to_page(PFN_DOWN(buff)), in siu_pcm_rd_set()
|