Home
last modified time | relevance | path

Searched refs:spage (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/fs/btrfs/
Dscrub.c232 static void scrub_page_get(struct scrub_page *spage);
233 static void scrub_page_put(struct scrub_page *spage);
237 struct scrub_page *spage);
251 struct scrub_page *spage);
1507 struct scrub_page *spage) in scrub_check_fsid() argument
1509 struct btrfs_fs_devices *fs_devices = spage->dev->fs_devices; in scrub_check_fsid()
1616 struct scrub_page *spage = sblock->pagev[page_num]; in scrub_write_page_to_dev_replace() local
1618 BUG_ON(spage->page == NULL); in scrub_write_page_to_dev_replace()
1619 if (spage->io_error) in scrub_write_page_to_dev_replace()
1620 clear_page(page_address(spage->page)); in scrub_write_page_to_dev_replace()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Duser_exp_rcv.h86 const unsigned long spage = addr & PAGE_MASK; in num_user_pages() local
89 return 1 + ((epage - spage) >> PAGE_SHIFT); in num_user_pages()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
Dnouveau_dmem.c145 struct page *dpage, *spage; in nouveau_dmem_fault_copy_one() local
148 spage = migrate_pfn_to_page(args->src[0]); in nouveau_dmem_fault_copy_one()
149 if (!spage || !(args->src[0] & MIGRATE_PFN_MIGRATE)) in nouveau_dmem_fault_copy_one()
161 svmm = spage->zone_device_data; in nouveau_dmem_fault_copy_one()
165 NOUVEAU_APER_VRAM, nouveau_dmem_page_addr(spage))) in nouveau_dmem_fault_copy_one()
573 struct page *dpage, *spage; in nouveau_dmem_migrate_copy_one() local
576 spage = migrate_pfn_to_page(src); in nouveau_dmem_migrate_copy_one()
585 if (spage) { in nouveau_dmem_migrate_copy_one()
586 *dma_addr = dma_map_page(dev, spage, 0, page_size(spage), in nouveau_dmem_migrate_copy_one()
/kernel/linux/linux-5.10/lib/
Dtest_hmm.c583 struct page *spage; in dmirror_migrate_alloc_and_copy() local
594 spage = migrate_pfn_to_page(*src); in dmirror_migrate_alloc_and_copy()
601 if (spage) in dmirror_migrate_alloc_and_copy()
602 copy_highpage(rpage, spage); in dmirror_migrate_alloc_and_copy()
617 (!spage && args->vma->vm_flags & VM_WRITE)) in dmirror_migrate_alloc_and_copy()
1028 struct page *dpage, *spage; in dmirror_devmem_fault_alloc_and_copy() local
1030 spage = migrate_pfn_to_page(*src); in dmirror_devmem_fault_alloc_and_copy()
1031 if (!spage || !(*src & MIGRATE_PFN_MIGRATE)) in dmirror_devmem_fault_alloc_and_copy()
1033 spage = spage->zone_device_data; in dmirror_devmem_fault_alloc_and_copy()
1041 copy_highpage(dpage, spage); in dmirror_devmem_fault_alloc_and_copy()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_hv_uvmem.c513 struct page *dpage, *spage; in __kvmppc_svm_page_out() local
536 spage = migrate_pfn_to_page(*mig.src); in __kvmppc_svm_page_out()
537 if (!spage || !(*mig.src & MIGRATE_PFN_MIGRATE)) in __kvmppc_svm_page_out()
540 if (!is_zone_device_page(spage)) in __kvmppc_svm_page_out()
550 pvt = spage->zone_device_data; in __kvmppc_svm_page_out()
742 struct page *spage; in kvmppc_svm_page_in() local
772 spage = migrate_pfn_to_page(*mig.src); in kvmppc_svm_page_in()
773 if (spage) { in kvmppc_svm_page_in()
/kernel/linux/linux-5.10/drivers/tty/
Dmoxa.c1872 u16 head, tail, tx_mask, spage, epage; in MoxaPortWriteData() local
1878 spage = readw(ofsAddr + Page_txb); in MoxaPortWriteData()
1887 if (spage == epage) { in MoxaPortWriteData()
1889 writew(spage, baseAddr + Control_reg); in MoxaPortWriteData()
1903 pageno = spage + (tail >> 13); in MoxaPortWriteData()
1914 pageno = spage; in MoxaPortWriteData()
1931 u16 tail, rx_mask, spage, epage; in MoxaPortReadData() local
1939 spage = readw(ofsAddr + Page_rxb); in MoxaPortReadData()
1947 if (spage == epage) { in MoxaPortReadData()
1949 writew(spage, baseAddr + Control_reg); in MoxaPortReadData()
[all …]
/kernel/linux/linux-5.10/fs/nilfs2/
Dpage.c103 struct page *spage = sbh->b_page, *dpage = dbh->b_page; in nilfs_copy_buffer() local
106 kaddr0 = kmap_atomic(spage); in nilfs_copy_buffer()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_user_sdma.c609 const unsigned long spage = addr & PAGE_MASK; in qib_user_sdma_num_pages() local
612 return 1 + ((epage - spage) >> PAGE_SHIFT); in qib_user_sdma_num_pages()
/kernel/linux/linux-5.10/drivers/crypto/
Dhifn_795x.c1326 struct page *spage, *dpage; in hifn_setup_dma() local
1332 spage = sg_page(src); in hifn_setup_dma()
1336 hifn_setup_src_desc(dev, spage, soff, len, n - len == 0); in hifn_setup_dma()
/kernel/linux/linux-5.10/drivers/scsi/
Dst.c4101 struct page *spage = st_bp->reserved_pages[src_seg]; in move_buffer_data() local
4105 page_address(spage) + src_offset, count); in move_buffer_data()