/Linux-v6.1/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 flush_dcache_page(sg_page(dst)); in omap_crypto_copy_data()
|
/Linux-v6.1/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() 439 if (!sg_page(sg)) { in rds_message_copy_from_user() 452 nbytes = copy_page_from_iter(sg_page(sg), sg->offset + sg_off, in rds_message_copy_from_user() 489 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()
|
/Linux-v6.1/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()
|
/Linux-v6.1/drivers/target/tcm_fc/ |
D | tfc_io.c | 84 page = sg_page(sg); in ft_queue_data_in() 102 page = sg_page(sg); in ft_queue_data_in() 279 page = sg_page(sg); in ft_recv_write_data() 287 page = sg_page(sg); in ft_recv_write_data()
|
/Linux-v6.1/include/crypto/ |
D | scatterwalk.h | 51 return sg_page(walk->sg) + (walk->offset >> PAGE_SHIFT); in scatterwalk_page() 78 page = sg_page(walk->sg) + ((walk->offset - 1) >> PAGE_SHIFT); in scatterwalk_pagedone()
|
/Linux-v6.1/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()
|
/Linux-v6.1/include/linux/ |
D | scatterlist.h | 144 static inline struct page *sg_page(struct scatterlist *sg) in sg_page() function 329 return page_to_phys(sg_page(sg)) + sg->offset; in sg_phys() 344 return page_address(sg_page(sg)) + sg->offset; in sg_virt() 522 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()
|
/Linux-v6.1/drivers/target/ |
D | target_core_sbc.c | 416 unsigned char *addr = kmap_atomic(sg_page(sg)); in compare_and_write_do_cmp() 1170 paddr = kmap_atomic(sg_page(psg)) + psg->offset; in sbc_dif_generate() 1171 daddr = kmap_atomic(sg_page(dsg)) + dsg->offset; in sbc_dif_generate() 1186 daddr = kmap_atomic(sg_page(dsg)) + dsg->offset; in sbc_dif_generate() 1199 daddr = kmap_atomic(sg_page(dsg)) + dsg->offset; in sbc_dif_generate() 1284 paddr = kmap_atomic(sg_page(psg)) + psg->offset; in sbc_dif_copy_prot() 1288 addr = kmap_atomic(sg_page(sg)) + sg->offset + offset; in sbc_dif_copy_prot() 1327 paddr = kmap_atomic(sg_page(psg)) + psg->offset; in sbc_dif_verify() 1328 daddr = kmap_atomic(sg_page(dsg)) + dsg->offset; in sbc_dif_verify() 1344 daddr = kmap_atomic(sg_page(dsg)) + dsg->offset; in sbc_dif_verify() [all …]
|
D | target_core_iblock.c | 456 buf = kmap(sg_page(sg)) + sg->offset; in iblock_execute_zero_out() 464 kunmap(sg_page(sg)); in iblock_execute_zero_out() 533 while (bio_add_page(bio, sg_page(sg), sg->length, sg->offset) in iblock_execute_write_same() 784 while (bio_add_page(bio, sg_page(sg), sg->length, sg->offset) in iblock_execute_rw()
|
/Linux-v6.1/drivers/gpu/drm/i915/gem/ |
D | i915_gem_phys.c | 100 void *vaddr = sg_page(pages->sgl); in i915_gem_object_put_pages_phys() 143 void *vaddr = sg_page(obj->mm.pages->sgl) + args->offset; in i915_gem_object_pwrite_phys() 174 void *vaddr = sg_page(obj->mm.pages->sgl) + args->offset; in i915_gem_object_pread_phys()
|
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()
|
/Linux-v6.1/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()
|
/Linux-v6.1/drivers/dma-buf/heaps/ |
D | system_heap.c | 76 sg_set_page(new_sg, sg_page(sg), sg->length, sg->offset); in dup_sg_table() 294 struct page *page = sg_page(sg); in system_heap_dma_buf_release() 408 struct page *p = sg_page(sg); in system_heap_allocate()
|
/Linux-v6.1/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()
|
/Linux-v6.1/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() 495 unpin_user_page(sg_page(&db_tab->page[i].mem)); in mthca_map_user_db() 562 unpin_user_page(sg_page(&db_tab->page[i].mem)); in mthca_cleanup_user_db_tab()
|
/Linux-v6.1/crypto/ |
D | af_alg.c | 607 struct page *page = sg_page(sg + i); in af_alg_pull_tsgl() 680 if (!sg_page(sg)) in af_alg_free_areq_sgls() 682 put_page(sg_page(sg)); in af_alg_free_areq_sgls() 895 err = memcpy_from_msg(page_address(sg_page(sg)) + 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()
|
/Linux-v6.1/drivers/gpu/drm/armada/ |
D | armada_gem.c | 443 if (sg_page(sg)) in armada_gem_prime_map_dma_buf() 444 put_page(sg_page(sg)); in armada_gem_prime_map_dma_buf() 466 put_page(sg_page(sg)); in armada_gem_prime_unmap_dma_buf()
|
/Linux-v6.1/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()
|
/Linux-v6.1/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()
|
/Linux-v6.1/drivers/scsi/ |
D | libiscsi_tcp.c | 131 if (!recv && sendpage_ok(sg_page(sg))) in iscsi_tcp_segment_map() 136 segment->sg_mapped = kmap_atomic(sg_page(sg)); in iscsi_tcp_segment_map() 140 segment->sg_mapped = kmap(sg_page(sg)); in iscsi_tcp_segment_map() 152 kunmap(sg_page(segment->sg)); in iscsi_tcp_segment_unmap() 209 sg_set_page(&sg, sg_page(segment->sg), copied, in iscsi_tcp_segment_done()
|
/Linux-v6.1/kernel/dma/ |
D | debug.c | 1293 check_for_stack(dev, sg_page(s), s->offset); in debug_dma_map_sg() 1294 if (!PageHighMem(sg_page(s))) in debug_dma_map_sg() 1305 entry->pfn = page_to_pfn(sg_page(s)); in debug_dma_map_sg() 1352 .pfn = page_to_pfn(sg_page(s)), in debug_dma_unmap_sg() 1525 .pfn = page_to_pfn(sg_page(s)), in debug_dma_sync_sg_for_cpu() 1557 .pfn = page_to_pfn(sg_page(s)), in debug_dma_sync_sg_for_device()
|