/linux-6.1.9/drivers/gpu/drm/nouveau/ |
D | nouveau_dmem.c | 143 struct page *dpage, dma_addr_t *dma_addr) in nouveau_dmem_copy_one() argument 147 lock_page(dpage); in nouveau_dmem_copy_one() 149 *dma_addr = dma_map_page(dev, dpage, 0, PAGE_SIZE, DMA_BIDIRECTIONAL); in nouveau_dmem_copy_one() 168 struct page *spage, *dpage; in nouveau_dmem_migrate_to_ram() local 197 dpage = alloc_page_vma(GFP_HIGHUSER, vmf->vma, vmf->address); in nouveau_dmem_migrate_to_ram() 198 if (!dpage) in nouveau_dmem_migrate_to_ram() 201 dst = migrate_pfn(page_to_pfn(dpage)); in nouveau_dmem_migrate_to_ram() 206 ret = nouveau_dmem_copy_one(drm, spage, dpage, &dma_addr); in nouveau_dmem_migrate_to_ram() 391 struct page *dpage; in nouveau_dmem_evict_chunk() local 398 dpage = alloc_page(GFP_HIGHUSER | __GFP_NOFAIL); in nouveau_dmem_evict_chunk() [all …]
|
/linux-6.1.9/fs/nilfs2/ |
D | page.c | 103 struct page *spage = sbh->b_page, *dpage = dbh->b_page; in nilfs_copy_buffer() local 107 kaddr1 = kmap_atomic(dpage); in nilfs_copy_buffer() 124 SetPageUptodate(dpage); in nilfs_copy_buffer() 126 ClearPageUptodate(dpage); in nilfs_copy_buffer() 128 SetPageMappedToDisk(dpage); in nilfs_copy_buffer() 130 ClearPageMappedToDisk(dpage); in nilfs_copy_buffer() 254 struct page *page = pvec.pages[i], *dpage; in nilfs_copy_dirty_pages() local 260 dpage = grab_cache_page(dmap, page->index); in nilfs_copy_dirty_pages() 261 if (unlikely(!dpage)) { in nilfs_copy_dirty_pages() 271 nilfs_copy_page(dpage, page, 1); in nilfs_copy_dirty_pages() [all …]
|
/linux-6.1.9/lib/ |
D | test_hmm.c | 608 struct page *dpage = NULL; in dmirror_devmem_alloc_page() local 625 dpage = mdevice->free_pages; in dmirror_devmem_alloc_page() 626 mdevice->free_pages = dpage->zone_device_data; in dmirror_devmem_alloc_page() 631 if (dmirror_allocate_chunk(mdevice, &dpage)) in dmirror_devmem_alloc_page() 635 zone_device_page_init(dpage); in dmirror_devmem_alloc_page() 636 dpage->zone_device_data = rpage; in dmirror_devmem_alloc_page() 637 return dpage; in dmirror_devmem_alloc_page() 656 struct page *dpage; in dmirror_migrate_alloc_and_copy() local 672 dpage = dmirror_devmem_alloc_page(mdevice); in dmirror_migrate_alloc_and_copy() 673 if (!dpage) in dmirror_migrate_alloc_and_copy() [all …]
|
/linux-6.1.9/arch/powerpc/kvm/ |
D | book3s_hv_uvmem.c | 515 struct page *dpage, *spage; in __kvmppc_svm_page_out() local 545 dpage = alloc_page_vma(GFP_HIGHUSER, vma, start); in __kvmppc_svm_page_out() 546 if (!dpage) { in __kvmppc_svm_page_out() 551 lock_page(dpage); in __kvmppc_svm_page_out() 553 pfn = page_to_pfn(dpage); in __kvmppc_svm_page_out() 569 unlock_page(dpage); in __kvmppc_svm_page_out() 570 __free_page(dpage); in __kvmppc_svm_page_out() 692 struct page *dpage = NULL; in kvmppc_uvmem_get_page() local 719 dpage = pfn_to_page(uvmem_pfn); in kvmppc_uvmem_get_page() 720 dpage->zone_device_data = pvt; in kvmppc_uvmem_get_page() [all …]
|
/linux-6.1.9/fs/f2fs/ |
D | acl.c | 169 struct page *dpage) in __f2fs_get_acl() argument 179 retval = f2fs_getxattr(inode, name_index, "", NULL, 0, dpage); in __f2fs_get_acl() 185 retval, dpage); in __f2fs_get_acl() 363 struct page *dpage) in f2fs_acl_create() argument 375 p = __f2fs_get_acl(dir, ACL_TYPE_DEFAULT, dpage); in f2fs_acl_create() 413 struct page *dpage) in f2fs_init_acl() argument 418 error = f2fs_acl_create(dir, &inode->i_mode, &default_acl, &acl, dpage); in f2fs_init_acl()
|
D | acl.h | 46 struct page *ipage, struct page *dpage) in f2fs_init_acl() argument
|
D | xattr.h | 148 size_t buffer_size, struct page *dpage) in f2fs_getxattr() argument
|
D | dir.c | 566 const struct f2fs_filename *fname, struct page *dpage) in f2fs_init_inode_metadata() argument 587 err = f2fs_init_acl(inode, dir, page, dpage); in f2fs_init_inode_metadata()
|
D | f2fs.h | 3514 const struct f2fs_filename *fname, struct page *dpage);
|
/linux-6.1.9/drivers/dma/ |
D | nbpfaxi.c | 693 struct nbpf_desc_page *dpage = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in nbpf_desc_page_alloc() local 702 if (!dpage) in nbpf_desc_page_alloc() 706 __func__, NBPF_DESCS_PER_PAGE, NBPF_SEGMENTS_PER_PAGE, sizeof(*dpage)); in nbpf_desc_page_alloc() 708 for (i = 0, ldesc = dpage->ldesc, hwdesc = dpage->hwdesc; in nbpf_desc_page_alloc() 709 i < ARRAY_SIZE(dpage->ldesc); in nbpf_desc_page_alloc() 720 for (i = 0, desc = dpage->desc; in nbpf_desc_page_alloc() 721 i < ARRAY_SIZE(dpage->desc); in nbpf_desc_page_alloc() 737 list_add(&dpage->node, &chan->desc_page); in nbpf_desc_page_alloc() 740 return ARRAY_SIZE(dpage->desc); in nbpf_desc_page_alloc() 1066 struct nbpf_desc_page *dpage, *tmp; in nbpf_free_chan_resources() local [all …]
|
/linux-6.1.9/mm/ |
D | migrate_device.c | 945 struct page *dpage; in migrate_device_coherent_page() local 961 dpage = alloc_page(GFP_USER | __GFP_NOWARN); in migrate_device_coherent_page() 962 if (dpage) { in migrate_device_coherent_page() 963 lock_page(dpage); in migrate_device_coherent_page() 964 dst_pfn = migrate_pfn(page_to_pfn(dpage)); in migrate_device_coherent_page() 969 copy_highpage(dpage, page); in migrate_device_coherent_page()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_migrate.c | 571 struct page *dpage; in svm_migrate_copy_to_ram() local 613 dpage = svm_migrate_get_sys_page(migrate->vma, addr); in svm_migrate_copy_to_ram() 614 if (!dpage) { in svm_migrate_copy_to_ram() 621 dst[i] = dma_map_page(dev, dpage, 0, PAGE_SIZE, DMA_FROM_DEVICE); in svm_migrate_copy_to_ram() 629 dst[i] >> PAGE_SHIFT, page_to_pfn(dpage)); in svm_migrate_copy_to_ram() 631 migrate->dst[i] = migrate_pfn(page_to_pfn(dpage)); in svm_migrate_copy_to_ram()
|
/linux-6.1.9/Documentation/translations/zh_CN/mm/ |
D | hmm.rst | 294 dst[i] = migrate_pfn(page_to_pfn(dpage));
|
/linux-6.1.9/drivers/net/ethernet/3com/ |
D | typhoon.c | 1333 void *dpage; in typhoon_download_firmware() local 1354 dpage = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, &dpage_dma, GFP_ATOMIC); in typhoon_download_firmware() 1355 if (!dpage) { in typhoon_download_firmware() 1419 dpage, len)); in typhoon_download_firmware() 1459 dma_free_coherent(&pdev->dev, PAGE_SIZE, dpage, dpage_dma); in typhoon_download_firmware()
|
/linux-6.1.9/drivers/crypto/ |
D | hifn_795x.c | 1326 struct page *spage, *dpage; in hifn_setup_dma() local 1347 dpage = sg_page(t); in hifn_setup_dma() 1352 dpage = sg_page(dst); in hifn_setup_dma() 1358 hifn_setup_dst_desc(dev, dpage, doff, len, n - len == 0); in hifn_setup_dma()
|
/linux-6.1.9/Documentation/mm/ |
D | hmm.rst | 363 dst[i] = migrate_pfn(page_to_pfn(dpage));
|
/linux-6.1.9/drivers/scsi/ |
D | st.c | 4068 struct page *dpage = st_bp->reserved_pages[dst_seg]; in move_buffer_data() local 4072 memmove(page_address(dpage) + dst_offset, in move_buffer_data()
|