Searched refs:spage (Results 1 – 11 of 11) sorted by relevance
/linux/fs/btrfs/ |
A D | scrub.c | 1328 spage = kzalloc(sizeof(*spage), GFP_NOFS); in scrub_setup_recheck_block() 1329 if (!spage) { in scrub_setup_recheck_block() 1990 if (spage->page) in scrub_page_put() 1992 kfree(spage); in scrub_page_put() 2240 raid56_add_scrub_pages(rbio, spage->page, spage->logical); in scrub_missing_raid56_pages() 2291 spage = kzalloc(sizeof(*spage), GFP_KERNEL); in scrub_pages() 2292 if (!spage) { in scrub_pages() 2304 spage->dev = dev; in scrub_pages() 2319 if (!spage->page) in scrub_pages() 2625 spage = kzalloc(sizeof(*spage), GFP_KERNEL); in scrub_pages_for_parity() [all …]
|
/linux/drivers/gpu/drm/nouveau/ |
A D | nouveau_dmem.c | 145 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()
|
/linux/drivers/gpu/drm/amd/amdkfd/ |
A D | kfd_migrate.c | 325 struct page *spage; in svm_migrate_copy_to_vram() local 327 spage = migrate_pfn_to_page(migrate->src[i]); in svm_migrate_copy_to_vram() 328 if (spage && !is_zone_device_page(spage)) { in svm_migrate_copy_to_vram() 333 src[i] = dma_map_page(dev, spage, 0, PAGE_SIZE, in svm_migrate_copy_to_vram() 358 src[i] >> PAGE_SHIFT, page_to_pfn(spage)); in svm_migrate_copy_to_vram() 578 struct page *spage; in svm_migrate_copy_to_ram() local 580 spage = migrate_pfn_to_page(migrate->src[i]); in svm_migrate_copy_to_ram() 581 if (!spage || !is_zone_device_page(spage)) { in svm_migrate_copy_to_ram() 595 src[i] = svm_migrate_addr(adev, spage); in svm_migrate_copy_to_ram()
|
/linux/drivers/infiniband/hw/hfi1/ |
A D | user_exp_rcv.h | 42 const unsigned long spage = addr & PAGE_MASK; in num_user_pages() local 45 return 1 + ((epage - spage) >> PAGE_SHIFT); in num_user_pages()
|
/linux/lib/ |
A D | test_hmm.c | 585 struct page *spage; in dmirror_migrate_alloc_and_copy() local 596 spage = migrate_pfn_to_page(*src); in dmirror_migrate_alloc_and_copy() 603 if (spage) in dmirror_migrate_alloc_and_copy() 604 copy_highpage(rpage, spage); in dmirror_migrate_alloc_and_copy() 618 (!spage && args->vma->vm_flags & VM_WRITE)) in dmirror_migrate_alloc_and_copy() 1125 struct page *dpage, *spage; in dmirror_devmem_fault_alloc_and_copy() local 1127 spage = migrate_pfn_to_page(*src); in dmirror_devmem_fault_alloc_and_copy() 1128 if (!spage || !(*src & MIGRATE_PFN_MIGRATE)) in dmirror_devmem_fault_alloc_and_copy() 1130 spage = spage->zone_device_data; in dmirror_devmem_fault_alloc_and_copy() 1138 copy_highpage(dpage, spage); in dmirror_devmem_fault_alloc_and_copy()
|
/linux/arch/powerpc/kvm/ |
A D | book3s_hv_uvmem.c | 512 struct page *dpage, *spage; in __kvmppc_svm_page_out() local 534 spage = migrate_pfn_to_page(*mig.src); in __kvmppc_svm_page_out() 535 if (!spage || !(*mig.src & MIGRATE_PFN_MIGRATE)) in __kvmppc_svm_page_out() 538 if (!is_zone_device_page(spage)) in __kvmppc_svm_page_out() 548 pvt = spage->zone_device_data; in __kvmppc_svm_page_out() 738 struct page *spage; in kvmppc_svm_page_in() local 768 spage = migrate_pfn_to_page(*mig.src); in kvmppc_svm_page_in() 769 if (spage) { in kvmppc_svm_page_in()
|
/linux/drivers/tty/ |
A D | moxa.c | 2170 u16 head, tail, tx_mask, spage, epage; in MoxaPortWriteData() local 2176 spage = readw(ofsAddr + Page_txb); in MoxaPortWriteData() 2185 if (spage == epage) { in MoxaPortWriteData() 2187 writew(spage, baseAddr + Control_reg); in MoxaPortWriteData() 2201 pageno = spage + (tail >> 13); in MoxaPortWriteData() 2212 pageno = spage; in MoxaPortWriteData() 2229 u16 tail, rx_mask, spage, epage; in MoxaPortReadData() local 2237 spage = readw(ofsAddr + Page_rxb); in MoxaPortReadData() 2245 if (spage == epage) { in MoxaPortReadData() 2259 pageno = spage + (head >> 13); in MoxaPortReadData() [all …]
|
/linux/fs/nilfs2/ |
A D | page.c | 103 struct page *spage = sbh->b_page, *dpage = dbh->b_page; in nilfs_copy_buffer() local 106 kaddr0 = kmap_atomic(spage); in nilfs_copy_buffer()
|
/linux/drivers/infiniband/hw/qib/ |
A D | qib_user_sdma.c | 609 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()
|
/linux/drivers/crypto/ |
A D | hifn_795x.c | 1326 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()
|
/linux/drivers/scsi/ |
A D | st.c | 4066 struct page *spage = st_bp->reserved_pages[src_seg]; in move_buffer_data() local 4070 page_address(spage) + src_offset, count); in move_buffer_data()
|
Completed in 46 milliseconds