Home
last modified time | relevance | path

Searched refs:sg_set_page (Results 1 – 25 of 126) sorted by relevance

123456

/kernel/linux/linux-5.10/tools/virtio/linux/
Dscatterlist.h59 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()
/kernel/linux/linux-5.10/net/rds/
Dpage.c84 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()
Dmessage.c356 sg_set_page(&rm->data.op_sg[i], in rds_message_map_pages()
410 sg_set_page(sg, pages, copied, start); in rds_message_zcopy_from_user()
Drdma.c282 sg_set_page(&sg[i], pages[i], PAGE_SIZE, 0); in __rds_rdma_map()
768 sg_set_page(sg, pages[j], in rds_cmsg_rdma_args()
929 sg_set_page(rm->atomic.op_sg, page, 8, offset_in_page(args->local_addr)); in rds_cmsg_atomic()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/
Dhuge_gem_object.c56 sg_set_page(sg, page, PAGE_SIZE, 0); in huge_get_pages()
61 sg_set_page(sg, sg_page(src), PAGE_SIZE, 0); in huge_get_pages()
Dmock_dmabuf.c27 sg_set_page(sg, mock->pages[i], PAGE_SIZE, 0); in mock_map_dma_buf()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_internal.c95 sg_set_page(sg, page, PAGE_SIZE << order, 0); in i915_gem_object_get_pages_internal()
123 sg_set_page(sg, NULL, 0, 0); in i915_gem_object_get_pages_internal()
/kernel/linux/linux-5.10/drivers/block/
Dcryptoloop.c136 sg_set_page(&sg_in, in_page, sz, in_offs); in cryptoloop_transfer()
137 sg_set_page(&sg_out, out_page, sz, out_offs); in cryptoloop_transfer()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_scatterlist.c23 sg_set_page(new_sg, sg_page(sg), sg->length, 0); in i915_sg_trim()
/kernel/linux/linux-5.10/drivers/hyperhold/
Dhp_device.c112 sg_set_page(&dst, dst_page, PAGE_SIZE, 0); in soft_crypt_page()
114 sg_set_page(&src, src_page, PAGE_SIZE, 0); in soft_crypt_page()
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/
Dgss_krb5_crypto.c354 sg_set_page(&desc->infrags[desc->fragno], in_page, sg->length, in encryptor()
356 sg_set_page(&desc->outfrags[desc->fragno], sg_page(sg), sg->length, in encryptor()
382 sg_set_page(&desc->outfrags[0], sg_page(sg), fraglen, in encryptor()
444 sg_set_page(&desc->frags[desc->fragno], sg_page(sg), sg->length, in decryptor()
467 sg_set_page(&desc->frags[0], sg_page(sg), fraglen, in decryptor()
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/
Divtv-udma.c52 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()
/kernel/linux/linux-5.10/crypto/
Dscatterwalk.c88 sg_set_page(dst, sg_page(src), src->length - len, src->offset + len); in scatterwalk_ffwd()
/kernel/linux/linux-5.10/fs/crypto/
Dcrypto.c122 sg_set_page(&dst, dest_page, len, offs); in fscrypt_crypt_block()
124 sg_set_page(&src, src_page, len, offs); in fscrypt_crypt_block()
/kernel/linux/linux-5.10/block/
Dblk-crypto-fallback.c326 sg_set_page(&src, plaintext_page, data_unit_size, in blk_crypto_fallback_encrypt_bio()
328 sg_set_page(&dst, ciphertext_page, data_unit_size, in blk_crypto_fallback_encrypt_bio()
416 sg_set_page(&sg, page, data_unit_size, bv.bv_offset); in blk_crypto_fallback_decrypt_bio()
/kernel/linux/linux-5.10/include/linux/
Dscatterlist.h116 static inline void sg_set_page(struct scatterlist *sg, struct page *page, in sg_set_page() function
145 sg_set_page(sg, virt_to_page(buf), buflen, offset_in_page(buf)); in sg_set_buf()
/kernel/linux/linux-5.10/drivers/staging/android/ion/
Dion_system_heap.c136 sg_set_page(sg, page, page_size(page), 0); in ion_system_heap_allocate()
315 sg_set_page(table->sgl, page, len, 0); in ion_system_contig_heap_allocate()
Dion_cma_heap.c70 sg_set_page(table->sgl, pages, size, 0); in ion_cma_allocate()
/kernel/linux/linux-5.10/kernel/dma/
Dops_helpers.c27 sg_set_page(sgt->sgl, page, PAGE_ALIGN(size), 0); in dma_common_get_sgtable()
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dvideobuf-dma-sg.c78 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()
/kernel/linux/linux-5.10/drivers/crypto/qce/
Ddma.c67 sg_set_page(sg, sg_page(new_sgl), new_len, new_sgl->offset); in qce_sgtable_add()
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/
Domap_gem_dmabuf.c44 sg_set_page(sg->sgl, pfn_to_page(PFN_DOWN(dma_addr)), obj->size, 0); in omap_gem_map_dma_buf()
/kernel/linux/linux-5.10/net/tls/
Dtls_device_fallback.c42 sg_set_page(sg, sg_page(src), in chain_to_walk()
275 sg_set_page(sg_in + i, skb_frag_page(frag), in fill_sg_in()
/kernel/linux/linux-5.10/drivers/spi/
Dspi-topcliff-pch.c1018 sg_set_page(sg, virt_to_page(dma->rx_buf_virt), rem, in pch_spi_handle_dma()
1024 sg_set_page(sg, virt_to_page(dma->rx_buf_virt), size, in pch_spi_handle_dma()
1030 sg_set_page(sg, virt_to_page(dma->rx_buf_virt), size, in pch_spi_handle_dma()
1080 sg_set_page(sg, virt_to_page(dma->tx_buf_virt), size + head, in pch_spi_handle_dma()
1086 sg_set_page(sg, virt_to_page(dma->tx_buf_virt), rem, in pch_spi_handle_dma()
1092 sg_set_page(sg, virt_to_page(dma->tx_buf_virt), size, in pch_spi_handle_dma()
/kernel/linux/linux-5.10/drivers/gpu/drm/armada/
Darmada_gem.c405 sg_set_page(sg, page, PAGE_SIZE, 0); in armada_gem_prime_map_dma_buf()
415 sg_set_page(sgt->sgl, dobj->page, dobj->obj.size, 0); in armada_gem_prime_map_dma_buf()

123456