/kernel/linux/linux-5.10/drivers/crypto/ |
D | omap-crypto.c | 41 sg_set_page(tmp, sg_page(*sg), len, (*sg)->offset); in omap_crypto_copy_sg_lists() 105 if (page_zonenum(sg_page(sg)) != ZONE_DMA) in omap_crypto_check_sg() 181 srcb = kmap_atomic(sg_page(src)) + srco + src->offset; in omap_crypto_copy_data() 182 dstb = kmap_atomic(sg_page(dst)) + dsto + dst->offset; in omap_crypto_copy_data() 186 if (!PageSlab(sg_page(dst))) in omap_crypto_copy_data() 187 flush_kernel_dcache_page(sg_page(dst)); in omap_crypto_copy_data()
|
/kernel/linux/linux-5.10/samples/kfifo/ |
D | dma-example.c | 77 i, sg_page(&sg[i]), sg[i].offset, sg[i].length); in example_init() 106 i, sg_page(&sg[i]), sg[i].offset, sg[i].length); in example_init()
|
/kernel/linux/linux-5.10/net/rds/ |
D | message.c | 156 __free_page(sg_page(&rm->data.op_sg[i])); in rds_message_purge() 158 put_page(sg_page(&rm->data.op_sg[i])); in rds_message_purge() 401 put_page(sg_page(&rm->data.op_sg[i])); in rds_message_zcopy_from_user() 440 if (!sg_page(sg)) { in rds_message_copy_from_user() 453 nbytes = copy_page_from_iter(sg_page(sg), sg->offset + sg_off, in rds_message_copy_from_user() 490 ret = copy_page_to_iter(sg_page(sg), sg->offset + vec_off, in rds_message_inc_copy_to_user()
|
D | page.c | 104 get_page(sg_page(scat)); in rds_page_remainder_alloc() 147 ret ? NULL : sg_page(scat), ret ? 0 : scat->offset, in rds_page_remainder_alloc()
|
D | tcp_send.c | 119 sg_page(&rm->data.op_sg[sg]), in rds_tcp_xmit() 123 rdsdebug("tcp sendpage %p:%u:%u ret %d\n", (void *)sg_page(&rm->data.op_sg[sg]), in rds_tcp_xmit()
|
/kernel/linux/linux-5.10/include/linux/ |
D | scatterlist.h | 124 static inline struct page *sg_page(struct scatterlist *sg) in sg_page() function 243 return page_to_phys(sg_page(sg)) + sg->offset; in sg_phys() 258 return page_address(sg_page(sg)) + sg->offset; in sg_virt() 404 return nth_page(sg_page(piter->sg), piter->sg_pgoffset); in sg_page_iter_page()
|
D | devcoredump.h | 32 page = sg_page(iter); in _devcd_free_sgtable()
|
/kernel/linux/linux-5.10/drivers/target/tcm_fc/ |
D | tfc_io.c | 85 page = sg_page(sg); in ft_queue_data_in() 103 page = sg_page(sg); in ft_queue_data_in() 280 page = sg_page(sg); in ft_recv_write_data() 288 page = sg_page(sg); in ft_recv_write_data()
|
/kernel/linux/linux-5.10/tools/virtio/linux/ |
D | scatterlist.h | 66 static inline struct page *sg_page(struct scatterlist *sg) in sg_page() function 157 return page_to_phys(sg_page(sg)) + sg->offset; in sg_phys()
|
/kernel/linux/linux-5.10/include/crypto/ |
D | scatterwalk.h | 56 return sg_page(walk->sg) + (walk->offset >> PAGE_SHIFT); in scatterwalk_page() 83 page = sg_page(walk->sg) + ((walk->offset - 1) >> PAGE_SHIFT); in scatterwalk_pagedone()
|
/kernel/linux/linux-5.10/drivers/target/ |
D | target_core_sbc.c | 386 addr = kmap_atomic(sg_page(sg)); in xdreadwrite_callback() 503 addr = (unsigned char *)kmap_atomic(sg_page(sg)); in compare_and_write_callback() 1232 paddr = kmap_atomic(sg_page(psg)) + psg->offset; in sbc_dif_generate() 1233 daddr = kmap_atomic(sg_page(dsg)) + dsg->offset; in sbc_dif_generate() 1248 daddr = kmap_atomic(sg_page(dsg)) + dsg->offset; in sbc_dif_generate() 1261 daddr = kmap_atomic(sg_page(dsg)) + dsg->offset; in sbc_dif_generate() 1346 paddr = kmap_atomic(sg_page(psg)) + psg->offset; in sbc_dif_copy_prot() 1350 addr = kmap_atomic(sg_page(sg)) + sg->offset + offset; in sbc_dif_copy_prot() 1389 paddr = kmap_atomic(sg_page(psg)) + psg->offset; in sbc_dif_verify() 1390 daddr = kmap_atomic(sg_page(dsg)) + dsg->offset; in sbc_dif_verify() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/ |
D | i915_gem_phys.c | 97 void *vaddr = sg_page(pages->sgl); in i915_gem_object_put_pages_phys() 141 void *vaddr = sg_page(obj->mm.pages->sgl) + args->offset; in phys_pwrite() 172 void *vaddr = sg_page(obj->mm.pages->sgl) + args->offset; in phys_pread()
|
D | i915_gem_internal.c | 25 if (sg_page(sg)) in internal_free_pages() 26 __free_pages(sg_page(sg), get_order(sg->length)); in internal_free_pages()
|
/kernel/linux/linux-5.10/drivers/crypto/qce/ |
D | dma.c | 57 if (!sg_page(sg)) in qce_sgtable_add() 67 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/i915/ |
D | i915_scatterlist.c | 23 sg_set_page(new_sg, sg_page(sg), sg->length, 0); in i915_sg_trim()
|
D | i915_scatterlist.h | 36 s.pfn = page_to_pfn(sg_page(s.sgp)); in __sgt_iter()
|
/kernel/linux/linux-5.10/crypto/ |
D | af_alg.c | 610 struct page *page = sg_page(sg + i); in af_alg_pull_tsgl() 683 if (!sg_page(sg)) in af_alg_free_areq_sgls() 685 put_page(sg_page(sg)); in af_alg_free_areq_sgls() 898 err = memcpy_from_msg(page_address(sg_page(sg)) + in af_alg_sendmsg() 939 if (!sg_page(sg + i)) { in af_alg_sendmsg() 944 err = memcpy_from_msg(page_address(sg_page(sg + i)), in af_alg_sendmsg() 947 __free_page(sg_page(sg + i)); in af_alg_sendmsg()
|
D | scatterwalk.c | 88 sg_set_page(dst, sg_page(src), src->length - len, src->offset + len); in scatterwalk_ffwd()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/ |
D | mthca_memfree.c | 73 __free_pages(sg_page(&chunk->mem[i]), in mthca_free_icm_pages() 83 lowmem_page_address(sg_page(&chunk->mem[i])), in mthca_free_icm_coherent() 309 page = sg_page(&chunk->mem[i]); in mthca_table_find() 493 unpin_user_page(sg_page(&db_tab->page[i].mem)); in mthca_map_user_db() 559 unpin_user_page(sg_page(&db_tab->page[i].mem)); in mthca_cleanup_user_db_tab()
|
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/ |
D | gss_krb5_crypto.c | 352 in_page = sg_page(sg); 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/kernel/dma/ |
D | virt.c | 45 BUG_ON(!sg_page(sg)); in dma_virt_map_sg()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/armada/ |
D | armada_gem.c | 432 if (sg_page(sg)) in armada_gem_prime_map_dma_buf() 433 put_page(sg_page(sg)); in armada_gem_prime_map_dma_buf() 455 put_page(sg_page(sg)); in armada_gem_prime_unmap_dma_buf()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/ |
D | scatterlist.c | 52 struct page *page = sg_page(sg); in expect_pfn_sg() 252 GEM_BUG_ON(page_to_pfn(sg_page(sg)) != pfn); in alloc_table()
|
/kernel/linux/linux-5.10/drivers/staging/android/ion/ |
D | ion_system_heap.c | 166 free_buffer_page(sys_heap, buffer, sg_page(sg)); in ion_system_heap_free() 333 struct page *page = sg_page(table->sgl); in ion_system_contig_heap_free()
|
/kernel/linux/linux-5.10/drivers/crypto/ccp/ |
D | ccp-crypto-main.c | 312 if (!sg_page(sg)) in ccp_crypto_sg_table_add() 318 sg_set_page(sg, sg_page(sg_add), sg_add->length, in ccp_crypto_sg_table_add()
|